/*
Theme Name: Cordlo
Description: Custom block theme for the Cordlo marketing website (cordlo.com).
Author: Cordlo
Version: 0.1.0
Requires at least: 6.8
Requires PHP: 7.4
Text Domain: cordlo
*/

/* ── Tokens ──────────────────────────────────────────────
   Ported verbatim from cordlo-theme-preview/index.html so every
   class below (.nav, .btn, .footer-*, etc.) is copied 1:1 from the
   approved static design without translating var() names. */
:root {
	--ink: #0d1b2a;
	--teal: #2563eb;
	--teal-dk: #1d4ed8;
	--teal-lt: #eff6ff;
	--brand-navy: #0f2060;
	--amber: #96601f;
	--amber-dk: #7a4a13;
	--cream: #fbf3de;
	/* No purple: the former indigo/violet accents now use the Cordlo blues */
	--indigo: #1d4ed8;
	--indigo-dk: #0f2060;
	--violet: #2563eb;
	--violet-dk: #1d3a8f;
	--lavender: #f7fafc;
	--sky: #eef2fd;
	--slate: #52677d;
	--muted: #8fa3b4;
	--border: #e4eaf0;
	--bg: #ffffff;
	--surface: #f7fafc;

	--font: "Poppins", system-ui, sans-serif;
	--container: 1320px;
	--r: 12px;
	--r-lg: 20px;
	--shadow: 0 2px 16px rgba(3, 12, 33, 0.07);
	--shadow-lg: 0 20px 60px rgba(3, 12, 33, 0.14);
}

/* ── Base reset ──────────────────────────────────────────
   Ported verbatim — without this, WP core/editor-style link and
   list defaults (underline, blue, list markers) bleed through on
   every class below that assumes the static prototype's reset. */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	overflow-x: hidden;
}
body {
	font-family: var(--font);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
a {
	color: inherit;
	text-decoration: none;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
em {
	font-style: normal;
}
/* Every section below (hero, feature copy, cards, FAQ, ...) sets its
   own explicit margin-bottom per element, matching the static
   prototype's universal `* { margin:0 }` reset exactly — the browser's
   default h1-h4/p margins must be zeroed here too, or they silently
   stack on top of those explicit values (this is what caused the FAQ
   answer to render with a large gap under its question instead of
   sitting right below it, matching cordlo-theme-preview 1:1). */
h1,
h2,
h3,
h4,
p {
	margin: 0;
}
h1 {
	font-size: clamp(2.4rem, 5vw, 3.75rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
}
h2 {
	font-size: clamp(1.8rem, 3.5vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.025em;
}
h3 {
	font-size: 1.25rem;
	font-weight: 700;
}
p {
	color: var(--slate);
}

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font);
	font-weight: 700;
	font-size: 0.85rem;
	padding: 8px 18px;
	border-radius: 8px;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all 0.18s;
	white-space: nowrap;
}
.btn-primary {
	background: var(--teal);
	color: #fff;
}
.btn-primary:hover {
	background: var(--teal-dk);
	transform: translateY(-1px);
}
.btn-outline {
	background: #fff;
	color: var(--ink);
	border-color: var(--border);
}
.btn-outline:hover {
	border-color: var(--muted);
}
.btn-white {
	background: #fff;
	color: var(--ink);
}
.btn-white:hover {
	background: #f0f0f0;
}
.mobile-menu-actions .btn-outline:hover {
	border-color: var(--border);
}
.nav-right .btn-primary:hover {
	transform: none;
	box-shadow: none;
}

/* ── Motion system: scroll reveal ───────────────────────────
   Ported verbatim from cordlo-theme-preview — IntersectionObserver
   (assets/js/reveal.js) adds .in-view once an element crosses the
   viewport threshold. */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}
.reveal.in-view {
	opacity: 1;
	transform: translateY(0);
}
.reveal-delay-1.in-view {
	transition-delay: 0.12s;
}
.reveal-delay-2.in-view {
	transition-delay: 0.24s;
}
.feat-visual.reveal {
	transform: translateY(26px) scale(0.96);
}
.feat-visual.reveal.in-view {
	transform: translateY(0) scale(1);
}
.feat-badge-float.reveal {
	transform: scale(0.6) translateY(14px);
	transition:
		opacity 0.5s ease,
		transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feat-badge-float.reveal.in-view {
	transform: scale(1) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.hero-load,
	.feat-badge-float,
	.reveal,
	.hero-eyebrow .dot {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ── Nav ─────────────────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
}
.nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 66px;
	gap: 40px;
}
.nav-logo {
	display: flex;
	align-items: center;
}
.logo-full {
	height: 28px;
	width: auto;
	display: block;
}
.mobile-menu-logo {
	height: 24px;
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--slate);
	justify-self: center;
}
.nav-links a:hover {
	color: var(--ink);
}
.nav-right {
	grid-column: 3;
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 14px;
}
.nav-right .login {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--slate);
}
.nav-right .login:hover {
	color: var(--ink);
}
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 24px;
	height: 24px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}
.nav-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
}
.mobile-menu {
	display: flex;
	position: fixed;
	inset: 0;
	z-index: 200;
	background: #fff;
	flex-direction: column;
	padding: 0 24px 40px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(100%);
	pointer-events: none;
	transition:
		opacity 0.28s ease,
		transform 0.28s ease,
		visibility 0s linear 0.28s;
}
.mobile-menu.open {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	pointer-events: auto;
	transition:
		opacity 0.28s ease,
		transform 0.28s ease,
		visibility 0s linear 0s;
}
.mobile-menu-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 66px;
	flex-shrink: 0;
}
.mobile-menu-close {
	background: none;
	border: none;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--ink);
	cursor: pointer;
	padding: 4px;
}
.mobile-menu-links {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
}
.mobile-menu-links a {
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 700;
	color: var(--ink);
}
.mobile-menu-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.mobile-menu-actions .btn {
	width: 100%;
	justify-content: center;
	padding: 8px;
	font-size: 1.05rem;
}

