/*
 * ABF Accounting — inner pages (Pricing, First-Year FREE, About, Contact) and the shared
 * page components they use (mid-page CTA, trust strip, timeline, audience and icon cards).
 */

/* ---------- Page heading ---------- */

.abf-pill {
	display: inline-flex;
	align-self: center;
	padding: 8px 16px;
	border: 1px solid rgba(13, 51, 63, 0.1);
	border-radius: 999px;
	background: #fff;
	color: var(--abf-green);
	font-size: 14px;
	font-weight: 700;
	line-height: 21px;
	letter-spacing: -0.01em;
}

.abf-pill--mint {
	border: 0;
	background: var(--abf-mint);
	color: #148c54;
}

.abf-page-title {
	color: var(--abf-ink);
	font-size: 60px;
	font-weight: 800;
	line-height: 66px;
	letter-spacing: -0.02em;
}

.abf-page-lead {
	color: var(--abf-muted);
	font-size: 18px;
	line-height: 28px;
	letter-spacing: -0.01em;
}

.abf-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--abf-muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 21px;
	letter-spacing: -0.01em;
}

.abf-breadcrumb a {
	color: var(--abf-muted);
}

.abf-breadcrumb [aria-current] {
	color: var(--abf-green);
	font-weight: 700;
}

/* ---------- Buttons (page variants) ---------- */

.abf-button--quiet .wp-block-button__link {
	background: transparent;
	border: 1.5px solid rgba(13, 51, 63, 0.18);
	box-shadow: none;
	color: var(--abf-teal);
}

.abf-button--quiet .wp-block-button__link:hover {
	background: var(--abf-ice);
	border-color: var(--abf-green);
	color: var(--abf-teal);
}

.abf-button--outline-green .wp-block-button__link {
	background: #fff;
	border: 1.5px solid var(--abf-green);
	color: var(--abf-green);
}

.abf-button--outline-green .wp-block-button__link:hover {
	background: var(--abf-ice);
	color: var(--abf-green-dark);
}

.abf-button--lg .wp-block-button__link,
.abf-package__actions .wp-block-button__link,
.abf-price-card__actions .wp-block-button__link,
.abf-qualify__actions .wp-block-button__link {
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	line-height: 25px;
	letter-spacing: -0.01em;
	padding: 17px 28px;
}

.abf-button--white .wp-block-button__link {
	background: #fff;
	color: var(--abf-teal);
	border-radius: 12px;
	font-size: 17px;
	font-weight: 700;
	line-height: 25px;
	padding: 18px 32px;
	box-shadow: 0 12px 28px -8px rgba(13, 51, 63, 0.2);
}

.abf-button--white .wp-block-button__link:hover {
	background: var(--abf-mint);
	color: var(--abf-teal);
}

/* ---------- Pricing ---------- */

.abf-pricing {
	padding-block: 96px 104px;
	background: linear-gradient(180deg, var(--abf-ice) 0%, #fff 100%);
}

.abf-pricing > .abf-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 56px;
}

.abf-pricing__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	max-width: 825px;
	text-align: center;
}

.abf-pricing__intro .abf-page-lead {
	max-width: 760px;
}

.abf-packages {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

/* A last card alone on its row sits in the middle column (Figma: Partnership Tax Return). */
@media (min-width: 1200px) {
	.abf-package:nth-child(3n + 1):last-child {
		grid-column: 2;
	}
}

/* Each card spans two rows of the packages grid (summary, details) through subgrid, so the
 * buttons and the detail panels line up across a row. */
.abf-package {
	display: grid;
	grid-row: span 2;
	grid-template-rows: subgrid;
	row-gap: 0;
	overflow: hidden;
	border: 1px solid rgba(13, 51, 63, 0.07);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 18px 44px -14px rgba(13, 51, 63, 0.07);
}

.abf-package__top {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 14px;
	padding: 32px 32px 28px;
}

.abf-package__icon img {
	width: 56px;
	height: 56px;
}

.abf-package__title {
	color: var(--abf-ink);
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: -0.01em;
}

.abf-package__desc,
.abf-package__a {
	color: var(--abf-muted);
	font-size: 14px;
	line-height: 21px;
	letter-spacing: -0.01em;
}

.abf-package__price {
	padding-top: 6px;
	color: var(--abf-ink);
	font-size: 52px;
	font-weight: 800;
	line-height: 56px;
	letter-spacing: -0.02em;
}

.abf-package__time {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--abf-muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 21px;
}

.abf-package__time::before {
	content: "";
	width: 16px;
	height: 16px;
	background: url("../icons/clock-16.svg") center / contain no-repeat;
}

.abf-package__actions {
	margin-top: auto;
}

.abf-package__details {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 26px 32px 32px;
	background: var(--abf-ice);
}

.abf-package__detail {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-left: 36px;
}

.abf-package__detail::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	background: url("../icons/marker-chevron.svg") center / contain no-repeat;
}

.abf-package__q {
	color: var(--abf-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 21px;
	letter-spacing: -0.01em;
}

.abf-pricing__note {
	max-width: 700px;
	color: var(--abf-muted);
	font-size: 14px;
	line-height: 21px;
	text-align: center;
}

/* ---------- Mid-page CTA ---------- */

.wp-block-cover.abf-mid-cta {
	padding: 0;
	min-height: 388px;
	overflow: hidden;
}

.abf-mid-cta > .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(90deg, rgba(13, 51, 63, 0.92) 0%, rgba(3, 168, 78, 0.86) 55%, rgba(59, 216, 94, 0.62) 100%);
}

.abf-mid-cta::after {
	content: "";
	position: absolute;
	width: 520px;
	height: 520px;
	right: -60px;
	top: -60px;
	border: 1.5px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	box-shadow: inset 0 0 0 80px transparent;
	pointer-events: none;
}

.abf-mid-cta > .wp-block-cover__inner-container {
	width: 100%;
	color: #fff;
}

.abf-mid-cta .abf-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 64px;
}

.abf-mid-cta__message {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 860px;
}

.abf-mid-cta__eyebrow {
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.abf-mid-cta__title {
	color: #fff;
	font-size: 40px;
	font-weight: 800;
	line-height: 46px;
	letter-spacing: -0.01em;
}

.abf-mid-cta__text {
	color: rgba(255, 255, 255, 0.82);
	font-size: 18px;
	line-height: 28px;
	letter-spacing: -0.01em;
}

.abf-mid-cta__actions {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
}

.abf-mid-cta__phone a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	font-weight: 600;
	line-height: 21px;
}

.abf-mid-cta__phone a::before {
	content: "";
	width: 15px;
	height: 15px;
	background: currentColor;
	-webkit-mask: var(--abf-mask-phone) center / contain no-repeat;
	mask: var(--abf-mask-phone) center / contain no-repeat;
}

/* ---------- Trust strip ---------- */

.abf-strip {
	padding-block: 28px;
	background: var(--abf-teal);
}

.abf-strip > .abf-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px 32px;
}

.abf-strip__item {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 25px;
	letter-spacing: -0.01em;
}

.abf-strip__item::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: center / contain no-repeat;
}

.abf-strip__item--strip-1::before { background-image: url("../icons/strip-2.svg"); } /* was the Trustpilot star */
.abf-strip__item--strip-2::before { background-image: url("../icons/strip-2.svg"); }
.abf-strip__item--strip-3::before { background-image: url("../icons/strip-3.svg"); }

/* ---------- Timeline ---------- */

.abf-steps {
	padding-block: 96px;
}

.abf-steps > .abf-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.abf-timeline {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(1040px, 100%);
}

.abf-timeline::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 40px;
	bottom: 70px;
	width: 2px;
	margin-left: -1px;
	background: linear-gradient(180deg, var(--abf-green), #27c67a);
}

.abf-timeline__step {
	position: relative;
	display: flex;
	min-height: 132px;
}

.abf-timeline__step.is-right {
	justify-content: flex-end;
}

.abf-timeline__node {
	position: absolute;
	left: 50%;
	top: 25px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-left: -22px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: var(--abf-green);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 21px;
	box-sizing: border-box;
}

.abf-timeline__step:last-child .abf-timeline__node {
	background: #27c67a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='white'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E") center / 15px no-repeat;
	color: transparent;
}

.abf-timeline__card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: calc(50% - 60px);
	align-self: flex-start;
	padding: 20px 24px;
	border-left: 3px solid var(--abf-green);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 28px -8px rgba(13, 51, 63, 0.07), 0 0 0 1px rgba(13, 51, 63, 0.05);
}

.is-right .abf-timeline__card {
	border-left: 0;
	border-right: 3px solid var(--abf-green);
}

.abf-timeline__title {
	color: var(--abf-ink);
	font-size: 17px;
	font-weight: 700;
	line-height: 25px;
	letter-spacing: -0.01em;
}

.abf-timeline__text {
	color: var(--abf-muted);
	font-size: 14px;
	line-height: 21px;
	letter-spacing: -0.01em;
}

/* ---------- Audience cards ---------- */

.abf-audience {
	padding-block: 96px;
	background: var(--abf-ice);
}

.abf-audience > .abf-container {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.abf-audience .abf-heading {
	max-width: 760px;
}

.abf-audience__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.abf-audience-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 29px;
	border: 1px solid rgba(13, 51, 63, 0.06);
	border-radius: 22px;
	background: #fff;
}

.abf-audience-card__title {
	color: var(--abf-ink);
	font-size: 21px;
	font-weight: 700;
	line-height: 27px;
	letter-spacing: -0.01em;
}

.abf-audience-card__text {
	color: var(--abf-muted);
	font-size: 15px;
	line-height: 23px;
	letter-spacing: -0.01em;
}

