/* stylelint-disable selector-class-pattern -- every rule is scoped by the WordPress body class single-flydoo_service (underscore from the post type) and uses BEM modifiers (fd-system-section--hero) like the content markup */

/* stylelint-disable no-descending-specificity -- the shared rules come first and the page blocks after them, so a later, shorter selector is meant to win only where it applies */

/*
 * Odoo service pages (WO-61 / FD-214): the seven flydoo_service pages drawn on the Svc*.png
 * artboards (desktop 1440, mobile 390). Every selector starts with body.single-flydoo_service,
 * so Home and the other pages cannot change. Colours come from theme.json tokens only.
 *
 * The file is split into delimited blocks. The shared block (svc-a) holds the service template:
 * the section rhythm, the hero with its aside (glance card, stat tiles, task labels), the card
 * grids, the note, the plan cards, the FAQ and the close band. Each page block holds rules that
 * only that page needs, and is edited only by the lane that owns the page.
 *
 * Phone first: one column, then two hero columns from 1024 px. The 1200 px column is centred at
 * every width, with a 24 px gutter at least: max(24px, (100% - 1200px) / 2).
 */

/* shared (svc-a) */

/* The pill band sits straight on the hero: no block gap between the two children of <main>. */
body.single-flydoo_service main > .fd-service-nav + * {
	margin-block-start: 0;
}

/* Section rhythm and the 1200 px column (drawn: 64 to 80 px above and below each section). */
body.single-flydoo_service .fd-system-section {
	box-sizing: border-box;
	padding-right: max(1.5rem, calc((100% - 75rem) / 2));
	padding-left: max(1.5rem, calc((100% - 75rem) / 2));
}

body.single-flydoo_service .fd-system-section.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 75rem;
}

body.single-flydoo_service .fd-system-section--hero {
	padding-top: 4rem;
	padding-bottom: 4.5rem;
}

/* Phone and tablet: 85 px above the body (the phone artboards set the body heading about 5 px lower than 84 px does). */
body.single-flydoo_service .fd-system-section--body {
	padding-top: 5.3125rem;
	padding-bottom: 5.5rem;
}

@media (min-width: 1024px) {

	body.single-flydoo_service .fd-system-section--body {
		padding-top: 5.25rem;
	}
}

body.single-flydoo_service .fd-system-section--faq {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

body.single-flydoo_service .fd-system-section--close {
	padding-top: 5rem;
	padding-bottom: 5rem;
	text-align: center;
}

/* Section headings: Lexend 700, drawn at the same size on phone and desktop: 40 (body), 36 (FAQ), 41 (close). The body heading wraps at 720 px as drawn. */
body.single-flydoo_service :is(.fd-svc-body__heading, .fd-svc-faq .fd-section-intro__heading, .fd-svc-close__heading) {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

body.single-flydoo_service .fd-system-section.is-layout-constrained > .fd-svc-body__heading {
	max-width: 45rem;
	margin-left: max(0px, calc((100% - 75rem) / 2)) !important;
}

body.single-flydoo_service .fd-svc-faq .fd-section-intro__heading {
	font-size: 2.25rem;
}

body.single-flydoo_service .fd-svc-close__heading {
	font-size: 2.5625rem;
}

/* Hero: copy column and aside, stacked on phones, side by side from 1024 px. */
body.single-flydoo_service .fd-svc-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
}

body.single-flydoo_service .fd-svc-hero__grid > * {
	margin-block: 0;
}

body.single-flydoo_service .fd-svc-hero__copy > * {
	margin-block: 0;
}

body.single-flydoo_service .fd-svc-hero__quote {
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.9375rem;
	font-style: italic;
	line-height: 1.3;
}

body.single-flydoo_service .fd-svc-hero__copy > h1 {
	margin-block-start: 1.125rem;
	font-size: 3.25rem;
	line-height: 1.06;
	letter-spacing: -0.03em;
}

body.single-flydoo_service .fd-svc-hero__lede {
	margin-block-start: 1.5625rem;
	color: var(--wp--preset--color--text-body);
	font-size: 1.125rem;
	line-height: 1.6667;
}

body.single-flydoo_service .fd-svc-hero__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	margin-block-start: 1.375rem;
}

/* Every service page draws its hero and close buttons at 17 px (240 and 244 px wide; QA audit 1, service template 1). */
body.single-flydoo_service .fd-svc-hero__actions .wp-block-button__link,
body.single-flydoo_service .fd-svc-close__actions .wp-block-button__link {
	min-height: 3.375rem;
	padding: 0.75rem 1.5rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.0625rem;
	font-weight: 700;
}

