/* Components — buttons, cards, chips, spec lists, data tables, and the
   static home-page section layouts (interactive blocks ship their own
   CSS under assets/css/blocks/, loaded only when present on the page). */

/* ---------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: var(--r-pill);
	font-size: 14px;
	font-weight: 600;
	padding: 10px 22px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color 150ms var(--ease-standard), color 150ms var(--ease-standard), border-color 150ms var(--ease-standard), transform 150ms var(--ease-standard);
	line-height: 1.2;
	white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

/* !important on color: WordPress's global-styles-inline-css sets a
   `:root :where(a)` text color from theme.json (real specificity via the
   :root prefix, same trick as the block-gap bug), which only excludes
   links carrying .wp-element-button. Any <a class="btn"> written by hand
   in a wp:html block (not a real wp:button) lacks that class, so without
   !important its color silently loses to the link color — invisible
   text on a same-color background for btn--accent specifically. */
.btn--accent {
	background: var(--c-accent);
	color: #fff !important;
}
.btn--accent:hover { background: var(--c-accent-hover); color: #fff !important; }

.btn--dark {
	background: var(--c-primary);
	color: #fff !important;
}
.btn--dark:hover { background: #0f131e; color: #fff !important; }

.btn--ghost {
	background: transparent;
	color: var(--c-fg) !important;
	border-color: var(--c-border-strong);
}
.btn--ghost:hover { background: var(--c-surface-2); color: var(--c-fg) !important; }

/* For a button sitting on a solid/gradient accent-colored background
   (e.g. .tl-cta-strip), where btn--accent's indigo fill would blend
   straight into it. */
.btn--light {
	background: #fff;
	color: var(--c-accent-ink) !important;
}
.btn--light:hover { background: #F1F1FE; color: var(--c-accent-ink) !important; }

.btn--sm { font-size: 13px; padding: 8px 16px; }

/* ---------------------------------------------------------------
 * Cards, chips, pills
 * ------------------------------------------------------------- */

.card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--r-xl);
	box-shadow: var(--shadow-card);
}

.tl-chip {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--r-md);
	background: var(--c-accent-soft);
	color: var(--c-accent);
	flex-shrink: 0;
}
.tl-chip svg { width: 24px; height: 24px; stroke-width: 1.7; }
.tl-chip--sm { width: 40px; height: 40px; }
.tl-chip--sm svg { width: 20px; height: 20px; }

.tl-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: var(--r-pill);
	font-size: 13px;
	background: rgba(248, 250, 252, .8);
	border: 1px solid var(--c-border);
}

.tl-tag {
	display: inline-block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--c-accent);
	background: var(--c-accent-soft);
	border-radius: var(--r-sm);
	padding: 4px 10px;
}

.tl-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--c-success);
	flex-shrink: 0;
}
.tl-dot--live {
	animation: tl-pulse 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
	.tl-dot--live { animation: none; }
}
@keyframes tl-pulse {
	0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(22, 163, 74, .4); }
	50% { opacity: .7; box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}

/* ---------------------------------------------------------------
 * Spec list / data table
 * ------------------------------------------------------------- */

.spec-list {
	display: flex;
	flex-direction: column;
}
.spec-list__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--c-border);
}
.spec-list__row:last-child { border-bottom: none; }
.spec-list__label { color: var(--c-muted-fg); font-size: 13px; }
.spec-list__value {
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 700;
	font-size: 13px;
	text-align: right;
}

.data-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	overflow: hidden;
}
.data-table th, .data-table td {
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid var(--c-border);
	font-size: 14px;
}
.data-table thead th {
	background: var(--c-surface-2);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--c-muted-fg);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table td.tl-col-accent { color: var(--c-accent-ink); font-weight: 600; }

@media (max-width: 767px) {
	.data-table thead { display: none; }
	.data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
	.data-table tr { border-bottom: 1px solid var(--c-border); padding: 12px 16px; }
	.data-table td { border: none; padding: 4px 0; }
	.data-table td::before {
		content: attr(data-label);
		display: block;
		font-size: 11px;
		text-transform: uppercase;
		color: var(--c-muted-fg);
		margin-bottom: 2px;
	}
}