@media (max-width: 1024px) {
	.nav-links {
		display: none;
	}
	.nav-toggle {
		display: flex;
	}
	.nav-right .login,
	.nav-right .btn-primary {
		display: none;
	}
}

/* ── Motion keyframes ────────────────────────────────────── */
@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.4;
	}
}
@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes fadeScaleIn {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}
.hero-load {
	opacity: 0;
	font-weight: 500;
	animation: fadeUp 0.7s ease forwards;
}
.hero .hero-eyebrow.hero-load {
	animation-delay: 0.05s;
}
.hero h1.hero-load {
	animation-delay: 0.15s;
}
.hero .subhead.hero-load {
	animation-delay: 0.3s;
}
.hero .hero-actions.hero-load {
	animation-delay: 0.4s;
}
.hero .hero-visual.hero-load {
	animation: fadeScaleIn 0.8s ease 0.35s forwards;
	opacity: 0;
}

/* ── Used by (customer logos in the hero, under the buttons) ─ */
.used-by {
	margin-top: 64px;
}
.hero .used-by.hero-load {
	animation-delay: 0.5s;
}
.used-by-label {
	margin: 0 0 14px;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ink);
}
.used-by-logos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 30px;
}
.used-by-logos li {
	display: flex;
	align-items: center;
	height: 32px;
}
.used-by-logos a {
	display: flex;
	align-items: center;
	height: 100%;
	transition: opacity 0.2s ease;
}
/* every logo is a single dark ink silhouette at rest, whatever its colours,
   and shows its real colours while hovered */
.used-by-logos img {
	display: block;
	max-height: 26px;
	max-width: 130px;
	width: auto;
	filter: brightness(0);
	opacity: 0.88;
	transition: filter 0.25s ease, opacity 0.25s ease;
}
.used-by-logos li:hover img,
.used-by-logos a:focus-visible img {
	filter: none;
	opacity: 1;
}
.used-by-name {
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ink);
	white-space: nowrap;
}
@media (max-width: 640px) {
	.used-by { margin-top: 40px; }
	.used-by-label { font-size: 0.85rem; margin-bottom: 10px; }
	.used-by-logos { gap: 10px 22px; }
	.used-by-logos li { height: 28px; }
	.used-by-logos img { max-height: 22px; max-width: 110px; }
	.used-by-name { font-size: 1rem; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
	padding: 108px 0 100px;
	background: var(--bg);
	overflow: hidden;
}
.hero-inner > div:first-child {
	position: relative;
	z-index: 2;
}
.hero-inner {
	display: grid;
	grid-template-columns: 0.85fr 1.25fr;
	gap: 56px;
	align-items: start;
}
.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--teal);
	background: var(--teal-lt);
	padding: 5px 14px;
	border-radius: 100px;
	margin-bottom: 22px;
}
.hero-eyebrow .dot {
	width: 6px;
	height: 6px;
	background: var(--teal);
	border-radius: 50%;
	animation: pulse 2s infinite;
}
.hero h1 {
	margin-bottom: 20px;
}
.hero h1 em {
	color: var(--teal);
}
.hero .subhead {
	font-size: 1.15rem;
	color: var(--slate);
	max-width: 440px;
	margin-bottom: 32px;
	line-height: 1.7;
}
.hero-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 0;
}
.hero-visual {
	position: relative;
	top: -40px;
	margin-bottom: -40px;
}
@media (max-width: 1024px) {
	.hero-inner {
		grid-template-columns: 1fr;
	}
	.hero-visual {
		top: 0;
		margin-bottom: 0;
		margin-top: 32px;
	}
}

/* ── Feature sections (alternating tint + ghost word) ─────── */
.feature {
	padding: 72px 0;
	display: flex;
	align-items: center;
	overflow: hidden;
	position: relative;
}
.feature .container {
	position: relative;
	z-index: 1;
	width: 100%;
}
.ghost-word {
	position: absolute;
	left: 50%;
	bottom: -4%;
	transform: translateX(-50%);
	font-size: clamp(6rem, 15vw, 12rem);
	font-weight: 900;
	color: var(--navy, #0f2060);
	opacity: 0.025;
	letter-spacing: -0.02em;
	white-space: nowrap;
	z-index: 0;
	pointer-events: none;
	user-select: none;
	will-change: transform;
}
.feat-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}
.feat-row .feat-copy {
	order: 1;
}
.feat-row .feat-visual {
	order: 2;
}
.feat-row.flip .feat-copy {
	order: 2;
}
.feat-row.flip .feat-visual {
	order: 1;
}
.feat-tag {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 14px;
	color: var(--accent, var(--teal));
}
.feat-copy h2 {
	margin-bottom: 16px;
}
.feat-copy h2 em {
	color: var(--accent, var(--teal));
}
.feat-copy p {
	font-size: 1.02rem;
	line-height: 1.75;
	max-width: 420px;
	margin-bottom: 26px;
}
.feat-status {
	display: inline-block;
	vertical-align: top;
	margin: -3px 0 14px 10px;
	padding: 4px 10px;
	border-radius: 100px;
	background: #eff6ff;
	color: #2563eb;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.feat-points {
	list-style: none;
	margin: -8px 0 26px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 440px;
}
.feat-points li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--ink);
}
.feat-points .check-ic {
	width: 20px;
	height: 20px;
	margin-top: 1px;
	border-radius: 50%;
	background: #eff6ff;
	color: #2563eb;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.feat-points .check-ic svg {
	width: 11px;
	height: 11px;
}
.feat-visual {
	position: relative;
	display: flex;
	justify-content: center;
}
.feat-screen {
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	background: #fff;
	border: 1px solid var(--border);
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 560px;
	will-change: transform;
}
.feat-visual-wide .feat-screen {
	max-width: 660px;
}
.feat-badge-float {
	position: absolute;
	background: #fff;
	border-radius: 12px;
	padding: 10px 14px;
	box-shadow: 0 4px 14px rgba(13, 27, 42, 0.07);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.78rem;
	z-index: 2;
}
.badge-icon {
	width: 36px;
	height: 36px;
	background: var(--teal-lt);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--teal);
	flex-shrink: 0;
}
.badge-text .b-label {
	font-weight: 800;
	font-size: 0.8rem;
	color: var(--ink);
}
.badge-text .b-sub {
	font-size: 0.7rem;
	color: var(--muted);
}
@media (max-width: 1024px) {
	.feat-row,
	.feat-row.flip {
		grid-template-columns: 1fr;
	}
	.feat-row .feat-copy,
	.feat-row .feat-visual,
	.feat-row.flip .feat-copy,
	.feat-row.flip .feat-visual {
		order: 0;
	}
	.feat-badge-float {
		display: none;
	}
}