.abf-audience-card__link {
	margin-top: auto !important;
	padding-top: 8px;
}

.abf-audience-card__link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--abf-green);
	font-size: 14px;
	font-weight: 700;
	line-height: 21px;
}

.abf-audience-card__link a::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--abf-mask-arrow) center / contain no-repeat;
	mask: var(--abf-mask-arrow) center / contain no-repeat;
}

/* ---------- Icon cards ---------- */

.abf-icon-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.abf-icon-cards--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.abf-icon-card {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border: 1px solid rgba(13, 51, 63, 0.06);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 14px 36px -10px rgba(13, 51, 63, 0.06);
}

.abf-icon-card__tile {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--abf-ice);
}

.abf-icon-card__icon img {
	width: 28px;
	height: 28px;
}

.abf-icon-card__title {
	margin-top: 16px !important;
	color: var(--abf-ink);
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: -0.01em;
}

.abf-icon-card__text {
	margin-top: 16px !important;
	color: var(--abf-muted);
	font-size: 16px;
	line-height: 25px;
	letter-spacing: -0.01em;
}

/* ---------- First-Year FREE ---------- */

.abf-offer-hero {
	padding-block: 88px 96px;
	background: linear-gradient(180deg, #fff 0%, var(--abf-ice) 100%);
}

.abf-offer-hero > .abf-container {
	display: grid;
	grid-template-columns: minmax(0, 1004fr) minmax(0, 480fr);
	gap: 96px;
	align-items: center;
}

.abf-offer-hero__message {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.abf-offer-hero .abf-page-title {
	font-size: 56px;
	line-height: 62px;
}

.abf-offer-hero__price {
	color: var(--abf-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 27px;
}

.abf-offer-hero__actions {
	gap: 14px;
}

.abf-assurances {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.abf-assurances li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--abf-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 25px;
	letter-spacing: -0.01em;
}

.abf-assurances li::before {
	content: "";
	width: 20px;
	height: 20px;
	background: url("../icons/tick-mint.svg") center / contain no-repeat;
}

.abf-price-card {
	overflow: hidden;
	border-radius: 28px;
	background: var(--abf-teal);
	box-shadow: 0 32px 64px -16px rgba(13, 51, 63, 0.25);
	color: #fff;
}

.abf-price-card__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 36px 36px 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.abf-price-card__title-row {
	display: flex;
	align-items: center;
	gap: 14px;
}

.abf-price-card__icon img {
	width: 52px;
	height: 52px;
}

.abf-price-card__label {
	color: var(--abf-bright);
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.abf-price-card__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 16px;
	font-weight: 600;
	line-height: 25px;
}

.abf-price-card__price strong {
	color: #fff;
	font-size: 64px;
	font-weight: 800;
	line-height: 68px;
	letter-spacing: -0.02em;
}

.abf-price-card__price span:last-child {
	font-weight: 400;
}

.abf-price-card__who {
	color: rgba(255, 255, 255, 0.66);
	font-size: 14px;
	line-height: 21px;
}

.abf-price-card__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 28px 36px;
	list-style: none;
}

.abf-price-card__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	font-weight: 500;
	line-height: 25px;
	letter-spacing: -0.01em;
}

.abf-price-card__list li::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	background: url("../icons/tick.svg") center / contain no-repeat;
}

.abf-price-card__foot {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0 36px 36px;
	text-align: center;
}

.abf-price-card__actions,
.abf-price-card__actions .wp-block-button {
	width: 100%;
}

.abf-price-card__small {
	color: rgba(255, 255, 255, 0.56);
	font-size: 14px;
	line-height: 21px;
}

.abf-needs {
	padding-block: 96px;
}

.abf-needs > .abf-container {
	display: grid;
	grid-template-columns: minmax(0, 640fr) minmax(0, 844fr);
	gap: 96px;
	align-items: center;
}

.abf-needs__visual {
	padding: 40px;
	border-radius: 32px;
	background: var(--abf-ice);
}

.abf-checklist {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 28px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 20px 44px -12px rgba(13, 51, 63, 0.1);
}

.abf-checklist__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.abf-checklist__icon img {
	width: 44px;
	height: 44px;
}

.abf-checklist__title {
	flex: 1;
}

.abf-checklist__name {
	font-size: 16px;
	font-weight: 700;
	line-height: 25px;
}

.abf-checklist__sub,
.abf-checklist__row {
	color: var(--abf-muted);
	font-size: 14px;
	line-height: 21px;
	letter-spacing: -0.01em;
}

.abf-checklist__row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-weight: 600;
}

.abf-checklist__chip {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--abf-mint);
	color: #148c54;
	font-size: 12px;
	font-weight: 700;
	line-height: 21px;
}

.abf-checklist__track {
	display: block;
	height: 10px;
	border-radius: 5px;
	background: var(--abf-ice);
}

.abf-checklist__track span {
	display: block;
	height: 100%;
	border-radius: 5px;
	background: linear-gradient(90deg, var(--abf-green), var(--abf-bright));
}

.abf-needs__text .abf-intro,
.abf-needs__more {
	max-width: 680px;
}

.abf-needs__more {
	margin-top: 20px !important;
	color: var(--abf-muted);
	font-size: 18px;
	line-height: 28px;
	letter-spacing: -0.01em;
}

.abf-included {
	padding-block: 96px;
	background: var(--abf-ice);
}

.abf-included > .abf-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.abf-included__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 860px;
	text-align: center;
}

.abf-included__intro .abf-title {
	color: var(--abf-ink);
	font-size: 48px;
	font-weight: 800;
	line-height: 54px;
	letter-spacing: -0.01em;
}

.abf-included__intro .abf-intro {
	color: var(--abf-muted);
	font-size: 18px;
	line-height: 28px;
}

.abf-included__items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.abf-offer-item {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 33px;
	border: 1px solid rgba(13, 51, 63, 0.07);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 16px 40px -12px rgba(13, 51, 63, 0.06);
}

.abf-offer-item.is-dark {
	border: 0;
	background: var(--abf-teal);
	box-shadow: 0 16px 40px -12px rgba(13, 51, 63, 0.22);
}

.abf-offer-item__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.abf-offer-item__icon img {
	width: 56px;
	height: 56px;
}

.abf-offer-item__tag {
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--abf-mint);
	color: #148c54;
	font-size: 18px;
	font-weight: 800;
	line-height: 25px;
}

.is-dark .abf-offer-item__tag {
	background: var(--abf-green);
	color: #fff;
}

.abf-offer-item__title {
	color: var(--abf-ink);
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: -0.01em;
}

.abf-offer-item__text {
	color: var(--abf-muted);
	font-size: 16px;
	line-height: 25px;
	letter-spacing: -0.01em;
}

.is-dark .abf-offer-item__title {
	color: #fff;
}

.is-dark .abf-offer-item__text {
	color: rgba(255, 255, 255, 0.72);
}

.abf-included__pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.abf-qualify {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 33px;
	border: 1px solid rgba(13, 51, 63, 0.07);
	border-radius: 24px;
	background: #fff;
}

.abf-qualify.is-dark {
	border: 0;
	background: var(--abf-teal);
}

.abf-qualify__title {
	color: var(--abf-ink);
	font-size: 24px;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: -0.01em;
}

.abf-qualify__text {
	color: var(--abf-muted);
	font-size: 18px;
	line-height: 28px;
	letter-spacing: -0.01em;
}

.abf-qualify.is-dark .abf-qualify__title {
	color: #fff;
}

.abf-qualify.is-dark .abf-qualify__text {
	color: rgba(255, 255, 255, 0.75);
	font-size: 16px;
	line-height: 25px;
}

.abf-included__terms {
	max-width: 980px;
	color: var(--abf-muted);
	font-size: 14px;
	line-height: 21px;
	text-align: center;
}

.abf-why {
	padding-block: 96px;
	background: var(--abf-ice);
}