/* ---------------------------------------------------------------
 * Generic section header (eyebrow + H2 + intro)
 * ------------------------------------------------------------- */

.tl-section__head {
	max-width: 42rem;
	margin-inline: auto;
	text-align: center;
	margin-bottom: 48px;
}
.tl-section__head h2 {
	font-size: var(--wp--preset--font-size--2xl);
	margin-block: 12px 16px;
}
.tl-section__head p {
	color: var(--c-muted-fg);
	font-size: var(--wp--preset--font-size--md);
}

/* ---------------------------------------------------------------
 * Hero (§7.1)
 * ------------------------------------------------------------- */

.tl-hero {
	background: #F8FAFC;
	min-height: calc(100vh - 64px);
	display: flex;
	align-items: center;
	padding-block: 64px;
}
.tl-hero__inner {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 32px;
}
@media (min-width: 782px) { .tl-hero__inner { padding-inline: 32px; } }

.tl-hero__title {
	max-width: 56rem;
	font-weight: 800;
	font-size: var(--wp--preset--font-size--3xl);
	letter-spacing: -0.03em;
}
.tl-hero__sub {
	max-width: 42rem;
	color: var(--c-muted-fg);
	font-size: var(--wp--preset--font-size--md);
}

.tl-hero-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	max-width: 1024px;
	width: 100%;
}
.tl-hero-cards > * { min-width: 0; margin-block-start: 0 !important; }
@media (min-width: 640px) { .tl-hero-cards { grid-template-columns: repeat(3, 1fr); } }

.tl-hero-card {
	background: var(--c-surface);
	border: 2px solid #E2E8F0;
	border-radius: var(--r-xl);
	padding: 24px;
	box-shadow: var(--shadow-hero);
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: transform 200ms var(--ease-standard), border-color 200ms var(--ease-standard), background-color 200ms var(--ease-standard);
}
@media (min-width: 782px) { .tl-hero-card { padding: 32px; } }
.tl-hero-card:hover {
	transform: translateY(-4px) scale(1.02);
	border-color: rgba(79, 70, 229, .4);
	background: var(--c-accent-soft);
}
@media (prefers-reduced-motion: reduce) {
	.tl-hero-card:hover { transform: none; }
}
.tl-hero-card__top {
	display: flex;
	align-items: center;
	gap: 12px;
}
.tl-hero-card__sub {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--c-muted-fg);
}
.tl-hero-card__title {
	font-size: 20px;
	font-weight: 600;
}
.tl-hero-card__cta {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--c-accent);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.tl-hero-card__cta svg { transition: transform 150ms var(--ease-standard); width: 14px; height: 14px; }
.tl-hero-card:hover .tl-hero-card__cta svg { transform: translateX(4px); }

.tl-status-ribbon > * { margin-block-start: 0 !important; }
.tl-status-ribbon {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 24px 24px;
	row-gap: 8px;
	font-size: 13px;
}
.tl-status-ribbon__divider { color: var(--c-border-strong); }
@media (max-width: 480px) { .tl-status-ribbon__divider { display: none; } }

.tl-feature-ribbon {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	width: 100%;
	max-width: 1024px;
	padding-top: 8px;
}
.tl-feature-ribbon > * { min-width: 0; margin-block-start: 0 !important; }
@media (min-width: 782px) {
	.tl-feature-ribbon {
		grid-template-columns: repeat(4, 1fr);
	}
	.tl-feature-ribbon__item {
		border-left: 1px solid var(--c-border);
		padding-left: 20px;
	}
	.tl-feature-ribbon__item:first-child { border-left: none; padding-left: 0; }
}
.tl-feature-ribbon__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-align: left;
}
.tl-feature-ribbon__item svg { width: 16px; height: 16px; color: var(--c-muted-fg); flex-shrink: 0; margin-top: 2px; }
.tl-feature-ribbon__key { font-size: 12px; font-weight: 700; display: block; }
.tl-feature-ribbon__value { font-size: 11px; color: var(--c-muted-fg); }

/* ---------------------------------------------------------------
 * Social proof (§7.2)
 * ------------------------------------------------------------- */