.tint-teal {
	background: var(--teal-lt);
}
.tint-teal .ghost-word {
	color: var(--teal);
}
.tint-amber {
	--accent: var(--amber-dk);
	background: var(--cream);
}
.tint-amber h2 {
	color: #2b2118;
}
.tint-amber .ghost-word {
	color: var(--amber);
}
.tint-indigo {
	--accent: var(--indigo-dk);
	background: var(--sky);
}
.tint-indigo .ghost-word {
	color: var(--indigo);
}
.tint-violet {
	--accent: var(--violet-dk);
	background: var(--lavender);
}
.tint-violet .ghost-word {
	color: var(--violet);
}

/* Features heading block (above the feature rows) */
.features-head {
	padding: 96px 0 8px;
	background: #fff;
	text-align: center;
}
.features-head-inner {
	max-width: 680px;
	margin: 0 auto;
}
.features-eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	color: var(--teal);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.features-head h2 {
	margin: 0 0 14px;
	text-wrap: balance;
}
.features-head p {
	margin: 0 auto;
	max-width: 520px;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--slate);
}
@media (max-width: 640px) {
	.features-head { padding: 64px 0 0; }
}
/* uploaded feature image: shown as-is, no frame */
.feat-screen.feat-screen--img {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}
.feat-screen--img img {
	display: block;
	width: 100%;
	height: auto;
}

/* Calm look (like the original cordlo.com): every feature row gets the
   same white or light-grey background and blue accent, whatever tint
   is picked in admin, so the section reads as one block. */
.feature,
.feature[class*="tint-"] {
	--accent: var(--teal);
	background: #fff;
}
.feature.feature--alt {
	background: var(--surface);
}
.feature[class*="tint-"] h2 {
	color: var(--ink);
}
.feature[class*="tint-"] .ghost-word {
	color: var(--navy, #0f2060);
}

/* ── More Features ─────────────────────────────────────────── */
.more-features {
	padding: 40px 0 110px;
	background: #fff;
}
.mf-head {
	margin-bottom: 32px;
	text-align: center;
}
.mf-head .feat-tag {
	display: block;
}
.mf-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}
.sec-card {
	background: var(--surface);
	border-radius: var(--r-lg);
	padding: 32px;
}
.sec-icon {
	width: 24px;
	height: 24px;
	border-radius: 14px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
}
.sec-card h3 {
	font-size: 16px;
}
.sec-card p {
	font-size: 14px;
	line-height: 1.65;
}
.mf-item.sec-card {
	flex: 0 0 224px;
	width: 224px;
	height: 194px;
	max-width: 224px;
	padding: 24px;
	background: var(--teal);
	border: none;
}
.mf-item .sec-icon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.85);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
}
.mf-item.sec-card h3 {
	color: #fff;
}
.mf-item.sec-card p {
	color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 640px) {
	.mf-grid {
		gap: 12px;
	}
	.mf-item.sec-card {
		flex: 1 1 calc(50% - 6px);
		width: auto;
		max-width: calc(50% - 6px);
		height: auto;
		min-height: 160px;
		padding: 18px;
	}
}

/* ── Showcase (dark, who it's for) ─────────────────────────── */
.showcase {
	background: #000;
	padding: 53px 0;
}
.showcase .eyebrow2 {
	display: block;
	text-align: center;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 14px;
}
.showcase h2 {
	color: #fff;
	text-align: center;
	margin-bottom: 12px;
}
.showcase .sub {
	text-align: center;
	color: rgba(255, 255, 255, 0.55);
	max-width: 480px;
	margin: 0 auto 52px;
}
.usecase-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.usecase-card {
	display: flex;
	flex-direction: column;
}
.usecase-photo {
	position: relative;
	border-radius: var(--r-lg);
	overflow: hidden;
	aspect-ratio: 4 / 5;
}
.usecase-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.usecase-pill {
	position: absolute;
	top: 16px;
	left: 16px;
	right: 16px;
	background: #fff;
	border-radius: 100px;
	padding: 16px 16px 16px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: var(--shadow-lg);
}
.usecase-pill-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.usecase-pill-icon.sent {
	background: #fbe4f1;
}
.usecase-pill-icon.paid {
	background: #dcf5e6;
}
.usecase-pill-label {
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--ink);
	line-height: 1.25;
}
.usecase-pill-sub {
	font-size: 0.7rem;
	color: var(--muted);
	line-height: 1.25;
}
.usecase-tag {
	position: absolute;
	bottom: 14px;
	left: 14px;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--teal-lt);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--teal);
	box-shadow: var(--shadow-lg);
}
.usecase-card h4 {
	color: #fff;
	font-size: 1.125rem;
	font-weight: 600;
	margin-top: 12px;
}
.usecase-card p {
	color: rgba(255, 255, 255, 0.54);
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.8;
	margin-top: 4px;
}