body.single-flydoo_service .fd-svc-hero__actions .is-style-outline-inverse .wp-block-button__link {
	border-color: var(--wp--preset--color--text-primary);
	color: var(--wp--preset--color--text-primary);
}

/* The glance card: label, key and value rows with a line below each, an optional reference line, a dark button. */
body.single-flydoo_service .fd-svc-glance {
	box-sizing: border-box;
	padding: 1.5rem;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--lg, 16px);
	background: var(--wp--preset--color--surface-raised);
}

body.single-flydoo_service .fd-svc-glance > * {
	margin-block: 0;
}

body.single-flydoo_service .fd-svc-glance__label {
	margin-block-end: 0;
	line-height: 1.25;
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--caption, 0.8125rem);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.single-flydoo_service .fd-svc-glance__row {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	padding-block: 0.5625rem;
	border-bottom: 1px solid var(--wp--preset--color--line-default);
}

body.single-flydoo_service .fd-svc-glance__row > * {
	margin-block: 0;
}

body.single-flydoo_service .fd-svc-glance__key {
	flex: 0 0 auto;
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.9375rem;
	line-height: 1.5;
}

body.single-flydoo_service .fd-svc-glance__value {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--wp--preset--color--text-primary);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: end;
}

body.single-flydoo_service .fd-svc-glance__ref {
	padding-block-start: 0.75rem;
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.5;
}

body.single-flydoo_service .fd-svc-glance__ref strong {
	color: var(--wp--preset--color--text-primary);
}

body.single-flydoo_service .fd-svc-glance__action {
	margin-block-start: 0.625rem;
}

body.single-flydoo_service .fd-svc-glance__action .wp-block-button {
	width: 100%;
}

body.single-flydoo_service .fd-svc-glance__action .wp-block-button__link {
	width: 100%;
	min-height: 2.9375rem;
	padding: 0.5rem 1.5rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--body-emphasis, 1rem);
	font-weight: 700;
	border-color: var(--wp--preset--color--text-primary);
	background-color: var(--wp--preset--color--text-primary);
	color: var(--wp--preset--color--text-on-inverse);
}

body.single-flydoo_service .fd-svc-glance__action .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--brand-primary-hover);
}

/* A bound price: the figure and its unit on one line; the row disappears when the figure is held. */
body.single-flydoo_service .fd-svc-price {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25em;
	justify-content: flex-end;
}

body.single-flydoo_service .fd-svc-price > * {
	margin-block: 0;
}

body.single-flydoo_service .fd-svc-price:not(:has(.fd-svc-price__figure)),
body.single-flydoo_service .fd-svc-glance__row:has(.fd-svc-price):not(:has(.fd-svc-price__figure)) {
	display: none;
}

/* Card grids: the drawn tiles. Filled (sunken ground) or outlined (white with a line). */
body.single-flydoo_service .fd-svc-body__heading + * {
	margin-block-start: 2.25rem;
}

body.single-flydoo_service .fd-svc-cards .fd-card-grid__list {
	gap: 0.875rem;
}

body.single-flydoo_service .fd-svc-cards .fd-card {
	gap: 0.5rem;
	padding: 1.25rem 1.3125rem;
	border: 1px solid transparent;
	border-radius: var(--wp--custom--radius--md, 14px);
	color: var(--wp--preset--color--text-body);
	font-size: 0.9375rem;
	line-height: 1.6;
}

body.single-flydoo_service .fd-svc-cards--filled .fd-card {
	background: var(--wp--preset--color--surface-sunken);
}

body.single-flydoo_service .fd-svc-cards--outlined .fd-card {
	border-color: var(--wp--preset--color--line-default);
	background: var(--wp--preset--color--surface-raised);
}

body.single-flydoo_service .fd-svc-cards .fd-card__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--body-emphasis, 1rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
}