.tl-social-proof__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 16px;
	align-items: center;
}
.tl-social-proof__grid > * { min-width: 0; margin-block-start: 0 !important; }
@media (min-width: 782px) { .tl-social-proof__grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; padding-inline: 32px; } }

.tl-score {
	text-align: center;
}
@media (min-width: 782px) { .tl-score { text-align: left; } }
.tl-score__number {
	font-weight: 800;
	font-size: clamp(70px, 10vw, 130px);
	letter-spacing: -0.05em;
	line-height: 1;
}
.tl-score__denominator { font-size: 60px; color: var(--c-muted-fg); font-weight: 600; }
.tl-score__stars { display: flex; gap: 4px; justify-content: center; margin-block: 12px; }
@media (min-width: 782px) { .tl-score__stars { justify-content: flex-start; } }
.tl-score__stars svg { width: 36px; height: 36px; color: var(--c-success); }
.tl-score__caption { color: var(--c-muted-fg); font-size: 14px; }
.tl-score__badges { display: flex; gap: 16px; justify-content: center; margin-top: 20px; }
@media (min-width: 782px) { .tl-score__badges { justify-content: flex-start; } }

.tl-testimonials { display: flex; flex-direction: column; gap: 16px; }
.tl-testimonial {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	padding: 28px;
	transition: border-color 150ms var(--ease-standard), background-color 150ms var(--ease-standard);
}
.tl-testimonial:hover { border-color: var(--c-border-strong); background: var(--c-surface-2); }
.tl-testimonial__stars { display: flex; gap: 2px; margin-bottom: 12px; }
.tl-testimonial__stars svg { width: 16px; height: 16px; color: var(--c-success); }
.tl-testimonial__quote { font-size: 17px; font-weight: 500; line-height: 1.5; }
.tl-testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tl-testimonial__avatar {
	width: 40px; height: 40px;
	border-radius: 999px;
	background: var(--c-accent-soft);
	color: var(--c-accent-ink);
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	font-size: 13px;
	flex-shrink: 0;
}
.tl-testimonial__name { font-weight: 600; font-size: 14px; }
.tl-testimonial__role { font-size: 12px; color: var(--c-muted-fg); }

/* ---------------------------------------------------------------
 * Card grids (industries, logistics types, capability cards)
 * ------------------------------------------------------------- */

.tl-container {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 16px;
}
@media (min-width: 782px) { .tl-container { padding-inline: 32px; } }

.tl-card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
/* Without this, a grid item's text content sets an implicit minimum
   width (min-width:auto by default) that can exceed its 1fr share,
   breaking equal-width columns whenever one card's heading is longer
   than the others'. */
.tl-card-grid > * { min-width: 0; margin-block-start: 0 !important; }
.tl-card-grid .wp-block-query-pagination { grid-column: 1 / -1; }
@media (min-width: 640px) { .tl-card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .tl-card-grid--3, .tl-card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tl-card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tl-card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.tl-industry-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--r-xl);
	padding: 28px;
	position: relative;
}
.tl-industry-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 20px;
}
.tl-industry-card h3 { font-size: 18px; margin-bottom: 8px; }
.tl-industry-card p { color: var(--c-muted-fg); font-size: 14px; }

.tl-flow-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--r-xl);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.tl-flow-card__index {
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 700;
	color: var(--c-accent);
	font-size: 20px;
}
.tl-flow-card h3 { font-size: 18px; }
.tl-flow-card__line {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--c-muted-fg);
}
.tl-flow-card p { color: var(--c-muted-fg); font-size: 14px; }
.tl-flow-card .spec-list { border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 4px 12px; }
/* Cards in a row stretch to equal height, but each one's own content
   (body copy length varies) can leave the CTA sitting at a different
   vertical position — anchor it to the bottom of the card instead. */
.tl-flow-card p:has(.tl-flow-card__cta) { margin-top: auto; margin-bottom: 0; }
.tl-flow-card__cta {
	color: var(--c-accent);
	font-weight: 600;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.tl-capability-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	padding: 24px;
}
.tl-capability-card h3 { font-size: 15px; font-weight: 700; margin-block: 12px 6px; }
.tl-capability-card p { font-size: 13px; color: var(--c-muted-fg); }