/* ── CTA ────────────────────────────────────────────────────── */
.cta-section {
	background: var(--brand-navy);
	position: relative;
	overflow: hidden;
	max-height: 500px;
	padding: 40px 0;
	display: flex;
	align-items: center;
}
.cta-blob {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}
.cta-blob-1 {
	top: -240px;
	left: -180px;
	width: 560px;
	height: 560px;
	background: rgba(37, 99, 235, 0.4);
}
.cta-blob-2 {
	bottom: -320px;
	left: 8%;
	width: 680px;
	height: 680px;
	background: rgba(29, 78, 216, 0.35);
}
.cta-box {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}
.cta-box h2 {
	color: #fff;
	margin-bottom: 24px;
}
.cta-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.btn-outline-white {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.8);
}
.btn-outline-white:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
}
.cta-section > .container {
	width: 100%;
}
.cta-visual {
	position: relative;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq {
	padding: 80px 0 120px;
	background: #fff;
}
.faq h2 {
	text-align: center;
	max-width: 80%;
	margin: 0 auto 44px;
}
.faq-list {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.faq-item {
	border-bottom: 2px solid #f6f8fa;
}
.faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 20px;
	cursor: pointer;
}
.faq-q h4 {
	font-weight: 500;
	font-size: 1.25rem;
	color: var(--ink);
}
.faq-q .plus {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.5s ease;
}
.faq-q .plus svg {
	width: 14px;
	height: 14px;
}
.faq-item.open .plus {
	transform: rotate(45deg);
}
.faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
}
.faq-a p {
	padding: 0 40px 24px 20px;
	font-size: 0.92rem;
	color: var(--slate);
	line-height: 1.7;
}
.faq-item.open .faq-a {
	max-height: 220px;
}

/* ── Blog teaser ───────────────────────────────────────────── */
.blog-section {
	padding: 110px 0;
	background: #fff;
}
.blog-head {
	text-align: center;
	margin-bottom: 52px;
}
.blog-head h2 {
	margin: 12px 0 12px;
}
.blog-head p {
	max-width: 480px;
	margin: 0 auto;
	font-size: 1.02rem;
}
/* blog index: empty state (no published posts yet) */
.blog-empty {
	max-width: 520px;
	margin: 0 auto;
	text-align: center;
	padding: 8px 0 24px;
}
.blog-empty-art {
	position: relative;
	height: 190px;
	margin: 0 auto 30px;
	max-width: 400px;
}
.be-card {
	position: absolute;
	top: 22px;
	width: 140px;
	padding: 10px 10px 14px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(13, 27, 42, 0.08);
}
.be-card i {
	display: block;
	height: 7px;
	margin-top: 8px;
	border-radius: 4px;
	background: #e6ecf4;
}
.be-img {
	display: block;
	height: 66px;
	border-radius: 8px;
	background: linear-gradient(135deg, #eff6ff, #dbe7fb);
}
.be-1 { left: 10px; transform: rotate(-7deg); opacity: 0.75; }
.be-3 { right: 10px; transform: rotate(7deg); opacity: 0.75; }
.be-2 { left: 50%; top: 6px; margin-left: -70px; z-index: 1; }
.be-badge {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 0;
	margin-left: 18px;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: var(--teal);
}
.blog-empty h3 {
	font-size: 1.5rem;
	line-height: 1.3;
	text-wrap: balance;
	margin-bottom: 10px;
}
.blog-empty p {
	color: var(--slate);
	line-height: 1.7;
	margin: 0 auto 26px;
	max-width: 440px;
}
.blog-empty-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-bottom: 44px;
}
.blog-card {
	display: block;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	background: #fff;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}
.blog-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--border);
}
.blog-card-img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.blog-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img {
	transform: scale(1.05);
}
.blog-card-body {
	padding: 24px 24px 26px;
}
.blog-card-body h3 {
	font-size: 1.08rem;
	margin-bottom: 10px;
	line-height: 1.35;
}
.blog-card-body p {
	font-size: 0.88rem;
	line-height: 1.65;
	color: var(--slate);
	margin-bottom: 16px;
}
.blog-card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--teal);
}
.blog-card-link svg {
	width: 14px;
	height: 14px;
	transition: transform 0.2s ease;
}
.blog-card:hover .blog-card-link svg {
	transform: translateX(3px);
}
.blog-cta {
	text-align: center;
}
@media (max-width: 1024px) {
	.blog-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 640px) {
	.blog-grid {
		grid-template-columns: 1fr;
	}
}

/* ── Blog Index (standalone /blog/ archive) ────────────────
   .blog-section/.blog-grid are shared with the homepage teaser above;
   the standalone archive uses slightly different spacing in the
   original design, scoped here via .blog-archive so it doesn't affect
   the teaser instance of the same classes. */
.blog-archive.blog-section {
	padding: 90px 0 110px;
}
.blog-archive .blog-grid {
	margin-bottom: 56px;
}
.blog-card-img-abstract {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img-abstract {
	transform: scale(1.05);
}
.blog-card-img-abstract svg {
	width: 52px;
	height: 52px;
	color: rgba(255, 255, 255, 0.92);
}
.bc-grad-1 {
	background: linear-gradient(135deg, var(--teal), var(--teal-dk));
}
.bc-grad-2 {
	background: linear-gradient(135deg, var(--violet), var(--violet-dk));
}
.bc-grad-3 {
	background: linear-gradient(135deg, var(--indigo), var(--indigo-dk));
}
.bc-grad-4 {
	background: linear-gradient(135deg, var(--amber), var(--amber-dk));
}
.bc-grad-5 {
	background: linear-gradient(135deg, var(--brand-navy), #1d3a8f);
}
.bc-grad-6 {
	background: linear-gradient(135deg, var(--teal-dk), var(--indigo-dk));
}
.blog-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
.blog-pagination a,
.blog-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--r);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--slate);
	border: 1px solid var(--border);
}
.blog-pagination a:hover {
	border-color: var(--teal);
	color: var(--teal);
}
.blog-pagination .active {
	background: var(--teal);
	border-color: var(--teal);
	color: #fff;
}
.blog-pagination .next {
	width: auto;
	padding: 0 18px;
	gap: 6px;
}