.abf-why > .abf-container {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.abf-why .abf-heading {
	max-width: 760px;
	gap: 16px;
}

/* ---------- Tablet ---------- */

@media (max-width: 1199px) {
	.abf-page-title,
	.abf-offer-hero .abf-page-title {
		font-size: 46px;
		line-height: 52px;
	}

	.abf-packages,
	.abf-included__items,
	.abf-icon-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.abf-audience__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.abf-offer-hero > .abf-container,
	.abf-needs > .abf-container {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.abf-price-card {
		max-width: 560px;
	}

	.abf-mid-cta .abf-container {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
		padding-block: 64px;
	}

	.abf-mid-cta__actions {
		align-items: flex-start;
	}

	.abf-included__intro .abf-title {
		font-size: 40px;
		line-height: 46px;
	}
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
	.abf-pricing,
	.abf-offer-hero {
		padding-block: 56px 64px;
	}

	.abf-page-title,
	.abf-offer-hero .abf-page-title {
		font-size: 34px;
		line-height: 40px;
	}

	.abf-page-title br {
		display: none;
	}

	.abf-page-lead {
		font-size: 16px;
		line-height: 26px;
	}

	.abf-packages,
	.abf-included__items,
	.abf-icon-cards,
	.abf-audience__cards,
	.abf-included__pair {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.abf-package__top,
	.abf-package__details {
		padding-inline: 24px;
	}

	.abf-package__price {
		font-size: 44px;
		line-height: 48px;
	}

	.abf-mid-cta__title {
		font-size: 30px;
		line-height: 36px;
	}

	.abf-strip > .abf-container {
		flex-direction: column;
		gap: 12px;
	}

	.abf-strip__item {
		font-size: 15px;
	}

	.abf-offer-hero__actions .wp-block-button,
	.abf-offer-hero__actions .wp-block-button__link {
		width: 100%;
	}

	.abf-price-card__head,
	.abf-price-card__list {
		padding-inline: 24px;
	}

	.abf-price-card__foot {
		padding: 0 24px 28px;
	}

	.abf-price-card__price strong {
		font-size: 52px;
		line-height: 56px;
	}

	.abf-needs__visual {
		padding: 16px;
		border-radius: 24px;
	}

	.abf-checklist {
		padding: 20px;
	}

	.abf-checklist__head {
		flex-wrap: wrap;
	}

	.abf-included__intro .abf-title {
		font-size: 32px;
		line-height: 38px;
	}

	.abf-offer-item,
	.abf-qualify,
	.abf-icon-card {
		padding: 24px;
	}

	/* Timeline: spine on the left, every card to its right. */
	.abf-timeline::before {
		left: 22px;
		top: 30px;
		bottom: 60px;
	}

	.abf-timeline__step,
	.abf-timeline__step.is-right {
		justify-content: flex-start;
		min-height: 0;
		padding: 0 0 20px 60px;
	}

	.abf-timeline__node {
		left: 0;
		top: 16px;
		margin-left: 0;
	}

	.abf-timeline__card,
	.is-right .abf-timeline__card {
		width: 100%;
		border-left: 3px solid var(--abf-green);
		border-right: 0;
	}
}

/* ---------- About ---------- */

.abf-about-hero {
	padding-block: 104px 96px;
	background: var(--abf-ice);
	text-align: center;
}

.abf-about-hero > .abf-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.abf-about-hero .abf-eyebrow {
	margin-bottom: 48px !important;
}

.abf-about-hero .abf-page-lead {
	max-width: 820px;
	margin-top: 48px !important;
}

.abf-who {
	padding-block: 96px;
}

.abf-who > .abf-container {
	display: grid;
	grid-template-columns: minmax(0, 680fr) minmax(0, 804fr);
	gap: 96px;
	align-items: center;
}

.abf-who__photo img {
	width: 100%;
	aspect-ratio: 680 / 560;
	object-fit: cover;
	border-radius: 28px;
}

.abf-who .abf-intro,
.abf-who__note {
	color: var(--abf-muted);
}

.abf-who__note {
	margin-top: 20px !important;
	font-size: 16px;
	line-height: 25px;
	letter-spacing: -0.01em;
}

.abf-values {
	padding-block: 96px;
	background: var(--abf-teal);
}

.abf-values > .abf-container {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.abf-values .abf-heading {
	gap: 16px;
}

.abf-values .abf-title {
	color: #fff;
}

.abf-values__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.abf-value {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.06);
}

.abf-value__icon img {
	width: 60px;
	height: 60px;
}

.abf-value__title {
	margin-top: 16px !important;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: -0.01em;
}

.abf-value__text {
	color: rgba(255, 255, 255, 0.72);
	font-size: 16px;
	line-height: 25px;
	letter-spacing: -0.01em;
}

/* ---------- Contact ---------- */

.abf-contact {
	padding-block: 88px 96px;
	background: var(--abf-ice);
}

.abf-contact > .abf-container {
	display: grid;
	grid-template-columns: minmax(0, 724fr) minmax(0, 760fr);
	gap: 96px;
	align-items: start;
}

.abf-contact__details {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.abf-contact .abf-page-title {
	font-size: 56px;
	line-height: 62px;
}

.abf-contact .abf-eyebrow {
	margin-bottom: -10px !important;
}

.abf-contact-details {
	overflow: hidden;
	border: 1px solid rgba(13, 51, 63, 0.06);
	border-radius: 24px;
	background: #fff;
}

.abf-contact-detail {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px 28px;
}

.abf-contact-detail + .abf-contact-detail {
	border-top: 1px solid rgba(13, 51, 63, 0.06);
}

.abf-contact-detail__icon {
	flex: none;
}

.abf-contact-detail__icon img {
	width: 52px;
	height: 52px;
}

.abf-contact-detail__copy {
	min-width: 0;
	overflow-wrap: anywhere;
}

.abf-contact-detail__label {
	color: var(--abf-green);
	font-size: 14px;
	font-weight: 700;
	line-height: 21px;
}

.abf-contact-detail__value {
	margin-top: 2px !important;
	color: var(--abf-ink);
	font-size: 18px;
	font-weight: 600;
	line-height: 28px;
	letter-spacing: -0.01em;
	overflow-wrap: anywhere;
}

.abf-contact-detail__value a {
	color: inherit;
}

.abf-callback-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 44px;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 24px 56px -16px rgba(13, 51, 63, 0.12);
}

.abf-callback-form__title {
	color: var(--abf-ink);
	font-size: 28px;
	font-weight: 700;
	line-height: 34px;
	letter-spacing: -0.01em;
}

.abf-callback-form__sub {
	margin-top: -6px !important;
	color: var(--abf-muted);
	font-size: 16px;
	line-height: 25px;
}

.abf-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.abf-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 16px;
}

.abf-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.abf-form__field--wide {
	grid-column: 1 / -1;
}

.abf-form__field label {
	color: var(--abf-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 21px;
}

.abf-form__control {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 18px;
	border: 1px solid rgba(13, 51, 63, 0.1);
	border-radius: 12px;
	background: var(--abf-ice);
	transition: border-color var(--abf-transition), box-shadow var(--abf-transition);
}

.abf-form__control:focus-within {
	border-color: var(--abf-green);
	box-shadow: 0 0 0 3px rgba(3, 168, 78, 0.15);
}

.abf-form__control input,
.abf-form__control textarea {
	flex: 1;
	min-width: 0;
	padding: 15px 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--abf-ink);
	font: inherit;
	font-size: 16px;
	line-height: 25px;
}

.abf-form__control textarea {
	min-height: 88px;
	resize: vertical;
}

.abf-form__control ::placeholder {
	color: #94a3b8;
	opacity: 1;
}

.abf-form__prefix {
	padding-right: 10px;
	border-right: 1px solid rgba(13, 51, 63, 0.12);
	color: var(--abf-ink);
	font-weight: 600;
}

.abf-form__consent {
	color: var(--abf-muted);
	font-size: 14px;
	line-height: 21px;
}

.abf-form__submit {
	width: 100%;
	padding: 18px;
	border: 0;
	border-radius: 12px;
	background: var(--abf-green);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 25px;
	transition: background-color var(--abf-transition);
}

.abf-form__submit:hover {
	background: var(--abf-green-dark);
}

.abf-form__notice {
	padding: 12px 16px;
	border-radius: 10px;
	background: #fdecea;
	color: #8a1c13;
	font-size: 14px;
}

.abf-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Status pages (404, Thank You) ---------- */

/* Figma "Client Review": a 1080px photo band between the header and the footer (desktop); on tablet and
   mobile the band is as tall as its content. Four glass circles sit on the right; the 404 page adds a faint "404". */
.wp-block-cover.abf-status {
	min-height: 1080px !important;
	padding: 0;
	overflow: hidden;
	align-items: center;
}

.abf-status > .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(90deg, rgba(13, 51, 63, 0.96) 0%, rgba(13, 51, 63, 0.86) 60%, rgba(3, 168, 78, 0.78) 100%);
}

/* Static so the circles drawn on it are placed against the band, not the content box. */
.abf-status > .wp-block-cover__inner-container {
	position: static;
	width: 100%;
}

.abf-status::before,
.abf-status::after,
.abf-status > .wp-block-cover__inner-container::before,
.abf-status > .wp-block-cover__inner-container::after {
	content: "";
	position: absolute;
	z-index: 1;
	box-sizing: border-box;
	width: var(--abf-c);
	height: var(--abf-c);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.07);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	pointer-events: none;
}

/* Desktop positions: Figma x relative to the 1920 frame centre, y relative to the band. */
.abf-status::before { --abf-c: 680px; left: calc(50% + 140px); top: 110px; }
.abf-status::after { --abf-c: 340px; left: calc(50% + 490px); top: 90px; }
.abf-status > .wp-block-cover__inner-container::before { --abf-c: 420px; left: calc(50% + 200px); top: 560px; }
.abf-status > .wp-block-cover__inner-container::after { --abf-c: 300px; left: calc(50% + 550px); top: 520px; }

.abf-status--404 .abf-status__content::after {
	content: "404";
	position: absolute;
	z-index: -1;
	left: calc(50% + 170px);
	top: 50%;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 0.14);
	font-size: 300px;
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 1;
	pointer-events: none;
}

.abf-status__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-block: 96px;
}

.abf-status__content > * {
	max-width: 820px;
}