/* Numbered grids: the drawn numeral is a plain 1, 2, 3 in brand blue, Lexend 26 px. */
body.single-flydoo_service .fd-svc-cards.fd-card-grid--numbered .fd-card::before {
	content: counter(fd-card);
	margin-block-end: 0.375rem;
	color: var(--wp--preset--color--brand-primary);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.625rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

/* Task labels: the drawn badges (card tagKind, AI mapping example rows). */
body.single-flydoo_service .fd-task-label {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	box-sizing: border-box;
	padding: 0.125rem 0.5rem;
	border-radius: var(--wp--custom--radius--pill, 999px);
	color: var(--wp--preset--color--text-on-brand);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

body.single-flydoo_service .fd-task-label--odoo {
	background: var(--wp--preset--color--brand-primary);
}

body.single-flydoo_service .fd-task-label--automation {
	background: var(--wp--preset--color--badge-automation);
}

body.single-flydoo_service .fd-task-label--ai-agent {
	background: var(--wp--preset--color--badge-agent);
}

body.single-flydoo_service .fd-task-label--person {
	background: var(--wp--preset--color--cta-primary);
	color: var(--wp--preset--color--text-on-cta);
}

body.single-flydoo_service .fd-task-label--person-ai {
	background: var(--wp--preset--color--text-primary);
}

body.single-flydoo_service .is-style-section-inverse .fd-task-label--person-ai {
	background: var(--wp--preset--color--surface-raised);
	color: var(--wp--preset--color--text-primary);
}

/* The note callout (cream ground, ochre line). */
body.single-flydoo_service .fd-svc-note {
	box-sizing: border-box;
	margin-block-start: 2rem;
	padding: 1.25rem 1.375rem;
	border: 1px solid var(--wp--preset--color--note-line);
	border-radius: var(--wp--custom--radius--md, 14px);
	background: var(--wp--preset--color--note-fill);
	color: var(--wp--preset--color--text-body);
	font-size: 0.9375rem;
	line-height: 1.6;
}

body.single-flydoo_service .fd-svc-note > * {
	margin-block: 0;
}

body.single-flydoo_service .fd-svc-note strong {
	color: var(--wp--preset--color--text-primary);
}

/* Stat tiles (a 2 by 2 grid in the dark hero aside). */
body.single-flydoo_service .fd-svc-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

body.single-flydoo_service .fd-svc-stats > * {
	margin-block: 0;
}

body.single-flydoo_service .fd-svc-stat {
	box-sizing: border-box;
	padding: 1.25rem;
	border: 1px solid var(--wp--preset--color--dark-line);
	border-radius: var(--wp--custom--radius--md, 14px);
	background: var(--wp--preset--color--dark-tile);
	color: var(--wp--preset--color--text-on-inverse);
}

body.single-flydoo_service .fd-svc-stat > * {
	margin-block: 0;
}

body.single-flydoo_service .fd-svc-stat__value {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

body.single-flydoo_service .fd-svc-stat__label {
	margin-block-start: 0.25rem;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.3;
}

/* The task list (AI mapping example): a dark panel of rows, each with its label. */
body.single-flydoo_service .fd-svc-tasks {
	box-sizing: border-box;
	padding: 1.5rem 1.375rem;
	border: 1px solid var(--wp--preset--color--dark-line);
	border-radius: var(--wp--custom--radius--lg, 16px);
	background: var(--wp--preset--color--dark-tile);
	color: var(--wp--preset--color--text-on-inverse);
}

body.single-flydoo_service .fd-svc-tasks > * {
	margin-block: 0;
}

body.single-flydoo_service .fd-svc-tasks__label {
	margin-block-end: 0.5rem;
	font-size: var(--wp--preset--font-size--caption, 0.8125rem);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.single-flydoo_service .fd-svc-task {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-block-start: 0.5rem;
	padding: 0.5rem 0.75rem;
	border-radius: var(--wp--custom--radius--sm, 10px);
	background: var(--wp--preset--color--dark-row);
	font-size: 0.9375rem;
}

body.single-flydoo_service .fd-svc-task > * {
	margin-block: 0;
}

/* Plan cards (Live support): two cards, the first with the brand border. */
body.single-flydoo_service .fd-svc-plans {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

body.single-flydoo_service .fd-svc-plans > * {
	margin-block: 0;
}

body.single-flydoo_service .fd-svc-plan {
	box-sizing: border-box;
	padding: 1.75rem;
	border: 1px solid var(--wp--preset--color--line-default);
	border-radius: var(--wp--custom--radius--md, 14px);
	background: var(--wp--preset--color--surface-raised);
}

body.single-flydoo_service .fd-svc-plan > * {
	margin-block: 0;
}

body.single-flydoo_service .fd-svc-plan--featured {
	border: 2px solid var(--wp--preset--color--brand-primary);
}

body.single-flydoo_service .fd-svc-plan__price {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin-block-start: 0.5rem;
}

body.single-flydoo_service .fd-svc-plan__price > * {
	margin-block: 0;
}

body.single-flydoo_service .fd-svc-plan__figure {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2rem;
	font-weight: 700;
}

body.single-flydoo_service .fd-svc-plan__price:not(:has(.fd-svc-plan__figure)) {
	display: none;
}

/* The dark band inside a body section (Integrations: custom code). */
body.single-flydoo_service .fd-svc-band {
	box-sizing: border-box;
	margin-block-start: 2rem;
	padding: 1.5rem;
	border-radius: var(--wp--custom--radius--lg, 16px);
}

/* The dark hero variant (AI mapping, Live support): the outline button on the dark ground. */
body.single-flydoo_service .fd-svc-hero.is-style-section-inverse .fd-svc-hero__quote,
body.single-flydoo_service .fd-svc-hero.is-style-section-inverse .fd-svc-hero__lede {
	color: var(--wp--preset--color--text-on-inverse);
}

body.single-flydoo_service .fd-svc-hero.is-style-section-inverse .fd-svc-hero__actions .is-style-outline-inverse .wp-block-button__link {
	border-color: var(--wp--preset--color--dark-button-line);
	color: var(--wp--preset--color--text-on-inverse);
}

/* FAQ: a 900 px column, every answer open, a line above each question and below the last answer. */
body.single-flydoo_service .fd-svc-faq .fd-faq {
	max-width: 56.25rem;
	margin-inline: auto;
}

body.single-flydoo_service .fd-svc-faq .fd-section-intro {
	margin-block-end: 1.5rem;
}

/* Close band: centred heading, text and the orange button. */
body.single-flydoo_service .fd-system-section.is-layout-constrained > .fd-svc-close__text {
	max-width: 37.5rem;
	margin-block-start: 1rem;
	color: var(--wp--preset--color--text-on-inverse-soft);
	font-size: 1.125rem;
	line-height: 1.6;
}

body.single-flydoo_service .fd-svc-close__actions {
	justify-content: center;
	margin-block-start: 1.125rem;
}

/* The close heading is the drawn 41 px (685 px wide at 1440); the shared heading rule above outranked it (QA audit 1, service template 3). */
body.single-flydoo_service .fd-svc-close .fd-svc-close__heading {
	font-size: 2.5625rem;
	letter-spacing: -0.0175em;
}

body.single-flydoo_service .fd-pattern-close-band .fd-svc-close__actions .wp-block-button:first-child {
	flex: 0 0 auto;
}

body.single-flydoo_service .fd-pattern-close-band .fd-svc-close__actions .wp-block-button:first-child .wp-block-button__link {
	width: auto;
	min-height: 3.5rem;
}

@media (min-width: 768px) {

	body.single-flydoo_service .fd-svc-hero__actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	body.single-flydoo_service .fd-svc-plans {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {

	body.single-flydoo_service .fd-svc-hero__grid {
		grid-template-columns: minmax(0, 1fr) 30rem;
		gap: 3.5rem;
	}
}

/* page: odoo-implementation (svc-a) */

/* page: legacy-erp-migration (svc-a) */

/* page: optimisation-and-support (svc-b) */

/* Phone: the drawn glance card sits about 7 px lower under a hero with one or two buttons than the shared gap gives. */
@media (max-width: 1023px) {

	body.single-flydoo_service:has(.fd-svc-body--optimisation) .fd-svc-aside {
		margin-block-start: 0.4375rem;
	}
}

/* The drawn heading is one line: 40 px, about 720 px wide, so the shared 45rem cap is lifted here. */
body.single-flydoo_service .fd-system-section.is-layout-constrained > .fd-svc-body--optimisation > .fd-svc-body__heading,
body.single-flydoo_service .fd-svc-body--optimisation.is-layout-constrained > .fd-svc-body__heading {
	max-width: 60rem;
}

/* page: integrations-and-development (svc-b) */

/* Phone: the drawn glance card sits about 7 px lower under a hero with one or two buttons than the shared gap gives. */
@media (max-width: 1023px) {

	body.single-flydoo_service:has(.fd-svc-body--integrations) .fd-svc-aside {
		margin-block-start: 0.4375rem;
	}
}

body.single-flydoo_service .fd-svc-body--integrations.is-layout-constrained > .fd-svc-body__heading {
	max-width: 60rem;
}

/* Typical connections: eight compact outlined tiles, five to a row (drawn: 229 px wide, 18 px padding, 13 px copy on 18 px). */
body.single-flydoo_service .fd-svc-body--integrations .fd-svc-cards .fd-card-grid__list {
	gap: 0.8125rem 0.75rem;
}

/* QA audit 1 (SvcIntegrations 2): the drawn copy is 14 px on an 18 px line and the titles 16 px semibold. */
body.single-flydoo_service .fd-svc-body--integrations .fd-svc-cards .fd-card {
	gap: 0.25rem;
	padding: 1.0625rem;
	font-size: 0.875rem;
	line-height: 1.3;
}

body.single-flydoo_service .fd-svc-body--integrations .fd-svc-cards .fd-card__title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
}

/* The dark Custom code band: copy on the left, the button vertically centred on the right (stacked on the phone). */
body.single-flydoo_service .fd-svc-body--integrations .fd-svc-band {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
	margin-block-start: 2rem;
	padding: 1.5rem;
}

body.single-flydoo_service .fd-svc-body--integrations .fd-svc-band__copy {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	max-width: 43.75rem;
}

body.single-flydoo_service .fd-svc-band__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.27;
	letter-spacing: 0;
}

/* 15 px on a 24 px line: the first line ends after "We", as drawn (QA audit 1, SvcIntegrations 3). */
body.single-flydoo_service .fd-svc-band__text {
	margin: 0;
	color: var(--wp--preset--color--text-on-inverse-soft);
	font-size: 0.9375rem;
	line-height: 1.6;
}

body.single-flydoo_service .fd-svc-band__actions {
	margin: 0;
}

/* "Discuss your integration": the body face, bold 16 px, 227 x 45 as drawn (QA audit 1, SvcIntegrations 1). */
body.single-flydoo_service .fd-svc-band__actions .wp-block-button__link {
	min-height: 2.8125rem;
	padding: 0.6875rem 1.125rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

/* The drawn H1 breaks after "has": its first line is as wide as the 664 px copy column, so it may use the 56 px gap beside it. */
@media (min-width: 1024px) {

	body.single-flydoo_service:has(.fd-svc-body--integrations) .fd-svc-hero__title {
		width: calc(100% + 2rem);
	}
}

@media (min-width: 768px) {

	body.single-flydoo_service .fd-svc-body--integrations .fd-svc-band {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 2rem;
	}
}

/* page: ai-process-mapping (svc-c) */

/* Dark hero: the quote and the example-panel label are the muted blue-grey, the lede the soft one; the panel sits centred against the copy. */
body.single-flydoo_service .fd-svc-hero.fd-svc--aipm .fd-svc-hero__quote,
body.single-flydoo_service .fd-svc-tasks__label {
	color: var(--wp--preset--color--text-on-inverse-muted);
}

body.single-flydoo_service .fd-svc-hero.fd-svc--aipm .fd-svc-hero__lede {
	margin-block-start: 1.3125rem;
	color: var(--wp--preset--color--text-on-inverse-soft);
}

body.single-flydoo_service .fd-svc-hero.fd-svc--aipm .fd-svc-hero__copy > h1 {
	margin-block-start: 1.375rem;
}

body.single-flydoo_service .fd-svc-hero.fd-svc--aipm .fd-svc-hero__grid {
	align-items: center;
}

body.single-flydoo_service .fd-svc--aipm .fd-svc-tasks__label {
	margin-block-end: 0;
	line-height: 1.25;
}

body.single-flydoo_service .fd-svc--aipm .fd-svc-task > .fd-task-label {
	align-self: center;
}

/* The example card as drawn (QA audit 1, SvcAIMapping 1): a 12 px eyebrow 203 px wide, 14 px task names in a
   muted grey-white (60 % of text-on-inverse on the row), rows still 40 px, 289 px in all. */
@media (min-width: 1024px) {
	body.single-flydoo_service .fd-svc--aipm .fd-svc-tasks {
		padding-block: 1.3125rem;
	}
}

body.single-flydoo_service .fd-svc--aipm .fd-svc-tasks__label {
	font-size: 0.75rem;
	letter-spacing: 0.085em;
}

body.single-flydoo_service .fd-svc--aipm .fd-svc-task {
	font-size: 0.875rem;
	line-height: 1.7143;
}

body.single-flydoo_service .fd-svc--aipm .fd-svc-task > p:first-child {
	color: color-mix(in srgb, var(--wp--preset--color--text-on-inverse) 60%, transparent);
}

@media (min-width: 1024px) {

	body.single-flydoo_service .fd-svc-hero.fd-svc--aipm .fd-svc-hero__grid {
		grid-template-columns: minmax(0, 1fr) 32.4375rem;
		gap: 2.5rem;
	}
}

/* page: odoo-ai-agents-and-automation (svc-c) */

/* The drawn hero gap, and the 15 px card gap of the example tiles. */
body.single-flydoo_service .fd-svc-hero.fd-svc--agents .fd-svc-hero__grid {
	gap: 3rem;
}

body.single-flydoo_service .fd-svc--agents .fd-svc-cards .fd-card-grid__list {
	gap: 0.9375rem;
}

/* page: live-remote-odoo-support (svc-c) */

/* Dark hero: muted quote, soft lede, tiles centred against the copy. */
body.single-flydoo_service .fd-svc-hero.fd-svc--live .fd-svc-hero__quote {
	color: var(--wp--preset--color--text-on-inverse-muted);
}

body.single-flydoo_service .fd-svc-hero.fd-svc--live .fd-svc-hero__lede {
	margin-block-start: 1.3125rem;
	color: var(--wp--preset--color--text-on-inverse-soft);
}

body.single-flydoo_service .fd-svc-hero.fd-svc--live .fd-svc-hero__copy > h1 {
	margin-block-start: 1.375rem;
}

body.single-flydoo_service .fd-svc-hero.fd-svc--live .fd-svc-hero__grid {
	gap: 3rem;
	align-items: center;
}

/* The gate wrapper and its printed slot take no box of their own: the tiles stay grid items of the 2 by 2. */
body.single-flydoo_service .fd-svc--live .fd-svc-stats > .fd-claim-gate,
body.single-flydoo_service .fd-svc--live .fd-svc-stats .fd-claim-gate__slot {
	display: contents;
}

/* As drawn (QA audit 2): white tile headings, the small lines in the dim grey. */
body.single-flydoo_service .fd-svc--live .fd-svc-stat__value {
	color: var(--wp--preset--color--text-on-brand);
	font-size: 1.5rem;
}

body.single-flydoo_service .fd-svc--live .fd-svc-stat__label {
	color: var(--wp--preset--color--text-on-inverse-dim);
}

@media (min-width: 1024px) {

	body.single-flydoo_service .fd-svc-hero.fd-svc--live .fd-svc-hero__grid {
		grid-template-columns: minmax(0, 1fr) 30.375rem;
	}
}

/* Plan cards. */
body.single-flydoo_service .fd-svc--live .fd-svc-plan__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}

body.single-flydoo_service .fd-svc--live .fd-svc-plan {
	display: flex;
	flex-direction: column;
	padding-block: 1.5rem;
}

/* U10: each plan card ends with its button ("Start the support plan", "Pay as you go"), aligned at the card foot. */
body.single-flydoo_service .fd-svc--live .fd-svc-plan__actions {
	margin-block-start: auto;
	padding-block-start: 1.25rem;
}

body.single-flydoo_service .fd-svc--live .fd-svc-plan__price {
	margin-block-start: 0.6875rem;
}

body.single-flydoo_service .fd-svc--live .fd-svc-plan__figure {
	line-height: 1.15;
}

body.single-flydoo_service .fd-svc--live .fd-svc-plan__unit {
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.9375rem;
}

body.single-flydoo_service .fd-svc--live .fd-svc-plan__body {
	margin-block-start: 0.6875rem;
	color: var(--wp--preset--color--text-body);
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* AI agents examples: card bodies on a 240 px measure, so "Drafts, not decisions" wraps to three lines as drawn (QA audit 1, SvcAIAgents 1). */
@media (min-width: 1024px) {
	body.single-flydoo_service .fd-svc-body.fd-svc--agents .fd-card__body {
		max-width: 15rem;
	}
}

/* Section 10.4 (18 November): the Agifly line at the end of the two AI service pages. */
.fd-svc-close .fd-svc-close__note {
	margin-block: var(--wp--preset--spacing--16, 1rem) 0;
	color: var(--wp--preset--color--text-on-inverse-muted);
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	text-align: center;
}

.fd-svc-close .fd-svc-close__note a {
	color: var(--wp--preset--color--text-on-inverse);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Handoff 14.2 (20 November): both AI service pages link to /odoo-ai/ under the hero lede. */
body.single-flydoo_service .fd-svc-hero__more {
	margin-block: var(--wp--preset--spacing--12) 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

body.single-flydoo_service .fd-svc-hero.is-style-section-inverse .fd-svc-hero__more a {
	color: var(--wp--preset--color--text-on-inverse);
}