/* ── Single Article ─────────────────────────────────────── */
.article-hero {
	padding: 48px 0 0;
	background: #fff;
}
.article-crumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	color: var(--muted);
	margin-bottom: 22px;
}
.article-crumb a {
	color: var(--slate);
	font-weight: 600;
}
.article-crumb a:hover {
	color: var(--teal);
}
.article-head {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.article-head h1 {
	font-size: clamp(2rem, 4vw, 2.7rem);
	margin: 16px 0 20px;
}
.article-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 36px;
}
.article-meta-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--teal), var(--indigo));
	color: #fff;
	font-weight: 700;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.article-meta-text {
	text-align: left;
	font-size: 0.85rem;
}
.article-meta-text strong {
	display: block;
	color: var(--ink);
}
.article-meta-text span {
	color: var(--muted);
}
.article-cover {
	max-width: 920px;
	margin: 0 auto;
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	aspect-ratio: 2 / 1;
}
.article-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.article-body {
	max-width: 720px;
	margin: 0 auto;
	padding: 64px 0 40px;
}
.article-body h2 {
	font-size: 1.5rem;
	margin: 44px 0 16px;
}
.article-body h2:first-child {
	margin-top: 0;
}
.article-body p {
	color: var(--slate);
	margin-bottom: 18px;
	font-size: 1.02rem;
}
.article-body h3 {
	font-size: 1.25rem;
	margin: 32px 0 14px;
}
.article-body h4 {
	font-size: 1.05rem;
	margin: 24px 0 10px;
}
.article-body ul,
.article-body ol {
	color: var(--slate);
	font-size: 1.02rem;
	line-height: 1.75;
	margin: 0 0 18px;
	padding-left: 22px;
}
.article-body ul li {
	list-style: disc;
	margin-bottom: 8px;
}
.article-body ol li {
	list-style: decimal;
	margin-bottom: 8px;
}
.article-body a {
	color: var(--teal);
	font-weight: 600;
}
.article-body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	margin: 28px 0 36px;
}
.article-body table th,
.article-body table td {
	text-align: left;
	padding: 14px 18px;
	border-bottom: 1px solid var(--border);
}
.article-body table th {
	background: var(--surface);
	font-weight: 700;
	color: var(--ink);
}
.article-body table td {
	color: var(--slate);
}
.article-body table tr:last-child td {
	border-bottom: none;
}
.article-callout {
	background: var(--sky);
	border: 1px solid var(--border);
	border-radius: var(--r);
	padding: 22px 26px;
	margin: 28px 0;
}
.article-callout strong {
	display: block;
	color: var(--ink);
	margin-bottom: 6px;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.article-callout p {
	margin-bottom: 0;
	font-size: 0.96rem;
}
.article-stat-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 28px 0 36px;
}
.article-stat {
	text-align: center;
	border: 1px solid var(--border);
	border-radius: var(--r);
	padding: 22px 12px;
}
.article-stat strong {
	display: block;
	font-size: 1.6rem;
	color: var(--teal);
	margin-bottom: 4px;
}
.article-stat span {
	font-size: 0.82rem;
	color: var(--slate);
}
.article-table-wrap {
	overflow-x: auto;
	margin: 28px 0 36px;
	border: 1px solid var(--border);
	border-radius: var(--r);
}
.article-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	min-width: 520px;
}
.article-table th,
.article-table td {
	text-align: left;
	padding: 14px 18px;
	border-bottom: 1px solid var(--border);
}
.article-table th {
	background: var(--surface);
	font-weight: 700;
	color: var(--ink);
}
.article-table td {
	color: var(--slate);
}
.article-table tr:last-child td {
	border-bottom: none;
}
.article-table .yes {
	color: var(--teal);
	font-weight: 700;
}
.article-cta-inline {
	text-align: center;
	background: var(--brand-navy);
	border-radius: var(--r-lg);
	padding: 40px 30px;
	margin: 40px 0;
}
.article-cta-inline h3 {
	color: #fff;
	font-size: 1.3rem;
	margin-bottom: 10px;
}
.article-cta-inline p {
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 20px;
}
.article-share {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--border);
}
.article-share span {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--slate);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.article-share a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--slate);
}
.article-share a:hover {
	border-color: var(--teal);
	color: var(--teal);
}
.article-share a svg {
	width: 16px;
	height: 16px;
}
.related-section {
	padding: 20px 0 100px;
	background: #fff;
}
.related-section h2 {
	text-align: center;
	margin-bottom: 44px;
}
@media (max-width: 640px) {
	.article-stat-row {
		grid-template-columns: 1fr;
	}
}