.abf-status__kicker {
	color: var(--abf-bright);
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.abf-status__title {
	color: #fff;
	font-size: 76px;
	font-weight: 800;
	line-height: 82px;
	letter-spacing: -0.02em;
}

.abf-status__text {
	color: rgba(255, 255, 255, 0.78);
	font-size: 20px;
	line-height: 32px;
	letter-spacing: -0.01em;
}

.abf-status__actions {
	gap: 14px;
}

.abf-status__actions .abf-button--ghost .wp-block-button__link {
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

/* ---------- Tablet / mobile: About, Contact, status ---------- */

@media (max-width: 1199px) {
	.abf-who > .abf-container,
	.abf-contact > .abf-container {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.abf-values__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.abf-contact .abf-page-title {
		font-size: 46px;
		line-height: 52px;
	}

	/* Figma Tablet (768): band = content + 96px top and bottom; positions relative to the frame centre (384). */
	.wp-block-cover.abf-status {
		min-height: 0 !important;
	}

	.abf-status__content {
		padding-block: 96px;
	}

	.abf-status::before { --abf-c: 408px; left: calc(50% + 56px); top: 101px; }
	.abf-status::after { --abf-c: 204px; left: calc(50% + 196px); top: 91px; }
	.abf-status > .wp-block-cover__inner-container::before { --abf-c: 252px; left: calc(50% + 80px); top: 326px; }
	.abf-status > .wp-block-cover__inner-container::after { --abf-c: 180px; left: calc(50% + 220px); top: 306px; }

	.abf-status--404 .abf-status__content::after {
		left: calc(50% + 68px);
		top: 211px;
		transform: none;
		font-size: 96px;
	}

	.abf-status__title {
		font-size: 44px;
		line-height: 47px;
	}

	.abf-status__text {
		font-size: 20px;
		line-height: 32px;
	}
}

@media (max-width: 767px) {
	.abf-about-hero {
		padding-block: 56px;
	}

	.abf-about-hero .abf-eyebrow {
		margin-bottom: 20px !important;
	}

	.abf-about-hero .abf-page-lead {
		margin-top: 20px !important;
	}

	.abf-values__list {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.abf-value {
		padding: 24px;
	}

	.abf-contact {
		padding-block: 56px 64px;
	}

	.abf-contact .abf-page-title {
		font-size: 34px;
		line-height: 40px;
	}

	.abf-contact-detail {
		padding: 18px 20px;
	}

	.abf-callback-form {
		padding: 24px 20px;
	}

	.abf-form__grid {
		grid-template-columns: 1fr;
	}

	/* Figma Mobile (390): 72px top and bottom, buttons stacked full width; positions relative to the centre (195). */
	.abf-status__content {
		padding-block: 72px;
	}

	.abf-status::before { --abf-c: 272px; left: calc(50% + 28px); top: 101px; }
	.abf-status::after { --abf-c: 136px; left: calc(50% + 100px); top: 91px; }
	.abf-status > .wp-block-cover__inner-container::before { --abf-c: 168px; left: calc(50% + 41px); top: 326px; }
	.abf-status > .wp-block-cover__inner-container::after { --abf-c: 120px; left: calc(50% + 112px); top: 306px; }

	.abf-status--404 .abf-status__content::after {
		left: calc(50% + 35px);
		font-size: 72px;
	}

	.abf-status__title {
		font-size: 34px;
		line-height: 37px;
	}

	.abf-status__text {
		font-size: 16px;
		line-height: 26px;
	}

	.abf-status__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 15px;
	}

	.abf-status__actions .wp-block-button,
	.abf-status__actions .wp-block-button__link {
		width: 100%;
	}
}

/* ---------- Service / audience landing: page-specific feature section ---------- */

.abf-feature-section {
	padding-block: 96px;
	background: var(--abf-ice);
	overflow: hidden;
}

.abf-feature-section.is-dark {
	background: var(--abf-teal);
}

.abf-feature-section.is-dark::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -360px;
	width: 900px;
	height: 620px;
	margin-left: -450px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(3, 168, 78, 0.55), rgba(3, 168, 78, 0));
	pointer-events: none;
}

.abf-feature-section > .abf-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.abf-feature-section .abf-heading {
	max-width: 900px;
	gap: 16px;
}

.abf-feature-section .abf-title {
	font-size: 40px;
	line-height: 48px;
}

.abf-feature-section .abf-intro {
	font-size: 17px;
	line-height: 27px;
}

.abf-tick-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.abf-tick-list li {
	position: relative;
	padding-left: 30px;
	font-size: 15px;
	line-height: 23px;
	letter-spacing: -0.01em;
}

.abf-tick-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #27c67a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.abf-tick-list--points li strong {
	display: block;
	font-weight: 700;
}

.is-dark .abf-tick-list li {
	color: rgba(255, 255, 255, 0.72);
}

.is-dark .abf-tick-list strong {
	color: #fff;
}

/* Tree: one root card with dashed branches to the cards below. */
.abf-tree {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.abf-tree__root {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 22px;
	border-radius: 16px;
	background: var(--abf-teal);
	box-shadow: 0 18px 40px -12px rgba(13, 51, 63, 0.3);
	color: #fff;
}

.is-dark .abf-tree__root {
	background: #fff;
	color: var(--abf-ink);
}

.abf-tree__root-icon img {
	width: 40px;
	height: 40px;
}

.abf-tree__root-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}

.abf-tree__root-sub {
	opacity: 0.7;
	font-size: 13px;
	line-height: 19px;
}

.abf-tree__leaves {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	width: min(900px, 100%);
	margin-top: 64px;
}

.abf-tree--wide .abf-tree__leaves {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
	max-width: 1180px;
}

/* Dashed connectors: one line down from the root, a rail, one drop per card. */
.abf-tree__leaves::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -64px;
	height: 32px;
	border-left: 1.5px dashed rgba(3, 168, 78, 0.6);
}

.abf-tree__leaves::after {
	content: "";
	position: absolute;
	left: calc(25% - 6px);
	right: calc(25% - 6px);
	top: -32px;
	border-top: 1.5px dashed rgba(3, 168, 78, 0.6);
}

.abf-tree--wide .abf-tree__leaves::after {
	left: 12.5%;
	right: 12.5%;
}

.abf-tree__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	border: 1px solid rgba(13, 51, 63, 0.06);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 32px -12px rgba(13, 51, 63, 0.1);
}

.abf-tree__card::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -33px;
	height: 32px;
	border-left: 1.5px dashed rgba(3, 168, 78, 0.6);
}

.is-dark .abf-tree__card {
	padding: 28px;
	border-color: rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.07);
	box-shadow: none;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.abf-tree__card-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 6px;
}

.abf-tree__icon img {
	width: 44px;
	height: 44px;
}

.abf-tree__kicker {
	color: var(--abf-bright);
	font-size: 12px;
	font-weight: 600;
	line-height: 17px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.abf-tree__title {
	color: var(--abf-ink);
	font-size: 17px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: -0.01em;
}

.is-dark .abf-tree__title {
	color: #fff;
	font-size: 20px;
	line-height: 27px;
}

.abf-tree__text {
	color: var(--abf-muted);
	font-size: 14px;
	line-height: 21px;
}

/* Cards: icon, title, text (optionally numbered). */
.abf-feature-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	max-width: 1180px;
}

.abf-feature-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	border: 1px solid rgba(13, 51, 63, 0.06);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 14px 32px -12px rgba(13, 51, 63, 0.08);
}

.abf-feature-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.abf-feature-card__icon img {
	width: 44px;
	height: 44px;
}

.abf-feature-card__num {
	color: rgba(3, 168, 78, 0.22);
	font-size: 34px;
	font-weight: 800;
	line-height: 40px;
}

.abf-feature-card__title {
	color: var(--abf-ink);
	font-size: 19px;
	font-weight: 700;
	line-height: 26px;
	letter-spacing: -0.01em;
}

.abf-feature-card__text {
	color: var(--abf-muted);
	font-size: 15px;
	line-height: 23px;
	letter-spacing: -0.01em;
}

/* Lanes / columns: glass cards with a header and a tick list. */
.abf-lanes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	max-width: 1180px;
}

.abf-lanes--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: none;
}

.abf-lane {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 30px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.07);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.abf-lane__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.abf-lanes--3 .abf-lane__head {
	flex-direction: column;
	align-items: flex-start;
	padding-bottom: 0;
	border: 0;
}

.abf-lane__icon img {
	width: 48px;
	height: 48px;
}

.abf-lane__kicker {
	color: var(--abf-bright);
	font-size: 12px;
	font-weight: 600;
	line-height: 17px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.abf-lane__title {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 27px;
	letter-spacing: -0.01em;
}

.abf-lane__text {
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
	line-height: 23px;
}

/* Route: numbered nodes on a line, with a card under each. */
.abf-route {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	max-width: 1180px;
	padding-top: 44px;
}

.abf-route::before {
	content: "";
	position: absolute;
	left: 12.5%;
	right: 12.5%;
	top: 13px;
	height: 2px;
	background: linear-gradient(90deg, var(--abf-green), var(--abf-bright));
}

.abf-route__step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	border: 1px solid rgba(13, 51, 63, 0.06);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 32px -12px rgba(13, 51, 63, 0.08);
}

.is-dark .abf-route__step {
	border-color: rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.07);
	box-shadow: none;
}

.abf-route__num {
	position: absolute;
	left: 50%;
	top: -46px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: -14px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--abf-green);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	box-sizing: border-box;
}

.is-dark .abf-route__num {
	border-color: var(--abf-teal);
}

.abf-route__title {
	color: var(--abf-ink);
	font-size: 17px;
	font-weight: 700;
	line-height: 24px;
}

.abf-route__text {
	color: var(--abf-muted);
	font-size: 14px;
	line-height: 21px;
}

.is-dark .abf-route__title {
	color: #fff;
}

.is-dark .abf-route__text {
	color: rgba(255, 255, 255, 0.68);
}

.abf-route__note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
}

.abf-route__note::before {
	content: "↻";
	color: var(--abf-bright);
}

/* Checklist grid + CTA bar (Self Assessment). */
.abf-check-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 20px;
	width: 100%;
	max-width: 1180px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.abf-check-grid li {
	position: relative;
	padding: 18px 20px 18px 52px;
	border-radius: 14px;
	background: #fff;
	color: var(--abf-muted);
	font-size: 14px;
	line-height: 21px;
}

.abf-check-grid li::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 20px;
	width: 18px;
	height: 18px;
	background: url("../icons/tick-mint.svg") center / contain no-repeat;
}