/* ---------------------------------------------------------------
 * How it works (§7.6)
 * ------------------------------------------------------------- */

.tl-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	position: relative;
}
.tl-steps > * { min-width: 0; margin-block-start: 0 !important; }
@media (min-width: 782px) {
	.tl-steps {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
	}
	.tl-steps::before {
		content: "";
		position: absolute;
		top: 22px;
		left: 10%;
		right: 10%;
		height: 1px;
		background: linear-gradient(90deg, transparent, var(--c-border-strong), transparent);
	}
}
.tl-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: var(--c-bg);
	padding-right: 8px;
}
.tl-step__num {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	color: var(--c-muted-fg);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.tl-step h3 { font-size: 17px; }
.tl-step p { font-size: 14px; color: var(--c-muted-fg); }

/* ---------------------------------------------------------------
 * Compliance bar (§7.9)
 * ------------------------------------------------------------- */

.tl-compliance-strip {
	display: grid;
	grid-template-columns: 1fr;
	border: 1px solid var(--c-border);
	border-radius: var(--r-xl);
	overflow: hidden;
	background: var(--c-surface);
}
.tl-compliance-strip > * { min-width: 0; margin-block-start: 0 !important; }
@media (min-width: 640px) { .tl-compliance-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tl-compliance-strip { grid-template-columns: repeat(4, 1fr); } }
.tl-compliance-cell {
	padding: 24px;
	border-bottom: 1px solid var(--c-border);
	border-right: 1px solid var(--c-border);
}
.tl-compliance-cell:last-child { border-right: none; }
.tl-compliance-cell__label {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--c-muted-fg);
	margin-bottom: 6px;
}
.tl-compliance-cell__value { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.tl-compliance-cell__id { font-family: var(--wp--preset--font-family--mono); color: var(--c-accent); font-size: 13px; }

/* ---------------------------------------------------------------
 * Blog roll (§7.10)
 * ------------------------------------------------------------- */

.tl-blog-card {
	display: block;
	border-radius: var(--r-xl);
	overflow: hidden;
	border: 1px solid var(--c-border);
	background: var(--c-surface);
	transition: transform 200ms var(--ease-standard), border-color 200ms var(--ease-standard);
}
.tl-blog-card:hover { transform: translateY(-4px); border-color: rgba(79,70,229,.4); }
@media (prefers-reduced-motion: reduce) { .tl-blog-card:hover { transform: none; } }
.tl-blog-card__media { height: 192px; overflow: hidden; background: var(--c-surface-2); }
.tl-blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease-standard); }
.tl-blog-card:hover .tl-blog-card__media img { transform: scale(1.05); }
.tl-blog-card__body { padding: 20px; }
.tl-blog-card__cat { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--c-accent); }
.tl-blog-card__title { font-size: 18px; font-weight: 700; margin-block: 8px; color: var(--c-fg); }
.tl-blog-card__excerpt { font-size: 14px; color: var(--c-muted-fg); }
.tl-blog-card__link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--c-accent); }

/* ---------------------------------------------------------------
 * Terminal CTA (§7.11)
 * ------------------------------------------------------------- */