/* ── Pricing Page (API-driven, see inc/pricing-api.php) ──── */
.pricing-hero {
	background: #fff;
	padding: 90px 0 0;
	text-align: center;
}
.pricing-hero-inner {
	max-width: 700px;
	margin: 0 auto;
}
.pricing-hero-inner h1 {
	margin: 0 0 14px;
}
.pricing-hero-inner p {
	color: var(--slate);
	font-size: 1.05rem;
}
.pricing-toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: var(--surface);
	border-radius: 999px;
	padding: 5px;
	margin: 36px 0 60px;
}
.pricing-toggle button {
	font-family: var(--font);
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--slate);
	background: transparent;
	border: none;
	border-radius: 999px;
	padding: 9px 22px;
	cursor: pointer;
	transition: all 0.18s;
}
.pricing-toggle button.active {
	background: #fff;
	color: var(--ink);
	box-shadow: var(--shadow);
}
.pricing-section {
	padding: 0 0 40px;
	background: #fff;
}
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 1100px;
	margin: 0 auto;
	align-items: stretch;
}
.price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 32px 30px;
	background: #fff;
	text-align: left;
}
.price-card.featured {
	border-color: var(--teal);
	border-width: 2px;
	box-shadow: var(--shadow-lg);
}
.plan-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--teal);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 6px 16px;
	border-radius: 999px;
	white-space: nowrap;
}
.price-card h3 {
	font-size: 1.2rem;
	margin-bottom: 8px;
}
.price-card .plan-desc {
	color: var(--slate);
	font-size: 0.9rem;
	min-height: 42px;
}
.price-card .plan-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 20px 0 4px;
}
.price-card .plan-price strong {
	font-size: 2.1rem;
	font-weight: 800;
	color: var(--ink);
}
.price-card .plan-price span {
	color: var(--muted);
	font-size: 0.9rem;
}
.price-card .plan-save {
	font-size: 0.78rem;
	color: var(--teal);
	font-weight: 700;
	margin-bottom: 22px;
	min-height: 16px;
}
.price-card .btn {
	width: 100%;
	justify-content: center;
	margin-bottom: 28px;
}
.plan-features {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}
.plan-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.86rem;
	color: var(--ink);
}
.plan-features .check-ic {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--teal-lt);
	color: var(--teal);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.plan-features .check-ic svg {
	width: 12px;
	height: 12px;
}
.pricing-enterprise {
	max-width: 1100px;
	margin: 56px auto 0;
	background: var(--sky);
	border-radius: var(--r-lg);
	padding: 40px;
	text-align: center;
}
.pricing-enterprise h3 {
	font-size: 1.2rem;
	margin-bottom: 6px;
}
.pricing-enterprise p {
	color: var(--slate);
	font-size: 0.92rem;
	margin-bottom: 14px;
}
.pricing-enterprise a {
	color: var(--teal);
	font-weight: 700;
	font-size: 0.92rem;
}
.pricing-error {
	text-align: center;
	color: var(--slate);
	padding: 40px 0;
}
@media (max-width: 860px) {
	.pricing-grid {
		grid-template-columns: 1fr;
		max-width: 460px;
	}
}

/* ── Contact Page ───────────────────────────────────────── */
.contact-hero {
	background: var(--brand-navy);
	position: relative;
	overflow: hidden;
	padding: 96px 0 84px;
	text-align: center;
}
.contact-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 820px;
	margin: 0 auto;
}
.contact-hero-inner .feat-tag {
	color: #9db8f5;
}
.contact-hero-inner h1 {
	color: #fff;
	margin: 14px 0 16px;
}
.contact-hero-inner p {
	color: rgba(255, 255, 255, 0.65);
	font-size: 1.05rem;
}
.contact-section {
	padding: 90px 0;
}
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}
.contact-lead {
	font-size: 1.15rem;
	font-weight: 800;
	margin-bottom: 20px;
	color: var(--ink);
}
.contact-checklist {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 32px;
}
.contact-checklist li {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--ink);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.5;
}
.check-ic {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--teal-lt);
	color: var(--teal);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.check-text {
	flex: 1;
	min-width: 0;
}
.check-ic svg {
	width: 16px;
	height: 16px;
}
.contact-note {
	font-size: 0.92rem;
	color: var(--slate);
	margin-bottom: 12px;
	line-height: 1.7;
}
.contact-note a {
	color: var(--teal);
	font-weight: 700;
}
.contact-form-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 40px;
	box-shadow: var(--shadow-lg);
}
.contact-form-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 26px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--border);
}
.contact-form-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--teal-lt);
	color: var(--teal);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.contact-form-icon svg {
	width: 20px;
	height: 20px;
}
.contact-form-head h3 {
	font-size: 1.1rem;
	margin-bottom: 2px;
}
.contact-form-head p {
	font-size: 0.85rem;
	color: var(--slate);
	margin: 0;
}
.form-field {
	margin-bottom: 20px;
}
.form-field label {
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--slate);
	margin-bottom: 8px;
}
.form-field .req {
	color: #dc2626;
}
.form-field input,
.form-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--border);
	border-radius: 10px;
	font-family: var(--font);
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--ink);
	background: #fff;
	transition: border-color 0.2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
	color: var(--muted);
	font-weight: 400;
}
.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--teal);
	background: #fff;
}
.form-field textarea {
	resize: vertical;
}
.contact-form-card .btn {
	width: 100%;
	justify-content: center;
	margin-top: 4px;
}
.contact-form-card .btn[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}
.contact-form-message {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	border-radius: 10px;
	padding: 14px 12px 14px 18px;
	margin-bottom: 24px;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.5;
}
.contact-form-message > span {
	flex: 1;
}
.contact-form-close {
	flex: none;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin: -3px 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.15s ease, background 0.15s ease;
}
.contact-form-close:hover,
.contact-form-close:focus-visible {
	opacity: 1;
	background: rgba(0, 0, 0, 0.06);
}
.contact-form-close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 1px;
}
.contact-form-message--success {
	background: #eafaf0;
	color: #12794f;
}
.contact-form-message--error {
	background: #fdecec;
	color: #b3261e;
}
@media (max-width: 1024px) {
	.contact-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ── Legal Pages (Privacy Policy, Terms of Service) ───────── */
.legal-hero {
	padding: 72px 0 0;
	background: #fff;
}
.legal-crumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	color: var(--muted);
	margin-bottom: 22px;
}
.legal-crumb a {
	color: var(--slate);
	font-weight: 600;
}
.legal-crumb a:hover {
	color: var(--teal);
}
.legal-head {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.legal-head h1 {
	font-size: clamp(2rem, 4vw, 2.7rem);
	margin: 16px 0 12px;
}
.legal-head p {
	color: var(--muted);
	font-size: 0.92rem;
}
.legal-body {
	max-width: 720px;
	margin: 40px auto 0;
	padding: 56px 0 100px;
	border-top: 1px solid var(--border);
}

/* ── 404 ─────────────────────────────────────────────────── */
.nf {
	padding: 88px 0 112px;
	background: #fff;
	overflow: hidden;
}
.nf-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
}
.nf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 100px;
	background: var(--primary-tint, #eff6ff);
	color: var(--teal);
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 20px;
}
.nf-eyebrow i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}
.nf-copy h1 {
	font-size: clamp(2.3rem, 4.6vw, 3.5rem);
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin: 0 0 16px;
	text-wrap: balance;
}
.nf-copy p {
	max-width: 440px;
	margin: 0 0 30px;
	font-size: 1.08rem;
	line-height: 1.7;
	color: var(--slate);
}
.nf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.nf-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	font-size: 0.92rem;
}
.nf-links span {
	color: var(--muted);
}
.nf-links a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}
.nf-links a:hover {
	color: var(--teal);
}