.abf-check-grid strong {
	display: block;
	margin-bottom: 2px;
	color: var(--abf-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 22px;
}

.abf-check-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	width: 100%;
	max-width: 1180px;
	margin-top: -16px;
	padding: 24px 28px;
	border-radius: 18px;
	background: var(--abf-teal);
	color: #fff;
}

.abf-check-cta__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
}

.abf-check-cta__text {
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 21px;
}

.abf-check-cta__actions {
	flex: none;
	gap: 12px;
}

.abf-check-cta__actions .wp-block-button__link {
	border-radius: 12px;
	padding: 13px 22px;
}

.abf-check-cta__actions .abf-button--ghost .wp-block-button__link {
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.04);
}

/* Price card for quote-only services. */
.abf-price-card__price.is-quote-legacy strong {
	font-size: 40px;
	line-height: 48px;
}

@media (max-width: 1199px) {
	.abf-tree--wide .abf-tree__leaves,
	.abf-route {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.abf-tree--wide .abf-tree__leaves::after,
	.abf-tree--wide .abf-tree__card::before,
	.abf-route::before {
		display: none;
	}

	.abf-route {
		row-gap: 56px;
	}

	.abf-lanes--3,
	.abf-feature-cards {
		grid-template-columns: 1fr 1fr;
	}

	.abf-check-cta {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	.abf-feature-section {
		padding-block: 64px;
	}

	.abf-feature-section .abf-title {
		font-size: 30px;
		line-height: 36px;
	}

	.abf-tree__leaves,
	.abf-tree--wide .abf-tree__leaves,
	.abf-lanes,
	.abf-lanes--3,
	.abf-feature-cards,
	.abf-check-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.abf-tree__leaves {
		margin-top: 40px;
	}

	.abf-tree__leaves::before {
		top: -40px;
		height: 40px;
	}

	.abf-tree__leaves::after,
	.abf-tree__card::before {
		display: none;
	}

	.abf-route {
		grid-template-columns: 1fr;
		row-gap: 52px;
	}

	.abf-lane,
	.abf-feature-card {
		padding: 22px;
	}

	.abf-check-cta__actions .wp-block-button,
	.abf-check-cta__actions .wp-block-button__link {
		width: 100%;
	}
}

/* Long button labels (e.g. "File your Confirmation Statement – £75") must wrap on phones. */
@media (max-width: 1199px) {
	.abf-offer-hero > .abf-container,
	.abf-needs > .abf-container {
		grid-template-columns: minmax(0, 1fr);
	}
}

.abf-offer-hero__actions .wp-block-button__link,
.abf-price-card__actions .wp-block-button__link {
	white-space: normal;
	text-align: center;
}

.abf-feature-section .abf-heading {
	max-width: 1100px;
}

/* "Three habits" (Sole traders, Charities & CICs, Partnerships): one-line 48 px title over a
   760 px intro, as in Figma. */
@media (min-width: 1440px) {
	.abf-feature-section--numbered .abf-heading {
		max-width: none;
	}

	.abf-feature-section--numbered .abf-title {
		font-size: 48px;
		line-height: 54px;
	}

	.abf-feature-section--numbered .abf-intro {
		max-width: 760px;
	}
}

/* ---------- How it works timeline, tablet + mobile (Figma "Section / Service / How It Works") ----------
   Number pill (44x29) on the left, the card fills the rest; no spine. Odd cards have the green edge on the right,
   even cards on the left. */
@media (max-width: 1199px) {
	.abf-steps > .abf-container {
		gap: 32px;
	}

	.abf-steps .abf-title {
		font-size: 36px;
		line-height: 41px;
	}

	.abf-timeline {
		gap: 14px;
		width: 100%;
	}

	.abf-timeline::before {
		display: none;
	}

	.abf-timeline__step,
	.abf-timeline__step.is-right {
		align-items: center;
		justify-content: flex-start;
		gap: 16px;
		min-height: 0;
		padding: 0;
	}

	.abf-timeline__node {
		position: static;
		flex: none;
		width: 44px;
		height: 29px;
		margin: 0;
		border: 0;
		border-radius: 22px;
		font-size: 13px;
		line-height: 1;
	}

	.abf-timeline__step:last-child .abf-timeline__node {
		height: 26px;
		background-size: 13px;
	}

	.abf-timeline__card,
	.is-right .abf-timeline__card {
		flex: 1;
		width: auto;
		align-self: stretch;
	}

	.is-left .abf-timeline__card {
		border-left: 0;
		border-right: 3px solid var(--abf-green);
	}

	.is-right .abf-timeline__card {
		border-left: 3px solid var(--abf-green);
		border-right: 0;
	}
}

@media (max-width: 767px) {
	.abf-steps > .abf-container {
		gap: 24px;
	}

	.abf-steps .abf-title {
		font-size: 30px;
		line-height: 34px;
	}

	.abf-timeline__step,
	.abf-timeline__step.is-right {
		gap: 12px;
	}
}

/* Mid-page CTA "Contact us": label + arrow, 178x61 (Figma "Button / Contact us"). */
.abf-mid-cta__buttons .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 18px 28px 18px 32px;
	font-size: 17px;
	line-height: 25px;
}

.abf-mid-cta__buttons .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--abf-mask-arrow) center / contain no-repeat;
	mask: var(--abf-mask-arrow) center / contain no-repeat;
}

/* Mid-page CTA, tablet + mobile (Figma "Section / Shared / Mid-page CTA / Tablet|Mobile"). */
@media (max-width: 1199px) {
	.wp-block-cover.abf-mid-cta {
		min-height: 0;
	}

	.abf-mid-cta .abf-container {
		gap: 24px;
		padding-block: 64px;
	}

	.abf-mid-cta__title {
		font-size: 30px;
		line-height: 35px;
	}

	.abf-mid-cta__text {
		font-size: 18px;
		line-height: 28px;
	}
}

@media (max-width: 767px) {
	.abf-mid-cta .abf-container {
		padding-block: 48px;
	}

	.abf-mid-cta__title {
		font-size: 26px;
		line-height: 30px;
	}

	.abf-mid-cta__text {
		font-size: 16px;
		line-height: 25px;
	}
}

/* Price card ticks: solid green circle (Figma "icon/tick" #27C67A), all widths. */
.abf-price-card__list li::before {
	background-image: url("../icons/tick-green.svg");
}

/* ---------- Service / audience hero, tablet + mobile (Figma "Section / Service / Hero + Price Card") ---------- */
@media (max-width: 1199px) {
	.abf-offer-hero > .abf-container {
		gap: 32px;
		align-items: start;
	}

	.abf-page-title,
	.abf-offer-hero .abf-page-title {
		font-size: 44px;
		line-height: 49px;
	}

	.abf-offer-hero .abf-page-lead {
		font-size: 18px;
		line-height: 28px;
	}

	.abf-offer-hero__actions {
		gap: 12px;
	}

	.abf-offer-hero__actions .wp-block-button__link {
		min-height: 52px;
	}

	.abf-assurances {
		gap: 8px 24px;
		padding-top: 8px;
	}

	.abf-assurances li {
		gap: 8px;
	}

	.abf-price-card {
		width: 100%;
		max-width: 560px;
	}

	.abf-price-card__price strong {
		font-size: 44px;
		line-height: 47px;
	}
}

@media (max-width: 767px) {
	.abf-offer-hero {
		padding-block: 88px 96px;
	}

	.abf-offer-hero > .abf-container {
		gap: 20px;
	}

	.abf-page-title,
	.abf-offer-hero .abf-page-title {
		font-size: 34px;
		line-height: 38px;
	}

	.abf-offer-hero .abf-page-title br {
		display: inline;
	}

	.abf-offer-hero__price {
		font-size: 16px;
		line-height: 22px;
	}

	.abf-offer-hero .abf-page-lead {
		font-size: 16px;
		line-height: 25px;
	}

	/* Buttons stack at their own width (224px), not full width. */
	.abf-offer-hero__actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.abf-offer-hero__actions .wp-block-button,
	.abf-offer-hero__actions .wp-block-button__link {
		width: 224px;
		max-width: 100%;
	}

	.abf-offer-hero__actions .wp-block-button__link {
		min-height: 59px;
	}

	.abf-assurances {
		flex-direction: column;
		gap: 20px;
	}

	.abf-assurances li {
		gap: 10px;
	}

	.abf-price-card {
		max-width: none;
	}

	.abf-price-card__head,
	.abf-price-card__list {
		padding-inline: 36px;
	}

	.abf-price-card__foot {
		padding: 0 36px 36px;
	}

	.abf-price-card__price strong {
		font-size: 34px;
		line-height: 36px;
	}
}

/* Card button spans the card (Figma "Button / Choose plan", 100% width). */
.abf-price-card__actions .wp-block-button__link {
	width: 100%;
	justify-content: center;
}

@media (max-width: 767px) {
	.abf-offer-hero__actions .wp-block-button__link {
		justify-content: center;
		padding-inline: 24px;
		white-space: nowrap;
	}
}