.tl-terminal-cta {
	background: var(--c-surface);
	position: relative;
}
.tl-terminal-cta::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
}
.tl-terminal-cta__row {
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: flex-start;
}
@media (min-width: 1024px) {
	.tl-terminal-cta__row { flex-direction: row; align-items: center; justify-content: space-between; }
}
.tl-terminal-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.tl-action-card {
	min-width: 200px;
	flex: 1;
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	padding: 20px;
	display: flex;
	/* WordPress's own flex-layout block support defaults to
	   flex-wrap:wrap. Left as-is, a card whose label is a little
	   longer (e.g. "Auto Transport" vs "LTL Freight") can need just
	   enough extra width to wrap its icon onto a second line, while
	   its shorter-label siblings don't — the icon then sits lower on
	   that one card only. The icon+text pair should never wrap. */
	flex-wrap: nowrap;
	/* flex-start, not center: a longer sub-label (e.g. "VEHICLE
	   SHIPPING") can wrap to 2 lines while its siblings stay on 1,
	   and centering would then shift just that card's icon down
	   relative to the others. Top-aligning keeps every icon at the
	   same height regardless of how much its own label wraps. */
	align-items: flex-start;
	gap: 16px;
}
.tl-action-card__sub { font-size: 11px; text-transform: uppercase; color: var(--c-accent); font-weight: 700; letter-spacing: 0.04em; }
.tl-action-card__label { font-weight: 700; font-size: 15px; }
.tl-action-card .tl-chip { margin-left: auto; transition: background-color 150ms var(--ease-standard), color 150ms var(--ease-standard); }
.tl-action-card:hover .tl-chip { background: var(--c-accent); color: #fff; }

/* ---------------------------------------------------------------
 * Comparison table wrapper (§7.5) + CTA strip part
 * ------------------------------------------------------------- */

.tl-compare-wrap {
	border: 1px solid var(--c-border);
	border-radius: var(--r-xl);
	overflow: hidden;
	background: var(--c-surface);
}
.tl-compare-wrap .data-table { border: none; border-radius: 0; }
.tl-compare-wrap .data-table th:first-child,
.tl-compare-wrap .data-table td:first-child { padding-left: 24px; }
.tl-compare-check { color: var(--c-accent); width: 16px; height: 16px; margin-right: 6px; flex-shrink: 0; vertical-align: -3px; }

.tl-cta-strip {
	background: linear-gradient(135deg, var(--c-accent), var(--c-accent-hover));
	border-radius: var(--r-xl);
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: flex-start;
	color: #fff;
}
@media (min-width: 782px) {
	.tl-cta-strip { flex-direction: row; align-items: center; justify-content: space-between; }
}
.tl-cta-strip h2 { color: #fff; font-size: 24px; }
.tl-cta-strip p { color: rgba(255,255,255,.8); font-size: 14px; }

/* ---------------------------------------------------------------
 * Prose (§10 hub template article body)
 * ------------------------------------------------------------- */

.tl-prose { font-size: 17px; line-height: 1.75; color: var(--c-fg); }
.tl-prose h2 {
	font-size: 28px;
	font-weight: 800;
	margin-top: 48px;
	margin-bottom: 16px;
	scroll-margin-top: 96px;
}
.tl-prose h3 { font-size: 20px; margin-top: 32px; margin-bottom: 12px; scroll-margin-top: 96px; }
.tl-prose p { margin-bottom: 20px; }
.tl-prose a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; }
.tl-prose blockquote {
	border-left: 3px solid var(--c-accent);
	padding-left: 20px;
	margin: 24px 0;
	font-size: 18px;
	color: var(--c-muted-fg);
	font-style: italic;
}
.tl-prose ul { padding-left: 0; list-style: none; margin-bottom: 20px; }
.tl-prose ul li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.tl-prose ul li::before {
	content: "";
	position: absolute;
	left: 6px; top: 10px;
	width: 6px; height: 6px;
	border-radius: 999px;
	background: var(--c-accent);
}
.tl-prose table { width: 100%; border-collapse: collapse; border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 24px; }
.tl-prose table th, .tl-prose table td { padding: 12px 16px; border-bottom: 1px solid var(--c-border); text-align: left; font-size: 14px; }
.tl-prose table th { background: var(--c-surface-2); }

.tl-callout {
	background: var(--c-accent-soft);
	border-radius: var(--r-lg);
	padding: 20px 24px;
	margin: 24px 0;
	font-size: 15px;
	color: var(--c-accent-ink);
}

.tl-inline-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: var(--c-primary);
	color: #fff;
	border-radius: var(--r-lg);
	padding: 24px;
	margin: 32px 0;
}
.tl-inline-cta p { color: #fff; margin: 0; font-weight: 600; }

/* Author byline card (hub article footer) */
.tl-byline-card {
	display: flex;
	align-items: center;
	gap: 14px;
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	padding: 20px;
	margin-top: 48px;
}
.tl-byline-card__avatar { width: 48px; height: 48px; border-radius: 999px; flex-shrink: 0; }
.tl-byline-card__name { font-weight: 700; font-size: 14px; }
.tl-byline-card__role { font-size: 13px; color: var(--c-muted-fg); }
.tl-byline-card__credential { display: flex; gap: 4px; font-size: 12px; color: var(--c-muted-fg); }
.tl-byline-card__credential p { font-size: 12px; color: var(--c-muted-fg); margin: 0; }

/* Hub hero CSS mockup (no image asset) */
.tl-hub-mockup { position: relative; width: 100%; max-width: 420px; margin-inline: auto; }
.tl-hub-mockup__laptop {
	background: var(--c-primary);
	border-radius: 12px 12px 4px 4px;
	padding: 12px 12px 24px;
	box-shadow: var(--shadow-hero);
}
.tl-hub-mockup__laptop::after {
	content: "";
	display: block;
	height: 8px;
	background: #2A3142;
	border-radius: 0 0 4px 4px;
	margin: 0 -12px -24px;
}
.tl-hub-mockup__screen { background: var(--c-bg); border-radius: 6px; padding: 16px; }
.tl-hub-mockup__bar { height: 8px; border-radius: 4px; background: var(--c-border); margin-bottom: 8px; }
.tl-hub-mockup__bar--accent { background: var(--c-accent); width: 60%; }
.tl-hub-mockup__row { display: flex; gap: 8px; margin-top: 12px; }
.tl-hub-mockup__chip { flex: 1; height: 40px; border-radius: 8px; background: var(--c-surface-2); border: 1px solid var(--c-border); }
.tl-hub-mockup__phone {
	position: absolute;
	bottom: -24px;
	right: -16px;
	width: 90px;
	height: 170px;
	background: var(--c-fg);
	border-radius: 16px;
	padding: 8px;
	box-shadow: var(--shadow-hero);
}
.tl-hub-mockup__phone-screen { width: 100%; height: 100%; background: var(--c-accent-soft); border-radius: 10px; }
@media (max-width: 1023px) { .tl-hub-mockup { margin-top: 32px; max-width: 320px; } }

.tl-hub-hero { background: var(--c-surface-2); }
.tl-hub-hero .tl-container { gap: 40px; }
.tl-hub-hero .tl-container > * { flex: 1 1 400px; }

.tl-hub-body { padding-block: 64px; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .tl-hub-body { grid-template-columns: 220px 1fr; gap: 56px; } }
.tl-hub-article { max-width: 720px; }

/* ---------------------------------------------------------------
 * WordPress block-gap override
 *
 * Every wp:group block using the default "flow" (or "constrained")
 * layout type gets an auto-injected `margin-block-start` on every
 * child but the first, intended for vertical block stacking. This
 * theme uses its own explicit `gap` on every custom flex/grid
 * container instead, so that injected margin only ever fights with
 * intentional layout — it's what caused cards/icons/nav items to sit
 * at inconsistent heights relative to their siblings. Neutralized in
 * one place, for every custom container in the design system, rather
 * than one target at a time.
 * ------------------------------------------------------------- */

.tl-hero__inner > *,
.tl-score__stars > *,
.tl-score__badges > *,
.tl-testimonials > *,
.tl-testimonial__stars > *,
.tl-testimonial__author > *,
.tl-industry-card__head > *,
.tl-flow-card > *,
.tl-step > *,
.tl-terminal-cta__row > *,
.tl-terminal-cta__actions > *,
.tl-action-card > *,
.tl-cta-strip > *,
.tl-inline-cta > *,
.tl-byline-card__credential > *,
.tl-hub-mockup__row > *,
.tl-hub-body > *,
.tl-hero-card__top > * {
	margin-block-start: 0 !important;
}

/* WordPress's flex-layout block support defaults every "type":"flex"
   group to flex-wrap:wrap unless the block explicitly opts out. Every
   one of these is a compact single-row component (icon+text, avatar+
   name, etc.) that should never wrap internally — force nowrap rather
   than rely on content happening to be short enough to fit. */
.tl-pill,
.tl-testimonial__author,
.tl-score__badges,
.tl-industry-card__head,
.tl-byline-card,
.tl-byline-card__credential,
.tl-header__cta {
	flex-wrap: nowrap;
}