/* illustration: an invoice that couldn't be found */
.nf-art {
	position: relative;
	width: 100%;
	max-width: 480px;
	height: 460px;
	margin-left: auto;
}
.nf-bg {
	position: absolute;
	inset: 34px 0 0 30px;
	border-radius: 28px;
	background: #e3ecfb radial-gradient(#c7d7f5 1px, transparent 1.2px) 0 0 / 18px 18px;
}
.nf-num {
	position: absolute;
	right: 22px;
	bottom: 18px;
	font-size: 6.4rem;
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 1;
	color: #c3d4f3;
}
.nf-card {
	position: absolute;
	left: 0;
	top: 66px;
	width: 300px;
	max-width: 72%;
	padding: 0 22px 20px;
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(3, 12, 33, 0.05), 0 30px 70px rgba(15, 32, 96, 0.18);
	transform: rotate(-4deg);
}
.nf-band {
	height: 6px;
	margin: 0 -22px 18px;
	background: var(--teal);
}
.nf-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
}
.nf-biz {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nf-mark {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: #dbe5f3;
}
.nf-sk {
	display: block;
	height: 8px;
	border-radius: 4px;
	background: #e2e9f2;
}
.nf-sk-s {
	height: 6px;
	margin-top: 6px;
	background: #edf1f6;
}
.nf-ttl {
	text-align: right;
}
.nf-ttl b {
	display: block;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.2;
}
.nf-ttl small {
	font-size: 0.75rem;
	color: var(--slate);
}
.nf-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 14px 0 10px;
	padding: 4px 10px;
	border-radius: 100px;
	background: #fdecec;
	color: #b3261e;
	font-size: 0.72rem;
	font-weight: 700;
}
.nf-pill i {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
}
.nf-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 11px 0;
	border-bottom: 1px solid var(--border);
}
.nf-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 14px;
	padding: 10px 12px;
	border-radius: 9px;
	background: var(--surface, #f7fafc);
	font-size: 0.8rem;
	color: var(--slate);
}
.nf-total b {
	font-size: 1.15rem;
	color: var(--ink);
}
.nf-chip {
	position: absolute;
	right: 22px;
	top: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 8px;
	border: 1px solid var(--border);
	border-radius: 100px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(3, 12, 33, 0.1);
	font-size: 0.78rem;
	font-weight: 600;
	white-space: nowrap;
}
.nf-ic {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--primary-tint, #eff6ff);
}
@media (max-width: 900px) {
	.nf {
		padding: 48px 0 80px;
	}
	.nf-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}
	.nf-art {
		order: -1;
		max-width: 400px;
		height: 420px;
		margin: 0 auto;
	}
	.nf-num {
		font-size: 4.6rem;
		right: 16px;
		bottom: 14px;
	}
}
.legal-body h2 {
	font-size: 1.3rem;
	margin: 40px 0 14px;
}
.legal-body h2:first-child {
	margin-top: 0;
}
.legal-body p {
	color: var(--slate);
	margin-bottom: 16px;
	font-size: 0.98rem;
	line-height: 1.75;
}
.legal-body ul {
	margin: 0 0 16px;
	padding-left: 22px;
	color: var(--slate);
	font-size: 0.98rem;
	line-height: 1.75;
}
.legal-body ul li {
	list-style: disc;
	margin-bottom: 6px;
}
.legal-body a {
	color: var(--teal);
	font-weight: 600;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
	background: var(--surface);
	border-top: 1px solid var(--border);
	padding: 40px 0 0;
	overflow: hidden;
	position: relative;
}
.footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--border);
}
.footer-links {
	display: flex;
	gap: 26px;
	flex-wrap: wrap;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--slate);
}
.footer-links a:hover {
	color: var(--ink);
}
.footer-copy {
	font-size: 0.82rem;
	color: var(--muted);
}
.footer-wordmark-wrap {
	position: relative;
	height: clamp(120px, 16vw, 190px);
}
.footer-wordmark {
	position: absolute;
	left: 50%;
	bottom: -8%;
	transform: translateX(-50%);
	font-size: clamp(3.2rem, 16vw, 11rem);
	font-weight: 900;
	color: #e2e6ec;
	letter-spacing: -0.03em;
	white-space: nowrap;
	z-index: 0;
	/* A previous flat-HTML build of this same footer had this decorative
	   wordmark silently intercept clicks on footer links that wrapped
	   into its bounds — see cordlo-theme-preview history. Never let a
	   purely decorative layer capture pointer events. */
	pointer-events: none;
}
.footer-flags {
	position: absolute;
	left: 6%;
	bottom: 16%;
	z-index: 1;
}
.footer-flags img {
	height: 54px;
	width: auto;
	display: block;
}

@media (max-width: 1024px) {
	.usecase-grid {
		grid-template-columns: 1fr 1fr;
	}
	.cta-box {
		grid-template-columns: 1fr;
	}
	.cta-actions {
		justify-content: flex-start;
	}
	.cta-visual {
		display: none;
	}
}
@media (max-width: 768px) {
	.hero {
		padding-top: 80px;
	}
	.usecase-grid {
		grid-template-columns: 1fr;
	}
	.usecase-photo {
		aspect-ratio: 4 / 4.5;
	}
	.footer-top {
		flex-direction: column;
		align-items: flex-start;
	}
}
@media (max-width: 480px) {
	.footer-wordmark-wrap {
		height: 100px;
	}
	.footer-wordmark {
		font-size: clamp(2.4rem, 14vw, 3.5rem);
	}
}