/* ---------- Service / audience sections, tablet + mobile (Figma pages 01.2 / 01.3) ---------- */
@media (max-width: 1199px) {
	.abf-heading {
		gap: 16px;
	}

	.abf-heading .abf-title,
	.abf-heading--caps .abf-title,
	.abf-feature-section .abf-title,
	.abf-included__intro .abf-title {
		font-size: 36px;
		line-height: 41px;
	}

	.abf-heading .abf-intro,
	.abf-feature-section .abf-intro {
		font-size: 18px;
		line-height: 28px;
	}

	/* What is it: copy first, then the visual (640px wide, centred). */
	.abf-needs > .abf-container {
		display: flex;
		flex-direction: column;
		gap: 28px;
	}

	.abf-needs__text {
		order: 1;
	}

	.abf-needs__visual {
		order: 2;
		align-self: center;
		width: min(640px, 100%);
		box-sizing: border-box;
	}

	.abf-needs__text .abf-intro,
	.abf-needs__more {
		max-width: none;
	}

	/* What is included: 2 columns of icon cards. */
	.abf-why > .abf-container,
	.abf-feature-section > .abf-container,
	.abf-audience > .abf-container {
		gap: 32px;
	}

	.abf-why .abf-heading {
		max-width: none;
	}

	.abf-icon-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.abf-icon-card__title {
		font-size: 20px;
		line-height: 25px;
	}

	/* Tree (two routes): source card full width, route cards stacked, no connectors. */
	.abf-tree:not(.abf-tree--wide) .abf-tree__root {
		box-sizing: border-box;
		width: 100%;
		gap: 16px;
		padding: 22px 28px;
		border-radius: 20px;
	}

	.abf-tree__root-icon img {
		width: 48px;
		height: 48px;
	}

	.abf-tree__root-title {
		font-size: 18px;
		line-height: 25px;
	}

	.abf-tree__root-sub {
		font-size: 14px;
		line-height: 21px;
	}

	.abf-tree:not(.abf-tree--wide) .abf-tree__leaves {
		grid-template-columns: 1fr;
		gap: 20px;
		width: 100%;
		margin-top: 20px;
	}

	.abf-tree:not(.abf-tree--wide) .abf-tree__leaves::before,
	.abf-tree:not(.abf-tree--wide) .abf-tree__leaves::after,
	.abf-tree:not(.abf-tree--wide) .abf-tree__card::before {
		display: none;
	}

	.is-dark .abf-tree__card {
		gap: 18px;
		padding: 32px;
		border-radius: 24px;
	}
}

@media (max-width: 767px) {
	.abf-heading .abf-title,
	.abf-heading--caps .abf-title,
	.abf-feature-section .abf-title,
	.abf-included__intro .abf-title {
		font-size: 30px;
		line-height: 34px;
	}

	.abf-heading .abf-intro,
	.abf-feature-section .abf-intro {
		font-size: 16px;
		line-height: 25px;
	}

	.abf-needs,
	.abf-why,
	.abf-feature-section,
	.abf-audience {
		padding-block: 96px;
	}

	.abf-needs > .abf-container {
		gap: 20px;
	}

	.abf-needs__visual {
		width: 100%;
		padding: 16px 0;
		border-radius: 32px;
	}

	.abf-checklist {
		padding: 28px 16px;
	}

	.abf-why > .abf-container,
	.abf-feature-section > .abf-container,
	.abf-audience > .abf-container {
		gap: 24px;
	}

	.abf-icon-cards {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.abf-tree:not(.abf-tree--wide) .abf-tree__root {
		flex-direction: column;
		align-items: flex-start;
	}

	.abf-tree__root-icon img {
		width: 43px;
		height: 43px;
	}

	.abf-tree__root-title {
		font-size: 16px;
		line-height: 22px;
	}

	.abf-tree:not(.abf-tree--wide) .abf-tree__leaves {
		gap: 18px;
		margin-top: 18px;
	}
}

@media (max-width: 767px) {
	.abf-icon-card {
		padding: 32px;
	}

	.abf-tree:not(.abf-tree--wide) .abf-tree__card-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
}

/* Tree route cards (dark): head, divider, then the points 18px apart (Figma "Route / ..."). */
@media (max-width: 1199px) {
	.is-dark .abf-tree__card-head {
		margin-bottom: 0;
		padding-bottom: 18px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.is-dark .abf-tree__icon img {
		width: 42px;
		height: 42px;
	}

	.is-dark .abf-tree__card .abf-tick-list {
		gap: 18px;
	}

	.is-dark .abf-tree__card .abf-tick-list li {
		font-size: 15px;
		font-weight: 500;
		line-height: 25px;
	}
}

/* Feature cards variant, tablet + mobile (Figma "Card / ..." 32px padding, 56px icon, 20/25 title, 16/25 text). */
@media (max-width: 1199px) {
	.abf-feature-cards {
		gap: 16px;
	}

	.abf-feature-card {
		padding: 32px;
		border-radius: 24px;
	}

	.abf-feature-card__icon img {
		width: 56px;
		height: 56px;
	}

	.abf-feature-card__title {
		font-size: 20px;
		line-height: 25px;
	}

	.abf-feature-card__text {
		font-size: 16px;
		line-height: 25px;
	}
}

@media (max-width: 767px) {
	.abf-feature-cards {
		gap: 20px;
	}

	.abf-feature-card__title {
		font-size: 19px;
		line-height: 24px;
	}
}

/* ---------- Self Assessment checklist, tablet + mobile (Figma "Who Needs To File") ---------- */
@media (max-width: 1199px) {
	.abf-feature-section--checklist > .abf-container {
		gap: 40px;
	}

	.abf-check-grid {
		gap: 16px;
	}

	.abf-check-grid li {
		padding: 20px 24px 20px 63px;
		border-radius: 18px;
		font-size: 14px;
		line-height: 21px;
	}

	.abf-check-grid li::before {
		left: 25px;
		top: 23px;
		width: 22px;
		height: 22px;
	}

	.abf-check-grid strong {
		margin-bottom: 4px;
		font-size: 17px;
		line-height: 25px;
	}

	.abf-check-cta {
		flex-direction: row;
		align-items: center;
		gap: 24px;
		margin-top: 0;
		padding: 24px 32px;
		border-radius: 20px;
	}

	.abf-check-cta__copy {
		flex: 1;
	}

	.abf-check-cta__title {
		font-size: 19px;
		line-height: 25px;
	}

	.abf-check-cta__actions {
		gap: 24px;
	}

	.abf-check-cta__actions .wp-block-button__link {
		padding: 15px 24px;
	}
}

@media (max-width: 767px) {
	.abf-check-grid {
		grid-template-columns: 1fr;
	}

	.abf-check-cta {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}

	.abf-check-cta__actions {
		flex-direction: column;
		gap: 20px;
	}
}

/* ---------- Wide tree (Bookkeeping, Tax planning), tablet + mobile ----------
   Dark source card full width, the four cards stacked at full width. */
@media (max-width: 1199px) {
	.abf-tree--wide .abf-tree__root {
		box-sizing: border-box;
		width: 100%;
		gap: 16px;
		padding: 22px 28px;
		border-radius: 20px;
	}

	.abf-tree--wide .abf-tree__leaves {
		grid-template-columns: 1fr;
		gap: 20px;
		max-width: none;
		margin-top: 20px;
	}

	.abf-tree--wide .abf-tree__leaves::before {
		display: none;
	}

	.abf-tree--wide .abf-tree__card {
		gap: 8px;
		padding: 24px;
		border-radius: 20px;
	}

	.abf-tree--wide .abf-tree__title {
		font-size: 17px;
		line-height: 25px;
	}

	.abf-tree--wide .abf-tree__text {
		font-size: 14px;
		line-height: 21px;
	}
}

@media (max-width: 767px) {
	.abf-tree--wide .abf-tree__root {
		flex-direction: column;
		align-items: flex-start;
	}

	.abf-tree--wide .abf-tree__leaves {
		gap: 18px;
		margin-top: 18px;
	}
}

/* ---------- Route (VAT cycle, Freelancers, Landlords), tablet + mobile ----------
   Figma "Track": number pill on the left (44x29), card to its right; no rail. */
@media (max-width: 1199px) {
	.abf-route {
		display: flex;
		flex-direction: column;
		gap: 14px;
		padding-top: 0;
	}

	.abf-route::before {
		display: none;
	}

	.abf-route__step {
		gap: 10px;
		min-height: 143px;
		margin-left: 60px;
		padding: 56px 28px 28px;
		border-radius: 22px;
		box-sizing: border-box;
	}

	.abf-route__num {
		left: -60px;
		top: 50%;
		width: 44px;
		height: 29px;
		margin: -14.5px 0 0;
		border: 0;
		border-radius: 24px;
		font-size: 11px;
	}

	.abf-route__step:last-child .abf-route__num {
		background: #27c67a;
	}

	.abf-route__title {
		font-size: 19px;
		line-height: 25px;
	}

	.abf-route__text {
		font-size: 14px;
		line-height: 21px;
	}

	.abf-route__note {
		box-sizing: border-box;
		width: 100%;
		padding: 10px 18px;
		font-size: 14px;
		line-height: 21px;
	}
}

@media (max-width: 767px) {
	.abf-route__step {
		min-height: 151px;
		margin-left: 56px;
		padding: 52px 26px 26px;
	}

	.abf-route__num {
		left: -56px;
	}
}

/* ---------- Lanes (Payroll and pensions), tablet + mobile ---------- */
@media (max-width: 1199px) {
	.abf-lanes:not(.abf-lanes--3) {
		gap: 32px;
	}

	.abf-lanes:not(.abf-lanes--3) .abf-lane {
		gap: 20px;
		padding: 36px;
		border-radius: 28px;
	}

	.abf-lanes:not(.abf-lanes--3) .abf-lane__head {
		flex-wrap: wrap;
		padding-bottom: 20px;
	}

	.abf-lanes:not(.abf-lanes--3) .abf-tick-list {
		gap: 20px;
	}
}

@media (max-width: 767px) {
	.abf-lanes:not(.abf-lanes--3) {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.abf-lanes:not(.abf-lanes--3) .abf-lane {
		padding: 36px;
	}
}

/* Lanes: icon beside the kicker and title (Figma "Head", wrapping row); 3-lane cards use 60px icons and 16/25 text. */
@media (max-width: 1199px) {
	.abf-lanes:not(.abf-lanes--3) .abf-lane__head {
		flex-wrap: nowrap;
		align-items: center;
		gap: 16px;
	}

	.abf-lanes--3 .abf-lane {
		gap: 20px;
		padding: 28px;
		border-radius: 24px;
	}

	.abf-lanes--3 .abf-lane__icon img {
		width: 60px;
		height: 60px;
	}

	.abf-lanes--3 .abf-lane__text {
		padding-bottom: 20px;
		font-size: 16px;
		line-height: 25px;
	}

	.abf-lanes--3 .abf-tick-list {
		gap: 16px;
	}

	.abf-lanes--3 .abf-tick-list li {
		font-size: 15px;
		line-height: 25px;
	}
}

/* ---------- Pricing packages, tablet + mobile (Figma "Section / Pricing / One-off Packages") ---------- */
@media (max-width: 1199px) {
	.abf-pricing > .abf-container {
		gap: 32px;
	}

	.abf-pricing .abf-page-title {
		font-size: 44px;
		line-height: 48px;
	}

	.abf-packages {
		column-gap: 16px;
		row-gap: 0;
	}

	/* subgrid rows: 16px between card pairs. */
	.abf-package:nth-child(n + 3) {
		margin-top: 16px;
	}

	.abf-package__title {
		font-size: 20px;
		line-height: 25px;
	}

	.abf-package__price {
		font-size: 36px;
		line-height: 39px;
	}

	.abf-package__actions .wp-block-button__link {
		min-height: 55px;
	}
}

@media (max-width: 767px) {
	.abf-pricing .abf-page-title {
		font-size: 34px;
		line-height: 40px;
	}

	.abf-package:nth-child(n + 2) {
		margin-top: 20px;
	}

	.abf-package__top,
	.abf-package__details {
		padding-inline: 32px;
	}
}

/* ---------- About, tablet + mobile (Figma "Section / About / ...") ---------- */
@media (max-width: 1199px) {
	.abf-about-hero {
		padding-block: 72px;
	}

	.abf-about-hero > .abf-container {
		gap: 32px;
	}

	.abf-about-hero .abf-eyebrow,
	.abf-about-hero .abf-page-lead {
		margin: 0 !important;
	}

	.abf-about-hero .abf-page-title {
		font-size: 44px;
		line-height: 48px;
	}

	.abf-about-hero .abf-page-lead {
		font-size: 18px;
		line-height: 28px;
	}

	.abf-who > .abf-container {
		display: flex;
		flex-direction: column;
		gap: 28px;
	}

	.abf-who__photo img {
		aspect-ratio: 688 / 560;
	}

	.abf-values > .abf-container {
		gap: 32px;
	}

	.abf-values__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.abf-value {
		gap: 16px;
		padding: 32px;
	}

	.abf-value__title {
		margin-top: 0 !important;
		font-size: 20px;
		line-height: 25px;
	}
}

@media (max-width: 767px) {
	.abf-about-hero {
		padding-block: 56px;
	}

	.abf-about-hero > .abf-container {
		gap: 24px;
	}

	.abf-about-hero .abf-page-title {
		font-size: 34px;
		line-height: 38px;
	}

	.abf-about-hero .abf-page-lead {
		font-size: 16px;
		line-height: 25px;
	}

	.abf-who {
		padding-block: 96px;
	}

	.abf-who > .abf-container {
		gap: 20px;
	}

	.abf-who__photo img {
		aspect-ratio: 350 / 560;
	}

	.abf-values__list {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* ---------- Contact hero + form, tablet + mobile (Figma "Section / Contact / Hero + Form") ---------- */
@media (max-width: 1199px) {
	.abf-contact {
		padding-block: 88px 96px;
	}

	.abf-contact > .abf-container {
		display: flex;
		flex-direction: column;
		gap: 28px;
	}

	.abf-contact .abf-page-title {
		font-size: 44px;
		line-height: 49px;
	}

	.abf-contact .abf-eyebrow {
		margin-bottom: 0 !important;
	}

	.abf-contact .abf-page-lead {
		font-size: 18px;
		line-height: 28px;
	}

	/* Every field on its own row; 16px inside a pair, 20px between rows (Figma "Fields" / "Row"). */
	.abf-form__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.abf-form__grid > .abf-form__field:nth-child(3),
	.abf-form__grid > .abf-form__field--wide {
		margin-top: 4px;
	}

	.abf-callback-form__title {
		font-size: 24px;
		line-height: 29px;
	}

	.abf-callback-form__sub {
		margin-top: 0 !important;
	}

	.abf-form__control textarea {
		min-height: 90px;
	}

	.abf-form__submit {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		min-height: 61px;
	}

	.abf-form__submit::before {
		content: "";
		width: 16px;
		height: 16px;
		background: currentColor;
		-webkit-mask: var(--abf-mask-phone) center / contain no-repeat;
		mask: var(--abf-mask-phone) center / contain no-repeat;
	}
}

@media (max-width: 767px) {
	.abf-contact > .abf-container {
		gap: 20px;
	}

	.abf-contact .abf-page-title {
		font-size: 34px;
		line-height: 38px;
	}

	.abf-contact .abf-page-lead {
		font-size: 16px;
		line-height: 25px;
	}

	.abf-callback-form {
		padding: 44px;
	}

	.abf-callback-form__title {
		font-size: 22px;
		line-height: 27px;
	}

	.abf-contact-detail {
		gap: 16px;
	}
}

/* ---------- First-Year "What's included", tablet + mobile (Figma "Section / First-Year Offer / What's Included") ---------- */
@media (max-width: 1199px) {
	.abf-included > .abf-container {
		gap: 32px;
	}

	.abf-included__items,
	.abf-included__pair {
		gap: 16px;
	}

	.abf-included__pair {
		gap: 24px;
	}

	.abf-offer-item {
		gap: 14px;
		padding: 32px;
	}

	.abf-offer-item__head {
		gap: 14px;
	}

	.abf-offer-item__tag {
		padding: 8px 16px;
		font-size: 16px;
		line-height: 22px;
	}

	.abf-offer-item__title {
		font-size: 20px;
		line-height: 25px;
	}

	.abf-qualify {
		gap: 12px;
		padding: 32px;
	}

	.abf-qualify.is-dark {
		gap: 16px;
	}

	.abf-qualify__title {
		font-size: 20px;
		line-height: 25px;
	}
}

@media (max-width: 767px) {
	.abf-included > .abf-container {
		gap: 24px;
	}

	.abf-included__intro .abf-intro {
		font-size: 16px;
		line-height: 25px;
	}

	.abf-included__items,
	.abf-included__pair {
		gap: 20px;
	}

	.abf-offer-item__title,
	.abf-qualify__title {
		font-size: 19px;
		line-height: 24px;
	}

	.abf-qualify__text {
		font-size: 16px;
		line-height: 25px;
	}
}

/* ---------- Feature sections, desktop (Figma "01 — ... / Desktop / Client Review", section 4) ----------
   Full 1580px container, 48/54 headings, and each layout sized as in Figma. */
@media (min-width: 1200px) {
	.abf-feature-section > .abf-container {
		gap: 56px;
	}

	.abf-feature-section--cards > .abf-container {
		gap: 48px;
	}

	.abf-feature-section--checklist > .abf-container {
		gap: 40px;
	}

	.abf-feature-section .abf-heading {
		max-width: 1520px;
	}

	.abf-feature-section .abf-title {
		font-size: 48px;
		line-height: 54px;
	}

	.abf-feature-section .abf-intro {
		max-width: 760px;
		font-size: 18px;
		line-height: 28px;
	}

	.abf-feature-cards,
	.abf-lanes,
	.abf-route,
	.abf-check-grid,
	.abf-check-cta {
		max-width: none;
	}

	/* Cards (Confirmation Statement, Dormant, Sole traders). */
	.abf-feature-cards {
		gap: 24px;
	}

	.abf-feature-card {
		gap: 14px;
		padding: 32px;
		border-radius: 24px;
	}

	.abf-feature-card__icon img {
		width: 56px;
		height: 56px;
	}

	.abf-feature-card__num {
		color: rgba(3, 168, 78, 0.18);
		font-size: 56px;
		line-height: 56px;
	}

	.abf-feature-card__title {
		font-size: 22px;
		line-height: 28px;
	}

	.abf-feature-card__num ~ .abf-feature-card__title,
	.abf-feature-card__head:has(.abf-feature-card__num) ~ .abf-feature-card__title {
		font-size: 24px;
		line-height: 30px;
	}

	.abf-feature-card:has(.abf-feature-card__num) {
		padding: 36px;
	}

	.abf-feature-card__text {
		font-size: 16px;
		line-height: 25px;
	}

	/* Two routes (Annual accounts): 1100px diagram, 445px source card, 500px route cards 50px apart,
	   2px dashed bright-green connectors with a dot where they split. */
	.abf-tree:not(.abf-tree--wide) .abf-tree__leaves {
		width: min(1050px, 100%);
		gap: 50px;
		margin-top: 104px;
	}

	.abf-tree__leaves::before {
		top: -104px;
		height: 52px;
		margin-left: -1px;
		border-left: 2px dashed var(--abf-bright);
	}

	.abf-tree__leaves::after {
		top: -52px;
		left: calc((100% - 50px) / 4);
		right: calc((100% - 50px) / 4);
		border-top: 2px dashed var(--abf-bright);
	}

	.abf-tree__card::before {
		top: -52px;
		height: 52px;
		margin-left: -1px;
		border-left: 2px dashed var(--abf-bright);
	}

	.abf-tree__root::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: -58px;
		width: 12px;
		height: 12px;
		margin-left: -6px;
		border-radius: 50%;
		background: var(--abf-bright);
	}

	.abf-tree__root {
		gap: 16px;
		padding: 22px 28px;
		border-radius: 20px;
	}

	.abf-tree__root-icon img {
		width: 48px;
		height: 48px;
	}

	.abf-tree__root-title {
		font-size: 18px;
		line-height: 25px;
	}

	.abf-tree__root-sub {
		font-size: 14px;
		line-height: 21px;
	}

	.is-dark .abf-tree__card {
		gap: 18px;
		padding: 32px;
		border-radius: 24px;
	}

	.is-dark .abf-tree__card-head {
		gap: 16px;
		margin-bottom: 0;
		padding-bottom: 18px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.is-dark .abf-tree__icon img {
		width: 56px;
		height: 56px;
	}

	.is-dark .abf-tree__kicker {
		font-size: 13px;
		line-height: 18px;
	}

	.is-dark .abf-tree__title {
		font-size: 24px;
		line-height: 30px;
	}

	.is-dark .abf-tree__card .abf-tick-list {
		gap: 18px;
	}

	.is-dark .abf-tree__card .abf-tick-list li {
		font-size: 15px;
		font-weight: 500;
		line-height: 25px;
	}

	/* Four outcomes (Bookkeeping, Tax planning): 1300px wide, 292px cards 44px apart. */
	.abf-tree--wide .abf-tree__leaves {
		max-width: 1300px;
		gap: 44px;
	}

	.abf-tree--wide .abf-tree__leaves::before,
	.abf-tree--wide .abf-tree__leaves::after,
	.abf-tree--wide .abf-tree__card::before {
		border-color: var(--abf-green);
	}

	.abf-tree--wide .abf-tree__root::after {
		background: var(--abf-green);
	}

	.abf-tree--wide .abf-tree__leaves::after {
		left: calc((100% - 132px) / 8);
		right: calc((100% - 132px) / 8);
	}

	.abf-tree--wide .abf-tree__card {
		gap: 8px;
		padding: 24px;
		border-radius: 20px;
	}

	.abf-tree--wide .abf-tree__title {
		font-size: 17px;
		line-height: 25px;
	}

	.abf-tree--wide .abf-tree__text {
		font-size: 14px;
		line-height: 21px;
	}

	/* Route (VAT cycle, Freelancers, Landlords): numbers on the card tops, joined by a rail through them. */
	.abf-route {
		gap: 28px;
		padding-top: 24px;
	}

	.abf-route::before {
		top: 23px;
		left: calc((100% - 84px) / 8);
		right: calc((100% - 84px) / 8);
		height: 2px;
		background: linear-gradient(90deg, var(--abf-green), #27c67a);
	}

	.abf-route__step {
		gap: 10px;
		min-height: 165px;
		padding: 56px 28px 28px;
		border-radius: 22px;
	}

	.abf-route__num {
		left: 28px;
		top: -24px;
		width: 48px;
		height: 48px;
		margin: 0;
		border: 4px solid var(--abf-teal);
		font-size: 14px;
		line-height: 21px;
	}

	.abf-route__title {
		font-size: 21px;
		line-height: 27px;
	}

	/* Lanes (Payroll and pensions: 2 x 774px; Contractors: 3 x 511px). */
	.abf-lanes:not(.abf-lanes--3) {
		gap: 32px;
	}

	.abf-lanes:not(.abf-lanes--3) .abf-lane {
		gap: 20px;
		padding: 36px;
		border-radius: 28px;
	}

	.abf-lanes:not(.abf-lanes--3) .abf-lane__head {
		gap: 16px;
		padding-bottom: 20px;
	}

	.abf-lanes:not(.abf-lanes--3) .abf-tick-list {
		gap: 20px;
	}

	.abf-lane__icon img {
		width: 56px;
		height: 56px;
	}

	.abf-lane__kicker {
		font-size: 13px;
		line-height: 18px;
	}

	.abf-lane__title {
		font-size: 24px;
		line-height: 30px;
	}

	.abf-lanes--3 {
		gap: 24px;
	}

	.abf-lanes--3 .abf-lane {
		gap: 16px;
		padding: 32px;
		border-radius: 24px;
	}

	.abf-lanes--3 .abf-lane__text {
		padding-bottom: 16px;
		font-size: 16px;
		line-height: 25px;
	}

	.abf-lanes--3 .abf-tick-list {
		gap: 16px;
	}

	.abf-lanes--3 .abf-tick-list li {
		font-size: 15px;
		line-height: 25px;
	}

	/* Checklist (Self Assessment): 2 x 782px items and a full-width "Not sure" bar. */
	.abf-check-grid {
		gap: 16px;
	}

	.abf-check-grid li {
		padding: 20px 24px 20px 63px;
		border-radius: 18px;
	}

	.abf-check-grid li::before {
		left: 25px;
		top: 23px;
		width: 22px;
		height: 22px;
	}

	.abf-check-grid strong {
		margin-bottom: 4px;
		font-size: 17px;
		line-height: 25px;
	}

	.abf-check-cta {
		margin-top: 0;
		padding: 24px 32px;
		border-radius: 20px;
	}

	.abf-check-cta__title {
		font-size: 19px;
		line-height: 25px;
	}

	.abf-check-cta__actions {
		gap: 24px;
	}

	.abf-check-cta__actions .wp-block-button__link {
		padding: 15px 24px;
	}
}

@media (min-width: 1200px) {
	.abf-tree--wide .abf-tree__leaves {
		margin-top: 104px;
	}
}

/* Figma: the two-route diagram starts 24px below the intro gap and ends 16px above the section padding. */
@media (min-width: 1200px) {
	.abf-tree:not(.abf-tree--wide) {
		padding-block: 24px 16px;
	}
}

/* ---------- QA fixes from the Figma desktop / tablet / mobile review ---------- */

/* Progress bars: Figma fills are fixed widths (390/280/210/320px) clipped by the track. */
.abf-checklist__track {
	overflow: hidden;
}

.abf-checklist__track span {
	max-width: 100%;
}

/* Contact form submit: phone icon at every size (Figma "Button / Request a callback"). */
.abf-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.abf-form__submit::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--abf-mask-phone) center / contain no-repeat;
	mask: var(--abf-mask-phone) center / contain no-repeat;
}

/* Trust strip: tablet = items centred and wrapping (28px apart), mobile = one column. */
@media (max-width: 1199px) {
	.abf-strip {
		padding-block: 20px;
	}

	.abf-strip > .abf-container {
		justify-content: center;
		gap: 12px 28px;
	}
}

@media (max-width: 767px) {
	.abf-strip {
		padding-block: 18px;
	}

	.abf-strip > .abf-container {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}

/* Tablet hero: price card full width, the two buttons share the row (Figma "Buttons" 688px, grow 1). */
@media (min-width: 768px) and (max-width: 1199px) {
	.abf-price-card {
		max-width: none;
	}

	.abf-offer-hero__actions {
		flex-wrap: nowrap;
	}

	.abf-offer-hero__actions .wp-block-button {
		flex: 1 1 0;
		min-width: 0;
	}

	.abf-offer-hero__actions .wp-block-button__link {
		width: 100%;
		justify-content: center;
	}
}

/* Mobile hero: long labels wrap inside the 224px button (Figma wraps them over 2-3 lines). */
@media (max-width: 767px) {
	.abf-offer-hero__actions .wp-block-button__link {
		white-space: normal;
		line-height: 25px;
		padding-block: 17px;
	}

	.abf-contact-detail__value,
	.abf-contact-detail__value a {
		font-size: 16px;
		line-height: 25px;
	}

	.abf-needs .abf-title br {
		display: none;
	}

	.abf-feature-section.is-dark::before {
		display: none;
	}
}

/* Contact: the form card spans the column on tablet and mobile. */
@media (max-width: 1199px) {
	.abf-contact > .abf-container > * {
		width: 100%;
		max-width: none;
		align-self: stretch;
	}
}

/* First-Year "What's included": the FREE / £120 tag fills the head next to the icon. */
@media (max-width: 1199px) {
	.abf-offer-item__head {
		justify-content: flex-start;
		gap: 14px;
	}

	.abf-offer-item__tag {
		flex: 1;
	}

	.abf-included__pair {
		align-items: start;
	}
}

/* "Who it is for" cards: link arrow pinned to the right edge on tablet and mobile. */
@media (max-width: 1199px) {
	.abf-audience-card__link a {
		display: flex;
		justify-content: space-between;
	}
}

/* Figma: button labels that wrap are left-aligned, with the arrow pushed to the right. */
@media (max-width: 767px) {
	.abf-offer-hero__actions .wp-block-button__link,
	.abf-qualify__actions .wp-block-button__link,
	.abf-check-cta__actions .wp-block-button__link {
		justify-content: space-between;
		text-align: left;
	}
}

@media (max-width: 1199px) {
	.abf-qualify__actions .wp-block-button__link {
		justify-content: space-between;
		text-align: left;
	}
}

/* ---------- FAQ page (Figma "FAQ"): topic sections sit closer together ---------- */
.abf-faq--topic + .abf-faq--topic {
	padding-top: 40px;
}

@media (max-width: 1199px) {
	.abf-faq--topic {
		padding-block: 72px;
	}

	.abf-faq--topic + .abf-faq--topic {
		padding-top: 40px;
	}
}

@media (max-width: 767px) {
	.abf-faq--topic {
		padding-block: 56px;
	}

	.abf-faq--topic + .abf-faq--topic {
		padding-top: 24px;
	}
}