/* ── Mobile app: coming soon ([cordlo_app_soon], inc/app-waitlist.php) ── */
.screen-reader-text { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.app-soon { padding: 40px 0 90px; background: #fff; }
.app-soon-box {
	display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px;
	background: var(--teal-lt); border: 1px solid #dbe6fb; border-radius: 28px;
	padding: 64px 64px 0; overflow: hidden;
}
.app-soon-copy { padding-bottom: 64px; max-width: 520px; }
.app-soon-status {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 0.78rem; font-weight: 600; color: var(--teal);
	background: #fff; border: 1px solid #dbe6fb; padding: 5px 12px 5px 10px; border-radius: 100px;
}
.app-soon h2 { margin: 18px 0 14px; }
.app-soon-body { font-size: 1.02rem; margin: 0 0 26px; }
.app-soon-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 470px; }
.app-soon-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.app-soon-form input[type="email"] {
	flex: 1 1 220px; min-width: 0; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 10px;
	font-family: var(--font); font-size: 0.92rem; font-weight: 500; color: var(--ink); background: #fff;
	transition: border-color 0.2s ease;
}
.app-soon-form input[type="email"]::placeholder { color: var(--muted); font-weight: 400; }
.app-soon-form input[type="email"]:focus { outline: none; border-color: var(--teal); }
.app-soon-form .btn { padding: 12px 22px; font-size: 0.9rem; }
.app-soon-form .btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.app-soon-form .cf-turnstile { flex-basis: 100%; }
.app-soon-form .cf-turnstile:empty { display: none; }
.app-soon-msg { margin: 0 0 16px; padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; font-weight: 500; max-width: 470px; }
.app-soon-msg.is-ok { background: #e7f6ef; color: #0e6a4c; }
.app-soon-msg.is-err { background: #fdecec; color: #a12a2a; }
.app-soon-note { margin: 16px 0 0; font-size: 0.85rem; color: var(--slate); }
.app-soon-note a { color: var(--teal); font-weight: 600; text-decoration: none; }
.app-soon-note a:hover { text-decoration: underline; }

.app-soon-visual { display: flex; justify-content: center; align-self: end; }
.app-phone {
	width: 290px; height: 470px; background: #fff; border: 1px solid #cfdcf3; border-bottom: 0;
	border-radius: 40px 40px 0 0; padding: 12px 12px 0;
	box-shadow: 0 -2px 30px rgba(37, 99, 235, 0.08);
}
.app-phone-screen {
	height: 100%; background: var(--surface); border-radius: 30px 30px 0 0; padding: 12px 16px 0;
	font-size: 11px; color: var(--ink); overflow: hidden; display: flex; flex-direction: column; gap: 12px;
}
.app-phone-status { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 10.5px; padding: 0 6px; }
.app-phone-notch { width: 74px; height: 20px; background: var(--ink); border-radius: 100px; }
.app-phone-signal { display: flex; gap: 2px; align-items: flex-end; height: 10px; }
.app-phone-signal i { display: block; width: 3px; background: var(--ink); border-radius: 1px; }
.app-phone-signal i:nth-child(1) { height: 4px; } .app-phone-signal i:nth-child(2) { height: 7px; } .app-phone-signal i:nth-child(3) { height: 10px; }
.app-phone-head { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.app-phone-head small { display: block; color: var(--slate); font-size: 10px; }
.app-phone-head strong { font-size: 17px; font-weight: 700; }
.app-phone-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--teal-lt); color: var(--teal); display: grid; place-items: center; font-weight: 700; font-size: 10px; }
.app-phone-card { background: var(--teal); color: #fff; border-radius: 16px; padding: 14px; }
.app-phone-card small { display: block; opacity: 0.85; font-size: 10px; }
.app-phone-card strong { display: block; font-size: 20px; font-weight: 700; margin: 2px 0 10px; }
.app-phone-bar { height: 5px; border-radius: 6px; background: rgba(255, 255, 255, 0.28); }
.app-phone-bar span { display: block; height: 100%; border-radius: 6px; background: #fff; }
.app-phone-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.app-phone-list li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; }
.app-phone-list li + li { border-top: 1px solid var(--border); }
.app-phone-list li > div:nth-child(2) { flex: 1; min-width: 0; }
.app-phone-list b { display: block; font-weight: 600; font-size: 11px; }
.app-phone-list small { color: var(--muted); font-size: 9.5px; }
.app-phone-ico { width: 28px; height: 28px; border-radius: 9px; background: var(--surface); color: var(--slate); display: grid; place-items: center; font-weight: 700; font-size: 9px; flex: none; }
.app-phone-amt { text-align: right; }
.app-phone-amt em { display: inline-block; font-style: normal; font-weight: 600; font-size: 9px; padding: 1px 7px; border-radius: 100px; margin-top: 3px; }
.app-phone-amt .is-paid { background: #e7f6ef; color: #12805c; }
.app-phone-amt .is-viewed { background: var(--teal-lt); color: var(--teal); }
.app-phone-amt .is-sent { background: #eef1f5; color: var(--slate); }
.app-phone-cta { background: var(--ink); color: #fff; text-align: center; font-weight: 600; border-radius: 12px; padding: 11px; }

@media (max-width: 1024px) {
	.app-soon-box { grid-template-columns: 1fr; padding: 48px 40px 0; gap: 28px; }
	.app-soon-copy { padding-bottom: 0; max-width: none; }
}
@media (max-width: 640px) {
	.app-soon { padding: 24px 0 64px; }
	.app-soon-box { padding: 36px 22px 0; border-radius: 22px; }
	.app-soon-form .btn { flex: 1 1 100%; justify-content: center; }
	.app-phone { width: 270px; height: 300px; padding: 10px 10px 0; border-radius: 34px 34px 0 0; }
	.app-phone-screen { border-radius: 26px 26px 0 0; }
}

/* Category / tag / author archives: back link above the heading */
.blog-back { display: inline-block; margin-bottom: 18px; font-size: 0.88rem; font-weight: 600; color: var(--teal); text-decoration: none; }
.blog-back:hover { text-decoration: underline; }
