/**
 * SeSar theme styles.
 *
 * Design tokens live in theme.json. This file holds block styles (is-style-*),
 * the header menu, the custom sesar/* blocks and the few layouts core blocks
 * can't express on their own. Loaded on the front end and in the editor.
 */

:root {
	--s-teal: var(--wp--preset--color--teal);
	--s-teal-dark: var(--wp--preset--color--teal-dark);
	--s-teal-tint: var(--wp--preset--color--teal-tint);
	--s-teal-line: var(--wp--preset--color--teal-line);
	--s-teal-mist: var(--wp--preset--color--teal-mist);
	--s-gold: var(--wp--preset--color--gold);
	--s-gold-hover: var(--wp--preset--color--gold-hover);
	--s-gold-ink: var(--wp--preset--color--gold-ink);
	--s-plate: var(--wp--preset--color--plate);
	--s-ink: var(--wp--preset--color--ink);
	--s-paper: var(--wp--preset--color--paper);
	--s-sand: var(--wp--preset--color--sand);
	--s-line: var(--wp--preset--color--line);
	--s-muted: var(--wp--preset--color--text-muted);
	--s-subtle: var(--wp--preset--color--text-subtle);
	--s-faint: var(--wp--preset--color--text-faint);
	--s-on-dark: var(--wp--preset--color--on-dark-muted);
	--s-dark-line: var(--wp--preset--color--dark-line);
	--s-display: var(--wp--preset--font-family--display);
	--s-mono: var(--wp--preset--font-family--mono);
	--s-ease: 120ms ease;

	/* Context colours for ticks, rules and arrow buttons. Dark sections override these. */
	--s-mark: var(--s-teal);
	--s-rule: var(--s-line);
	--s-arrow-bg: var(--s-ink);
	--s-arrow-fg: var(--s-paper);
	--s-faq-off: var(--s-sand);
	--s-faq-rule: var(--s-line);
}

.has-teal-background-color,
.has-teal-dark-background-color {
	--s-mark: var(--s-gold);
	--s-rule: var(--s-teal-line);
	--s-arrow-bg: var(--s-gold);
	--s-arrow-fg: var(--s-ink);
}

.has-ink-background-color,
.has-black-background-color,
.has-night-background-color {
	--s-mark: var(--s-gold);
	--s-rule: var(--s-dark-line);
	--s-arrow-bg: var(--s-gold);
	--s-arrow-fg: var(--s-ink);
}

.has-sand-background-color,
.has-paper-background-color,
.has-white-background-color {
	--s-mark: var(--s-teal);
	--s-rule: var(--s-line);
	--s-arrow-bg: var(--s-ink);
	--s-arrow-fg: var(--s-paper);
}

.has-sand-background-color {
	--s-faq-off: var(--s-paper);
	--s-faq-rule: #d6cdba;
}

.has-paper-background-color {
	--s-faq-off: var(--s-sand);
	--s-faq-rule: var(--s-line);
}

/* ------------------------------------------------------------------ Base */

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Sections sit flush against each other. */
.wp-site-blocks > *,
.wp-site-blocks > * + * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.sesar-sections > .alignfull,
.sesar-main > .alignfull {
	margin-block-start: 0;
	margin-block-end: 0;
}

a,
.wp-block-button__link,
.wp-block-navigation-item__content,
.is-style-link-card {
	transition: color var(--s-ease), background-color var(--s-ease), border-color var(--s-ease);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--s-teal);
	outline-offset: 2px;
}

:where(.has-teal-background-color, .has-ink-background-color, .has-night-background-color, .has-black-background-color, .has-teal-dark-background-color) :where(a, button, input, summary):focus-visible {
	outline-color: var(--s-gold);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* Links on dark backgrounds: light text, gold on hover. */
:where(.has-ink-background-color, .has-night-background-color, .has-black-background-color, .has-teal-background-color) :where(p, li, span) a:where(:not(.wp-element-button)) {
	color: inherit;
}

:where(.has-ink-background-color, .has-night-background-color, .has-black-background-color, .has-teal-background-color) :where(p, li, span) a:where(:not(.wp-element-button)):hover {
	color: var(--s-gold);
}

.sesar-masthead {
	position: relative;
	z-index: 20;
}

p:empty:not(.is-style-arrow-link) {
	display: none;
}

/* Text measure helpers used by the patterns. */
.sesar-mw-360 { max-width: 360px; }
.sesar-mw-380 { max-width: 380px; }
.sesar-mw-400 { max-width: 400px; }
.sesar-mw-420 { max-width: 420px; }
.sesar-mw-440 { max-width: 440px; }
.sesar-mw-460 { max-width: 460px; }
.sesar-mw-480 { max-width: 480px; }
.sesar-mw-520 { max-width: 520px; }
.sesar-mw-560 { max-width: 560px; }
.sesar-mw-760 { max-width: 760px; }
.sesar-mw-900 { max-width: 900px; }

/* A measure-limited block placed straight in a section sits on the content's left edge, not centred. */
:is(.sesar-sections, .sesar-main, .is-root-container) > .alignfull.is-layout-constrained > [class*="sesar-mw-"] {
	margin-left: max(0px, calc((100% - 1232px) / 2)) !important;
}

.sesar-balance { text-wrap: balance; }
.sesar-pretty { text-wrap: pretty; }
.sesar-nowrap { white-space: nowrap; }
.sesar-mt-auto { margin-top: auto !important; }
.sesar-lh-normal { line-height: normal; }

/* Layout helpers used by the patterns. */
.wp-block-group.sesar-rg-24 { row-gap: 24px; }
.wp-block-group.sesar-rg-32 { row-gap: 32px; }
.wp-block-group.sesar-rg-40 { row-gap: 40px; }
.sesar-align-start { align-items: start; }
.sesar-align-center { align-items: center; }
.sesar-align-end { align-items: end; }
.sesar-align-self-start { align-self: start; }
.sesar-center { text-align: center; }
.sesar-soft { opacity: 0.9; }
.sesar-shadow-float { box-shadow: var(--wp--preset--shadow--float); }
.sesar-shadow-plan { box-shadow: var(--wp--preset--shadow--plan); }
.sesar-why .is-style-tick-open { color: #e8e3d8; }
.sesar-route-sms { margin-top: 8px !important; }
.sesar-hero-solution .sesar-card-head > * { margin: 0; }

/* ------------------------------------------------------------------ Header */

.sesar-header {
	position: relative;
}

.sesar-nav-pill {
	position: relative;
	min-height: 64px;
}

.sesar-logo {
	margin: 0;
	flex-shrink: 0;
	font-family: var(--s-display);
	font-weight: 800;
	font-size: 26px;
	letter-spacing: -0.05em;
	line-height: 0.85;
}

.sesar-logo a {
	display: inline-flex;
	align-items: flex-end;
	gap: 5px;
	color: var(--s-ink);
	text-decoration: none;
}

.sesar-logo a:hover {
	color: var(--s-ink);
}

.sesar-logo a::after {
	content: "";
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	margin-bottom: 3px;
	border-radius: 50%;
	background: var(--s-gold);
}

.sesar-logo.is-large {
	font-size: 44px;
}

.sesar-logo.is-large a,
.sesar-logo.is-large a:hover {
	gap: 6px;
	color: var(--s-paper);
}

.sesar-logo.is-large a::after {
	width: 10px;
	height: 10px;
	margin-bottom: 4px;
}

.sesar-header .sesar-nav {
	position: static;
	flex: 1;
	min-width: 0;
	justify-content: center;
	font-size: 15px;
	font-weight: 500;
}

.sesar-header .sesar-nav .wp-block-navigation__container {
	gap: 24px;
	justify-content: center;
}

.sesar-header .sesar-nav .wp-block-navigation-item__content {
	padding: 0;
	color: var(--s-ink);
	white-space: nowrap;
}

.sesar-header .sesar-nav .wp-block-navigation-item__content:hover {
	color: var(--s-teal);
}

.sesar-header .sesar-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--s-teal);
	text-decoration: underline;
	text-decoration-color: var(--s-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 7px;
}

.sesar-header .sesar-nav .sesar-nav-cta {
	display: none;
}

.sesar-nav-actions {
	flex-shrink: 0;
	flex-wrap: nowrap;
}

.sesar-nav-actions .wp-block-button__link {
	padding: 11px 16px;
	font-size: 15px;
	white-space: nowrap;
}

.sesar-nav-actions .is-style-trial .wp-block-button__link {
	padding: 11px 20px;
}

/* Hamburger: a 44px ink circle with three bars. */
.sesar-header .wp-block-navigation__responsive-container-open,
.sesar-header .wp-block-navigation__responsive-container-close {
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	background: var(--s-ink);
	color: var(--s-paper);
	align-items: center;
	justify-content: center;
}

.sesar-header .wp-block-navigation__responsive-container-open svg,
.sesar-header .wp-block-navigation__responsive-container-close svg {
	display: none;
}

.sesar-header .wp-block-navigation__responsive-container-open::before {
	content: "";
	width: 18px;
	height: 2px;
	border-radius: 1px;
	background: var(--s-paper);
	box-shadow: 0 -6px 0 var(--s-paper), 0 6px 0 var(--s-paper);
}

.sesar-header .wp-block-navigation__responsive-container-close::before,
.sesar-header .wp-block-navigation__responsive-container-close::after {
	content: "";
	position: absolute;
	top: 21px;
	left: 13px;
	width: 18px;
	height: 2px;
	border-radius: 1px;
	background: var(--s-paper);
	transform: rotate(45deg);
}

.sesar-header .wp-block-navigation__responsive-container-close::after {
	transform: rotate(-45deg);
}

@media (min-width: 1080px) {
	.sesar-header .wp-block-navigation__responsive-container-open {
		display: none !important;
	}

	.sesar-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block;
		position: relative;
		width: 100%;
		z-index: auto;
		background-color: inherit;
	}

	.sesar-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close {
		display: none;
	}
}

@media (max-width: 1079px) {
	.sesar-header .sesar-nav-demo {
		display: none !important;
	}

	/* nav. only: the Navigation block copies its class onto the menu list inside it. */
	.sesar-header nav.sesar-nav {
		order: 3;
		flex: 0 0 auto;
		margin-left: -10px !important;
	}

	.sesar-header .sesar-nav-actions {
		margin-left: auto !important;
	}

	.sesar-header .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}

	.sesar-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}
}

/* Open menu: a cream panel under the pill, not a full-screen overlay. */
.sesar-header .wp-block-navigation__responsive-container.is-menu-open {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	bottom: auto;
	left: 0;
	width: auto;
	height: auto;
	padding: 12px 24px 24px;
	overflow: visible;
	border-radius: 28px;
	background-color: var(--s-paper) !important;
	color: var(--s-ink) !important;
	box-shadow: var(--wp--preset--shadow--menu);
	animation: none;
	z-index: 30;
}

.sesar-header .is-menu-open .wp-block-navigation__responsive-close,
.sesar-header .is-menu-open .wp-block-navigation__responsive-dialog {
	position: static;
	max-width: none;
	margin: 0;
}

.sesar-header .is-menu-open .wp-block-navigation__responsive-container-close {
	display: flex;
	position: absolute;
	top: -62px;
	right: 10px;
}

.sesar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.sesar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.sesar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid var(--s-line);
}

.sesar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation-item__content {
	box-sizing: border-box;
	display: block;
	width: 100%;
	padding: 16px 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--s-ink);
	text-decoration: none;
}

.sesar-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content {
	color: var(--s-teal);
}

.sesar-header .wp-block-navigation__responsive-container.is-menu-open .sesar-nav-cta {
	display: block;
	margin-top: 20px;
	border-bottom: 0;
}

.sesar-header .wp-block-navigation__responsive-container.is-menu-open .sesar-nav-cta .wp-block-navigation-item__content {
	padding: 15px 24px;
	border: 1.5px solid var(--s-ink);
	border-radius: 999px;
	font-size: 16px;
	text-align: center;
}

.sesar-header .wp-block-navigation__responsive-container.is-menu-open .sesar-nav-cta .wp-block-navigation-item__content:hover {
	background: var(--s-ink);
	color: var(--s-paper);
}

/*
 * Features dropdown: a cream panel under the pill on desktop, a compact two-column list in the open menu.
 * The "SeSar features menu" must-use plugin adds an icon (.sesar-nav-icon) and a one-line description
 * (.sesar-nav-desc) to each feature link; the desktop panel shows them, the open menu hides them.
 */
@media (min-width: 1080px) {
	.sesar-header .sesar-nav .wp-block-navigation__submenu-icon {
		width: 10px;
		height: 10px;
		margin-left: 5px;
		padding: 0;
	}

	.sesar-header .sesar-nav .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container {
		top: calc(100% + 29px);
		left: 50%;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2px 8px;
		min-width: 660px;
		padding: 12px;
		border: 0;
		border-radius: 28px;
		background-color: var(--s-paper);
		color: var(--s-ink);
		box-shadow: var(--wp--preset--shadow--menu);
		transform: translateX(-50%);
	}

	/* Keeps the panel open while the pointer crosses the gap under the pill. */
	.sesar-header .sesar-nav .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container::before {
		content: "";
		position: absolute;
		top: -29px;
		right: 0;
		left: 0;
		height: 29px;
	}

	.sesar-header .sesar-nav .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		align-items: flex-start;
		gap: 12px;
		padding: 10px 14px;
		border-radius: 14px;
		white-space: normal;
	}

	.sesar-header .sesar-nav .sesar-nav-icon {
		flex-shrink: 0;
		width: 20px;
		height: 20px;
		margin-top: 1px;
		color: var(--s-teal);
	}

	.sesar-header .sesar-nav .sesar-nav-text {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}

	.sesar-header .sesar-nav .sesar-nav-text .wp-block-navigation-item__label {
		font-weight: 600;
	}

	.sesar-header .sesar-nav .sesar-nav-desc {
		color: var(--s-muted);
		font-size: 13px;
		font-weight: 400;
		line-height: 1.35;
	}

	.sesar-header .sesar-nav .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover {
		background-color: var(--s-sand);
	}

	.sesar-header .sesar-nav .has-child .wp-block-navigation__submenu-container > .current-menu-item > .wp-block-navigation-item__content {
		background-color: var(--s-teal-mist);
	}

	.sesar-header .sesar-nav .wp-block-navigation__submenu-container > :is(.sesar-nav-extra, .sesar-nav-all) {
		margin-top: 4px;
		padding-top: 6px;
		border-top: 1px solid var(--s-line);
	}

	.sesar-header .sesar-nav .has-child:has(.current-menu-item) > .wp-block-navigation-item__content {
		color: var(--s-teal);
		text-decoration: underline;
		text-decoration-color: var(--s-gold);
		text-decoration-thickness: 2px;
		text-underline-offset: 7px;
	}
}

.sesar-header .sesar-nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
	text-decoration: none;
}

/* The page can't scroll while the menu is open, so a long menu scrolls inside the panel. */
.sesar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	max-height: calc(100vh - 150px);
	max-height: calc(100dvh - 150px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.sesar-header .sesar-nav .is-menu-open .wp-block-navigation-item.has-child {
	flex-direction: column;
	align-items: stretch;
}

.sesar-header .sesar-nav .is-menu-open .has-child:has(.current-menu-item) > .wp-block-navigation-item__content {
	color: var(--s-teal);
}

.sesar-header .sesar-nav .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation__submenu-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 16px;
	width: 100%;
	min-width: 0;
	margin-top: -6px;
	padding: 0 0 12px;
}

@media (min-width: 520px) {
	.sesar-header .sesar-nav .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation__submenu-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.sesar-header .sesar-nav .is-menu-open .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item {
	border-bottom: 0;
}

.sesar-header .sesar-nav .is-menu-open .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding: 8px 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--s-muted);
}

.sesar-header .sesar-nav .is-menu-open .has-child .wp-block-navigation__submenu-container > .current-menu-item > .wp-block-navigation-item__content,
.sesar-header .sesar-nav .is-menu-open .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover {
	color: var(--s-teal);
}

.sesar-header .sesar-nav .is-menu-open :is(.sesar-nav-icon, .sesar-nav-desc) {
	display: none;
}

@media (max-width: 640px) {
	.sesar-nav-pill {
		padding-left: 18px !important;
	}
}

/* ------------------------------------------------------------------ Footer */

.sesar-footer .sesar-footer-col {
	font-size: 15px;
	line-height: normal;
}

.sesar-footer a {
	color: var(--s-paper);
}

.sesar-footer a:hover {
	color: var(--s-gold);
}

.sesar-footer-bottom a {
	color: var(--s-on-dark);
}

.sesar-footer-bottom {
	line-height: normal;
}

/* ------------------------------------------------------------------ Cookie banner */

/*
 * The markup comes from the "SeSar analytics and index control" must-use plugin and stays
 * [hidden] until assets/js/consent.js shows it, so .sesar-consent never sets display.
 * Accept and reject are the same size and weight: refusing has to be as easy as agreeing.
 */
.sesar-consent {
	position: fixed;
	z-index: 9999;
	right: 16px;
	bottom: 16px;
	left: 16px;
	box-sizing: border-box;
	max-width: 1232px;
	margin-inline: auto;
	padding: clamp(18px, 2.5vw, 24px) clamp(18px, 3vw, 28px);
	border: 1px solid var(--s-dark-line);
	border-radius: 28px;
	background: var(--s-ink);
	color: var(--s-paper);
	box-shadow: var(--wp--preset--shadow--menu);
}

.sesar-consent-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 40px;
}

.sesar-consent-copy {
	flex: 1 1 420px;
	min-width: 0;
}

.sesar-consent-copy h2 {
	margin: 0 0 6px;
	color: var(--s-paper);
	font-family: var(--s-display);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.sesar-consent-copy p {
	max-width: 78ch;
	margin: 0;
	color: var(--s-on-dark);
	font-size: 14px;
	line-height: 1.55;
}

.sesar-consent-copy a {
	color: var(--s-gold);
}

.sesar-consent-copy a:hover {
	color: var(--s-paper);
}

.sesar-consent-actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 10px;
}

.sesar-consent .sesar-btn {
	padding: 13px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--s-paper);
	color: var(--s-ink);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--s-ease), color var(--s-ease);
}

.sesar-consent .sesar-btn:hover {
	background: var(--s-sand);
}

.sesar-consent .sesar-btn.is-primary {
	background: var(--s-gold);
}

.sesar-consent .sesar-btn.is-primary:hover {
	background: var(--s-gold-hover);
}

@media (max-width: 640px) {
	.sesar-consent {
		right: 8px;
		bottom: 8px;
		left: 8px;
		padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
		border-radius: 22px;
	}

	.sesar-consent-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.sesar-consent-copy {
		flex: 0 0 auto;
	}

	.sesar-consent-copy h2 {
		font-size: 18px;
	}

	.sesar-consent-copy p {
		font-size: 13px;
		line-height: 1.5;
	}

	.sesar-consent .sesar-btn {
		flex: 1 1 auto;
		padding: 12px 14px;
		font-size: 14px;
	}
}

/* ------------------------------------------------------------------ Paragraph styles */

p.is-style-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--s-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: normal;
	text-transform: uppercase;
}

p.is-style-eyebrow::before {
	content: "";
	flex-shrink: 0;
	width: 28px;
	height: 4px;
	border-radius: 2px;
	background: var(--s-gold);
}

p.is-style-eyebrow.has-text-align-center {
	justify-content: center;
}

p.is-style-label {
	font-family: var(--s-mono);
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: normal;
	text-transform: uppercase;
}

p.is-style-label:not([class*="-font-size"]) {
	font-size: 12px;
}

p.is-style-tag {
	display: inline-block;
	width: fit-content;
	border-radius: 999px;
	line-height: normal;
}

p.is-style-arrow-link {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

p.is-style-arrow-link::before {
	content: "→";
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--s-arrow-bg);
	color: var(--s-arrow-fg);
	font-size: 18px;
	font-weight: 400;
}

p.is-style-arrow-link a {
	color: inherit;
}

.sesar-mono-note {
	font-family: var(--s-mono);
	line-height: normal;
}

/* ------------------------------------------------------------------ Heading styles */

.is-style-dot::after {
	content: "";
	display: inline-block;
	width: 0.18em;
	height: 0.18em;
	margin-left: 0.08em;
	border-radius: 50%;
	background: var(--s-gold);
}

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

.wp-block-button__link {
	white-space: nowrap;
}

/* Long labels in page sections wrap on phones instead of running off the screen. */
@media (max-width: 480px) {
	.sesar-sections .wp-block-button__link {
		white-space: normal;
		text-align: center;
	}
}

.wp-block-button.is-style-gold .wp-block-button__link {
	background-color: var(--s-gold);
	color: var(--s-ink);
}

.wp-block-button.is-style-gold .wp-block-button__link:hover,
.wp-block-button.is-style-gold .wp-block-button__link:focus-visible {
	background-color: var(--s-gold-hover);
	color: var(--s-ink);
}

.wp-block-button.is-style-trial .wp-block-button__link {
	background-color: var(--s-gold);
	color: var(--s-paper);
}

.wp-block-button.is-style-trial .wp-block-button__link:hover,
.wp-block-button.is-style-trial .wp-block-button__link:focus-visible {
	background-color: var(--s-teal-dark);
	color: var(--s-paper);
}

.wp-block-button.is-style-ink .wp-block-button__link {
	background-color: var(--s-ink);
	color: var(--s-paper);
}

.wp-block-button.is-style-ink .wp-block-button__link:hover {
	background-color: #000;
	color: var(--s-paper);
}

.wp-block-button:is(.is-style-outline-light, .is-style-outline-dark, .is-style-pill-outline) .wp-block-button__link {
	padding: 16.5px 26.5px;
	border: 1.5px solid;
	background-color: transparent;
}

.wp-block-button.is-style-outline-light .wp-block-button__link {
	border-color: #6e9792;
	color: var(--s-paper);
}

.wp-block-button.is-style-outline-light .wp-block-button__link:hover {
	background-color: var(--s-teal-dark);
	color: var(--s-paper);
}

.wp-block-button.is-style-outline-dark .wp-block-button__link {
	border-color: var(--s-muted);
	color: var(--s-paper);
}

.wp-block-button.is-style-outline-dark .wp-block-button__link:hover {
	background-color: #2a2824;
	color: var(--s-paper);
}

.wp-block-button.is-style-pill-outline .wp-block-button__link {
	border-color: var(--s-ink);
	color: var(--s-ink);
}

.wp-block-button.is-style-pill-outline .wp-block-button__link:hover {
	background-color: var(--s-ink);
	color: var(--s-paper);
}

.wp-block-button.is-style-ghost .wp-block-button__link {
	background-color: transparent;
	color: var(--s-ink);
}

.wp-block-button.is-style-ghost .wp-block-button__link:hover {
	background-color: var(--s-sand);
	color: var(--s-ink);
}

.wp-block-button.is-size-compact .wp-block-button__link {
	padding: 15px 24px;
	font-size: 16px;
	line-height: 1.2;
}

.wp-block-button.is-size-small .wp-block-button__link {
	padding: 12px 20px;
	font-size: 15px;
}

.wp-block-button.is-size-small:is(.is-style-pill-outline) .wp-block-button__link {
	padding: 10.5px 18.5px;
}

/* ------------------------------------------------------------------ Lists */

ul:is(.is-style-tick-list, .is-style-tick-open, .is-style-cross-list, .is-style-rule-list) {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

:is(.is-style-tick-list, .is-style-tick-open, .is-style-cross-list) > li {
	display: flex;
	gap: 12px;
	padding: 11px 0;
	border-top: 1px solid var(--s-rule);
}

:is(.is-style-tick-list, .is-style-tick-open) > li::before {
	content: "✓";
	flex-shrink: 0;
	color: var(--s-mark);
}

.is-style-cross-list > li::before {
	content: "✕";
	flex-shrink: 0;
	color: var(--wp--preset--color--error);
}

.is-style-rule-list > li {
	padding: 12px 0;
	border-top: 1px solid var(--s-rule);
}

:is(.is-style-tick-list, .is-style-cross-list, .is-style-rule-list) > li:last-child {
	border-bottom: 1px solid var(--s-rule);
}

ul.sesar-tick-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	column-gap: 24px;
	align-content: start;
}

.sesar-list-roomy > li {
	padding: 12px 0;
}

.sesar-list-tight > li {
	padding: 10px 0;
}

/* ------------------------------------------------------------------ FAQ (core Details) */

.sesar-faq-list {
	border-top: 1.5px solid var(--s-ink);
}

.sesar-faq-list > * + * {
	margin-block-start: 0 !important;
}

.wp-block-details.is-style-faq {
	padding: 0;
	border-bottom: 1px solid var(--s-faq-rule);
}

.wp-block-details.is-style-faq > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 0;
	font-size: 18px;
	font-weight: 600;
	line-height: normal;
	color: var(--s-ink);
	list-style: none;
	cursor: pointer;
}

.sesar-faq-list.is-compact .wp-block-details.is-style-faq > summary {
	padding: 22px 0;
}

.wp-block-details.is-style-faq > summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.is-style-faq > summary::after {
	content: "+";
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--s-faq-off);
	color: var(--s-ink);
	font-size: 20px;
	font-weight: 500;
	transition: background-color var(--s-ease), color var(--s-ease);
}

.wp-block-details.is-style-faq[open] > summary::after {
	content: "–";
	background: var(--s-teal);
	color: var(--s-paper);
}

.wp-block-details.is-style-faq > :not(summary) {
	margin: 0 !important;
	padding: 0 clamp(0px, 6vw, 56px) 24px 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--s-muted);
}

.sesar-faq-list.is-compact .wp-block-details.is-style-faq > :not(summary) {
	padding-bottom: 22px;
}

/* ------------------------------------------------------------------ Group styles */

.is-style-link-card {
	position: relative;
}

.is-style-link-card a {
	color: inherit;
}

.is-style-link-card :is(.is-style-arrow-link, .wp-block-post-title, .sesar-card-link) a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.is-style-link-card .wp-block-post-terms,
.is-style-link-card .wp-block-post-terms a {
	position: relative;
	z-index: 2;
}

.is-style-link-card.has-sand-background-color:hover {
	background-color: var(--s-line) !important;
}

.is-style-link-card.has-teal-background-color:hover {
	background-color: var(--s-teal-dark) !important;
}

.is-style-link-card.has-ink-background-color:hover {
	background-color: #000 !important;
}

.is-style-link-card.has-paper-background-color:hover {
	background-color: #fff !important;
}

.is-style-link-card.has-paper-background-color:hover .wp-block-post-title,
.is-style-link-card:not(.has-background):hover .wp-block-post-title {
	color: var(--s-teal);
}

.is-style-link-card :is(h1, h2, h3, h4) a:hover {
	color: inherit;
}

.is-style-gold-strip {
	position: relative;
	overflow: hidden;
}

.is-style-gold-strip::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	height: 12px;
	background: var(--s-gold);
}

.is-style-gold-strip.sesar-strip-shadow::after {
	box-shadow: 0 -10px 18px -6px rgba(0, 0, 0, 0.55);
}

.is-style-bubble-in,
.is-style-bubble-out {
	max-width: 80%;
	padding: 12px 14px;
	line-height: normal;
}

.is-style-bubble-in {
	align-self: flex-start;
	border-radius: 16px 16px 16px 4px;
}

.is-style-bubble-out {
	align-self: flex-end;
	margin-left: auto;
	border-radius: 16px 16px 4px 16px;
}

.is-style-bubble-in.is-wide,
.is-style-bubble-out.is-wide {
	max-width: 84%;
	line-height: 1.4;
}

.is-style-placeholder {
	padding: clamp(22px, 4vw, 32px);
	border: 1.5px dashed #b9af9b;
	border-radius: 24px;
}

.sesar-media-placeholder {
	display: flex;
	align-items: flex-end;
	aspect-ratio: 16 / 9;
	padding: 16px;
	border-radius: 24px;
	background: repeating-linear-gradient(135deg, #e3dccd 0 14px, #ddd5c4 14px 28px);
}

/* ------------------------------------------------------------------ Shared section pieces */

.sesar-head-row {
	align-items: flex-end;
}

.sesar-card-rows > * + * {
	margin-block-start: 0 !important;
}

/* Gold top bar on the pricing plan card. */
.sesar-topbar {
	position: relative;
	overflow: hidden;
}

.sesar-topbar::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 8px;
	background: var(--s-gold);
}

/* Mascot image positioning. */
.sesar-mascot {
	margin: 0 !important;
	pointer-events: none;
}

.sesar-mascot img {
	display: block;
	width: 100%;
	height: auto;
}

/* Homepage hero. */
.sesar-hero-home__grid {
	align-items: end;
}

.sesar-hero-home__copy {
	padding: clamp(16px, 5vw, 56px) 0 clamp(24px, 8vw, 96px);
}

.sesar-hero-art {
	position: relative;
	height: 540px;
}

.sesar-hero-art .sesar-mascot {
	position: absolute;
	top: 20px;
	left: 255px;
	z-index: 1;
	width: 667px;
	height: 588px;
	transform: translateX(-50%);
}

.sesar-hero-art .sesar-mascot img {
	height: 100%;
}

.sesar-floor {
	min-height: 68px;
}

@media (max-width: 640px) {
	.sesar-hero-art {
		height: 360px;
	}

	.sesar-hero-art .sesar-mascot {
		top: auto;
		bottom: 0;
		left: 50%;
		width: min(110%, 480px);
		height: auto;
	}

	.sesar-hero-art .sesar-mascot img {
		height: auto;
	}

	.sesar-bay-board.is-home {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Receptionist band. */
.sesar-recept__copy {
	padding-bottom: 96px;
}

.sesar-recept__art {
	position: relative;
	min-height: 440px;
}

.sesar-recept__art .sesar-mascot {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 1;
	width: min(90%, 480px);
}

.sesar-recept__bubble {
	position: absolute !important;
	top: 14%;
	left: 0;
	z-index: 2;
	margin: 0 !important;
	border-radius: 20px 20px 20px 6px;
	box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
	transform: rotate(-3deg);
}

/* "Tap to chat with Sesar" (assets/js/convai.js): the status line, and the mascot during a call. */
.sesar-convai-note {
	margin: 14px 0 0;
	font-size: 14px;
	line-height: 1.45;
	opacity: 0.85;
}

.sesar-recept[data-call] .sesar-mascot img {
	filter: drop-shadow(0 0 22px rgba(217, 169, 58, 0.55));
	transition: filter 300ms ease;
}

.sesar-recept[data-call="speaking"] .sesar-mascot img {
	animation: sesar-speaking 1.4s ease-in-out infinite;
}

@keyframes sesar-speaking {
	50% {
		filter: drop-shadow(0 0 34px rgba(217, 169, 58, 0.85));
	}
}

/* Price CTA band with mascot. */
.sesar-cta-band {
	min-height: 460px;
}

.sesar-cta-band__art {
	position: relative;
	min-height: clamp(260px, 40vw, 340px);
}

.sesar-cta-band__art .sesar-mascot {
	position: absolute;
	right: 2%;
	bottom: 12px;
	z-index: 1;
	width: min(82%, 420px);
}

.sesar-price-row {
	align-items: baseline !important;
}

.sesar-price {
	font-family: var(--s-display);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 0.85;
}

/* Home steps. */
.sesar-step-num {
	-webkit-text-stroke: 2px var(--s-teal);
}

/* Day timeline. */
.sesar-timeline > * + * {
	margin-block-start: 0 !important;
}

/* Route card (mobile mechanics hero). */
.sesar-route-card {
	width: 100%;
	max-width: 440px;
	justify-self: center;
}

.wp-block-group.sesar-stop {
	grid-template-columns: 52px minmax(0, 1fr) auto;
	align-items: center;
	padding: 12px 8px;
	border-top: 1px solid var(--s-line);
}

/* Receptionist hero visual. The mascot hangs off the right edge, so clip it to the section. */
.sesar-hero-solution {
	overflow-x: clip;
}

.sesar-call-art {
	position: relative;
	min-height: 440px;
}

.sesar-call-art .sesar-mascot {
	position: absolute;
	right: -4%;
	bottom: -40px;
	width: min(70%, 380px);
}

.sesar-call-card {
	position: relative;
	z-index: 1;
	max-width: 380px;
}

.sesar-notice::before {
	content: "";
	display: inline-block;
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--s-gold);
	vertical-align: 1px;
}

/* Pricing plan card overlaps the hero. */
.sesar-plan-wrap {
	position: relative;
	z-index: 1;
}

/* Visit rows on About. */
.sesar-link-row {
	position: relative;
	justify-content: space-between;
	padding: 20px 0;
	border-top: 1px solid var(--s-dark-line);
}

.sesar-link-row:last-child {
	border-bottom: 1px solid var(--s-dark-line);
}

.sesar-link-row a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.sesar-link-row:hover,
.sesar-link-row:hover a {
	color: var(--s-gold);
}

.sesar-link-rows > * + * {
	margin-block-start: 0 !important;
}

/* ------------------------------------------------------------------ sesar/vrm-plate and chips */

.sesar-plate,
.wp-block-sesar-vrm-plate {
	display: block;
	width: fit-content;
	align-self: flex-start;
	padding: 2px 7px;
	border: 1px solid var(--s-ink);
	border-radius: 4px;
	background: var(--s-plate);
	color: var(--s-ink);
	font-family: var(--s-mono);
	font-size: 12px;
	font-weight: 500;
	line-height: normal;
	white-space: nowrap;
}

.sesar-plate.is-size-m {
	font-size: 13px;
}

.sesar-plate.is-size-l {
	padding: 6px 14px;
	border-width: 1.5px;
	border-radius: 6px;
	font-size: clamp(20px, 3vw, 28px);
	letter-spacing: 0.06em;
}

.sesar-chip,
.wp-block-sesar-status-chip {
	display: flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	font-size: 13px;
	font-weight: 500;
	line-height: normal;
}

.sesar-chip .sesar-dot {
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--s-status);
}

.sesar-chip.is-variant-pill {
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--s-teal-tint);
	color: var(--s-teal);
	font-weight: 600;
}

.is-status-booked { --s-status: var(--wp--preset--color--status-booked); }
.is-status-inbay { --s-status: var(--wp--preset--color--status-inbay); }
.is-status-parts { --s-status: var(--wp--preset--color--status-parts); }
.is-status-done { --s-status: var(--wp--preset--color--status-done); }

/* ------------------------------------------------------------------ sesar/bay-card */

.wp-block-sesar-bay-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: 14px;
	border-radius: 14px;
	background: var(--s-paper);
	color: var(--s-ink);
}

.wp-block-sesar-bay-card.is-size-l {
	padding: 16px;
	border-radius: 18px;
	background: var(--s-sand);
}

.wp-block-sesar-bay-card.is-dark {
	background: var(--s-teal);
	color: var(--s-paper);
}

.sesar-bay__head {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-family: var(--s-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	line-height: normal;
}

.wp-block-sesar-bay-card.is-size-s .sesar-bay__head {
	color: var(--s-subtle);
}

.wp-block-sesar-bay-card.is-size-s.is-dark .sesar-bay__head {
	color: var(--s-teal-mist);
}

.sesar-bay__job {
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
}

/* ------------------------------------------------------------------ sesar/timeline-row */

.wp-block-sesar-timeline-row {
	display: grid;
	grid-template-columns: clamp(52px, 12vw, 72px) 28px minmax(0, 1fr);
	align-items: stretch;
	column-gap: clamp(8px, 2vw, 16px);
	margin: 0;
}

.sesar-tl__time {
	padding: 22px 0;
	color: var(--s-gold);
	font-family: var(--s-mono);
	font-size: 15px;
	line-height: normal;
}

.sesar-tl__track {
	position: relative;
	display: flex;
	justify-content: center;
}

.sesar-tl__track::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	margin-left: -1px;
	background: #3a3732;
}

.sesar-tl__track .sesar-dot {
	position: relative;
	width: 14px;
	height: 14px;
	margin-top: 26px;
	border-radius: 50%;
	background: var(--s-status);
	box-shadow: 0 0 0 4px var(--s-ink);
}

.sesar-tl__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 0;
	border-bottom: 1px solid var(--s-dark-line);
}

.sesar-tl__text {
	font-size: clamp(16px, 2.4vw, 19px);
	font-weight: 600;
	line-height: normal;
}

.sesar-tl__tag {
	padding: 5px 12px;
	border: 1px solid var(--s-muted);
	border-radius: 999px;
	color: var(--s-on-dark);
	font-family: var(--s-mono);
	font-size: 12px;
	line-height: normal;
	white-space: nowrap;
}

/* ------------------------------------------------------------------ sesar/compare-row */

.sesar-compare {
	overflow: hidden;
}

.sesar-compare > * + * {
	margin-block-start: 0 !important;
}

.wp-block-sesar-compare-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(64px, 16vw, 160px) clamp(64px, 16vw, 160px);
	align-items: stretch;
	gap: 12px;
	margin: 0;
	padding: 0 clamp(16px, 4vw, 28px);
	border-top: 1px solid var(--s-line);
}

.wp-block-sesar-compare-row.is-header {
	align-items: center;
	border-top: 0;
	font-family: var(--s-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	line-height: normal;
	text-transform: uppercase;
}

.wp-block-sesar-compare-row.is-header > * {
	display: block;
	padding: 20px 0;
	color: var(--s-subtle);
	font-size: 12px;
	font-weight: 400;
}

.wp-block-sesar-compare-row.is-header .sesar-cmp__us {
	background: var(--s-teal);
	color: var(--s-paper);
	font-weight: 500;
	text-align: center;
}

.wp-block-sesar-compare-row.is-header .sesar-cmp__them {
	text-align: center;
	font-size: 12px;
}

.sesar-cmp__feature {
	padding: 17px 0;
	font-size: clamp(15px, 2.2vw, 16px);
	font-weight: 500;
	line-height: normal;
}

.sesar-cmp__us {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--s-teal-tint);
	color: var(--s-teal);
	font-size: 18px;
	font-weight: 700;
}

.sesar-cmp__them {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--s-faint);
	font-family: var(--s-mono);
	font-size: 13px;
}

/* ------------------------------------------------------------------ sesar/roi-calculator */

.wp-block-sesar-roi-calculator {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 16px;
}

.sesar-roi__inputs,
.sesar-roi__results {
	display: flex;
	flex-direction: column;
	padding: clamp(22px, 5vw, 36px);
	border-radius: 28px;
}

.sesar-roi__inputs {
	gap: 32px;
	background: var(--s-paper);
	color: var(--s-ink);
}

.sesar-roi__results {
	position: relative;
	gap: 24px;
	overflow: hidden;
	background: var(--s-teal);
	color: #fff;
}

.sesar-roi__field {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sesar-roi__row,
.sesar-roi__line {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	line-height: normal;
}

.sesar-roi__row label {
	font-size: 16px;
	font-weight: 600;
}

.sesar-roi__row output {
	color: var(--s-teal);
	font-family: var(--s-mono);
	font-size: 16px;
	font-weight: 500;
}

.sesar-roi__field input[type="range"] {
	width: 100%;
	height: 24px;
	margin: 0;
	accent-color: var(--s-teal);
}

.sesar-roi__range {
	display: flex;
	justify-content: space-between;
	color: var(--s-faint);
	font-family: var(--s-mono);
	font-size: 12px;
	line-height: normal;
}

.sesar-roi__line {
	padding-bottom: 16px;
	border-bottom: 1.5px solid #fff;
	font-size: 16px;
	font-weight: 500;
}

.sesar-roi__num {
	font-family: var(--s-mono);
	font-size: 18px;
	font-weight: 500;
}

.sesar-roi__total {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: auto;
}

.sesar-roi__total-label {
	font-family: var(--s-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: normal;
	text-transform: uppercase;
}

.sesar-roi__total-value {
	font-family: var(--s-display);
	font-size: var(--wp--preset--font-size--stat-l);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 0.9;
}

.sesar-roi__note {
	font-size: 14px;
	line-height: 1.45;
}

/* ------------------------------------------------------------------ Testimonial (core Quote) */

.wp-block-quote.is-style-testimonial {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	column-gap: clamp(12px, 3vw, 32px);
	margin: 0;
	padding: 0;
	border: 0;
}

.wp-block-quote.is-style-testimonial::before {
	content: "“";
	grid-row: 1 / span 9;
	color: #000;
	font-family: var(--s-display);
	font-size: clamp(72px, 12vw, 140px);
	font-weight: 800;
	line-height: 0.7;
}

.wp-block-quote.is-style-testimonial > p {
	grid-column: 2;
	margin: 0;
	color: #fff;
	font-family: var(--s-display);
	font-size: var(--wp--preset--font-size--quote);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.02;
	text-wrap: balance;
}

.wp-block-quote.is-style-testimonial cite {
	display: flex;
	grid-column: 2;
	align-items: center;
	gap: 10px;
	margin-top: 36px;
	color: #fff;
	font-family: var(--s-mono);
	font-size: 19px;
	font-style: normal;
	letter-spacing: 0.08em;
	line-height: normal;
	text-transform: uppercase;
}

.wp-block-quote.is-style-testimonial cite::before {
	content: "";
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--s-gold);
}

.sesar-testimonial {
	padding-bottom: 44px !important;
}

@media (max-width: 640px) {
	.sesar-testimonial {
		padding-bottom: 72px !important;
	}

	.wp-block-quote.is-style-testimonial cite {
		grid-column: 1 / -1;
		margin-top: 24px;
		font-size: 14px;
	}
}

/* ------------------------------------------------------------------ Blog */

.wp-block-categories.is-style-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 16px 0 0;
	list-style: none;
}

.wp-block-categories.is-style-pills li a {
	display: block;
	padding: 11px 18px;
	border-radius: 999px;
	background: var(--s-paper);
	color: var(--s-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
}

.wp-block-categories.is-style-pills li a:hover {
	background: var(--s-line);
	color: var(--s-ink);
}

.wp-block-categories.is-style-pills li.current-cat a {
	background: var(--s-ink);
	color: var(--s-paper);
}

.sesar-cover-placeholder {
	margin: 0;
	background: repeating-linear-gradient(135deg, #efeae0 0 14px, #e8e2d6 14px 28px);
}

.has-ink-background-color .sesar-cover-placeholder {
	background: repeating-linear-gradient(135deg, #2a2824 0 14px, #24221f 14px 28px);
}

.sesar-post-header .sesar-cover-placeholder {
	background: repeating-linear-gradient(135deg, #e3dccd 0 14px, #ddd5c4 14px 28px);
}

.sesar-post-card .wp-block-post-featured-image,
.sesar-post-card .wp-block-post-featured-image img {
	border-radius: 20px;
}

.sesar-post-card .wp-block-post-featured-image {
	overflow: hidden;
}

/* SeSar's cover images are social cards with left-aligned text: crop from the right. */
.sesar-post-card .wp-block-post-featured-image img,
.sesar-featured .wp-block-post-featured-image img {
	object-position: left center;
}

.sesar-post-card .wp-block-post-terms a,
.sesar-featured .wp-block-post-terms a,
.sesar-related-card .wp-block-post-terms a {
	color: inherit;
}

.sesar-featured {
	overflow: hidden;
	min-height: 300px;
}

.sesar-featured .wp-block-post-featured-image {
	height: 100%;
	min-height: 300px;
	margin: 0;
}

.sesar-featured .wp-block-post-featured-image img {
	height: 100%;
	object-fit: cover;
}

.sesar-featured .wp-block-read-more {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0;
	color: inherit;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.sesar-featured .wp-block-read-more::before {
	content: "→";
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--s-gold);
	color: var(--s-ink);
	font-size: 18px;
}

.wp-block-query-pagination {
	gap: 8px;
	font-weight: 600;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 999px;
	color: var(--s-ink);
	line-height: normal;
}

.wp-block-query-pagination a:hover {
	background: var(--s-sand);
	color: var(--s-ink);
}

.wp-block-query-pagination .page-numbers.current {
	background: var(--s-ink);
	color: var(--s-paper);
}

/* Single post. */
.sesar-post-header .wp-block-post-featured-image {
	position: relative;
	z-index: 1;
	min-height: 200px;
	margin-top: 16px !important;
	margin-bottom: -80px;
	overflow: hidden;
	border-radius: 28px;
}

.sesar-post-header .wp-block-post-featured-image img {
	height: 100%;
	object-fit: cover;
}

.sesar-crumbs a {
	color: var(--s-subtle);
}

.sesar-crumbs a:hover {
	color: var(--s-teal);
}

.sesar-crumbs .wp-block-post-terms a {
	color: var(--s-teal);
}

.sesar-doc-row {
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
}

.sesar-doc-row > .wp-block-post-content,
.sesar-doc-row > .sesar-doc-content {
	flex: 1;
	min-width: 0;
	max-width: 700px;
}

.sesar-prose {
	color: #2a2824;
	font-size: 18px;
	line-height: 1.65;
}

.sesar-prose > * + * {
	margin-block-start: 22px;
}

.sesar-prose > p:first-child:not([class*="-font-size"]) {
	color: var(--s-ink);
	font-size: 21px;
	line-height: 1.55;
	text-wrap: pretty;
}

.sesar-prose h2 {
	margin-block-start: 46px;
	color: var(--s-ink);
	scroll-margin-top: 24px;
}

.sesar-prose h2:not([class*="-font-size"]) {
	font-size: clamp(30px, 3.4vw, 40px);
	letter-spacing: -0.045em;
	line-height: 1;
}

.sesar-prose h3:not([class*="-font-size"]) {
	margin-block-start: 34px;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.sesar-prose a:where(:not(.wp-element-button)) {
	color: var(--s-teal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sesar-prose strong {
	color: var(--s-ink);
}

.sesar-prose :is(.is-style-tick-list, .is-style-cross-list) > li {
	padding: 10px 0;
}

.sesar-prose ul:not([class*="is-style-"]),
.sesar-prose ol {
	padding-left: 1.2em;
}

.sesar-prose ul:not([class*="is-style-"]) li + li,
.sesar-prose ol li + li {
	margin-top: 8px;
}

.sesar-prose .wp-block-image img {
	border-radius: 20px;
}

/* Inline CTA inside articles. */
.sesar-inline-cta {
	margin-block: 38px 16px !important;
}

.sesar-inline-cta + * {
	margin-block-start: 38px !important;
}

/* Table of contents. */
.wp-block-sesar-toc {
	position: sticky;
	top: 24px;
	flex-shrink: 0;
	width: 220px;
}

.admin-bar .wp-block-sesar-toc {
	top: 56px;
}

.sesar-toc__title {
	margin: 0;
	padding-bottom: 8px;
	color: var(--s-subtle);
	font-family: var(--s-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	line-height: normal;
	text-transform: uppercase;
}

.wp-block-sesar-toc ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wp-block-sesar-toc li a {
	display: block;
	padding: 8px 0;
	border-top: 1px solid var(--s-line);
	color: var(--s-ink);
	font-size: 15px;
	font-weight: 500;
	line-height: normal;
}

.wp-block-sesar-toc li a:hover {
	color: var(--s-teal);
}

.sesar-article .wp-block-sesar-toc li:last-child a {
	border-bottom: 1px solid var(--s-line);
}

.sesar-legal .sesar-toc__title {
	padding-bottom: 12px;
}

@media (max-width: 900px) {
	.wp-block-sesar-toc {
		display: none;
	}
}

/* Legal pages: numbered H2 sections. */
.sesar-legal-body {
	counter-reset: sesar-legal;
}

.sesar-legal-body > * + * {
	margin-block-start: 14px;
}

.sesar-legal-body h2 {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-block-start: 40px;
	color: var(--s-ink);
	font-size: var(--wp--preset--font-size--heading-xs);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.05;
	counter-increment: sesar-legal;
	scroll-margin-top: 24px;
}

.sesar-legal-body h2:first-child {
	margin-block-start: 0;
}

.sesar-legal-body h2::before {
	content: counter(sesar-legal, decimal-leading-zero);
	color: var(--s-gold-ink);
	font-family: var(--s-mono);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
}

.sesar-legal-body :is(p, li) {
	color: #2a2824;
	font-size: 17px;
	line-height: 1.65;
}

.sesar-legal-body h3 {
	margin-block-start: 28px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.sesar-legal-body ul,
.sesar-legal-body ol {
	padding-left: 1.2em;
}

/* Navigation as tabs (legal doc switcher). */
.wp-block-navigation.is-style-tabs .wp-block-navigation__container {
	flex-wrap: wrap;
	gap: 8px;
}

.wp-block-navigation.is-style-tabs .wp-block-navigation-item__content {
	padding: 11px 18px;
	border-radius: 999px;
	background: var(--s-paper);
	color: var(--s-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
}

.wp-block-navigation.is-style-tabs .wp-block-navigation-item__content:hover {
	background: var(--s-line);
}

.wp-block-navigation.is-style-tabs .current-menu-item > .wp-block-navigation-item__content {
	background: var(--s-ink);
	color: var(--s-paper);
}

/* ------------------------------------------------------------------ 404 */

body.error404 {
	background: var(--s-teal);
}

body.error404 .wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body.error404 .sesar-main {
	display: flex;
	flex: 1;
	flex-direction: column;
}

body.error404 .sesar-not-found {
	display: flex;
	flex: 1;
	flex-direction: column;
}

body.error404 .sesar-not-found > .wp-block-group:first-child {
	flex: 1;
	width: 100%;
}

.sesar-todo {
	padding-left: 16px;
	border-left: 2px dashed #d6cdba;
	color: var(--s-faint) !important;
	font-size: 16px !important;
}

.sesar-404-art {
	position: relative;
	min-height: clamp(300px, 40vw, 480px);
}

.sesar-404-art .sesar-mascot {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: min(100%, 480px);
	transform: translateX(-50%);
}

/* ------------------------------------------------------------------ Book a demo: Gravity Forms (Orbital) */

.sesar-demo-card .gform_wrapper.gform-theme--orbital,
.sesar-demo-card .gform_wrapper {
	--gf-color-primary: var(--s-teal);
	--gf-color-primary-rgb: 31, 92, 87;
	--gf-color-primary-contrast: var(--s-paper);
	--gf-color-in-ctrl: #fff;
	--gf-color-in-ctrl-contrast: var(--s-ink);
	--gf-color-out-ctrl-dark: var(--s-ink);
	--gf-color-danger: var(--wp--preset--color--error);
	--gf-font-family-base: var(--wp--preset--font-family--body);
	--gf-font-family-primary: var(--wp--preset--font-family--body);
	--gf-ctrl-border-color: var(--s-line);
	--gf-ctrl-border-width: 1.5px;
	--gf-ctrl-radius: 14px;
	--gf-ctrl-font-size: 16px;
	--gf-ctrl-size: 52px;
	--gf-ctrl-padding-x: 16px;
	--gf-ctrl-border-color-focus: var(--s-teal);
	--gf-ctrl-shadow: none;
	--gf-ctrl-outline-color-focus: transparent;
	--gf-ctrl-label-font-size-primary: 15px;
	--gf-ctrl-label-font-weight-primary: 600;
	--gf-ctrl-label-color-primary: var(--s-ink);
	--gf-ctrl-label-color-req: var(--s-ink);
	--gf-ctrl-btn-bg-color-primary: var(--s-ink);
	--gf-ctrl-btn-bg-color-hover-primary: #000;
	--gf-ctrl-btn-color-primary: var(--s-paper);
	--gf-ctrl-btn-radius: 999px;
	--gf-ctrl-btn-font-size: 16px;
	--gf-ctrl-btn-font-weight: 600;
	--gf-ctrl-btn-padding-y: 18px;
	--gf-ctrl-btn-padding-x: 28px;
	--gf-form-gap-y: 22px;
	--gf-field-gap-x: 18px;
	font-family: var(--wp--preset--font-family--body);
}

.sesar-demo-card .gform_wrapper .gfield_label,
.sesar-demo-card .gform_wrapper .gform-field-label--type-sub {
	color: var(--s-ink);
	font-size: 15px;
	font-weight: 600;
}

.sesar-demo-card .gform_wrapper .gfield_required {
	display: none;
}

.sesar-demo-card .gform_wrapper :is(input[type="text"], input[type="email"], input[type="tel"]) {
	box-sizing: border-box;
	width: 100%;
	padding: 14px 16px;
	border: 1.5px solid var(--s-line);
	border-radius: 14px;
	background: #fff;
	color: var(--s-ink);
	font: inherit;
	font-size: 16px;
	box-shadow: none;
	outline: none;
}

.sesar-demo-card .gform_wrapper :is(input[type="text"], input[type="email"], input[type="tel"]):focus {
	border-color: var(--s-teal);
}

.sesar-demo-card .gform_wrapper .gfield_error :is(input[type="text"], input[type="email"], input[type="tel"]) {
	border-color: var(--wp--preset--color--error);
}

/* Radio buttons as pills ("What kind of garage?") and tiles ("How many bays?"). */
.sesar-demo-card .gfield.sesar-pills .gfield_radio,
.sesar-demo-card .gfield.sesar-tiles .gfield_radio {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sesar-demo-card .gfield.sesar-tiles .gfield_radio {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sesar-demo-card .gfield:is(.sesar-pills, .sesar-tiles) .gchoice {
	position: relative;
	margin: 0;
}

.sesar-demo-card .gfield:is(.sesar-pills, .sesar-tiles) .gchoice input[type="radio"] {
	position: absolute;
	opacity: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}

.sesar-demo-card .gfield:is(.sesar-pills, .sesar-tiles) .gchoice label {
	display: block;
	margin: 0;
	padding: 12px 20px;
	border: 1.5px solid var(--s-line);
	border-radius: 999px;
	background: #fff;
	color: var(--s-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
	cursor: pointer;
}

.sesar-demo-card .gfield.sesar-tiles .gchoice label {
	padding: 14px 0;
	border-radius: 14px;
	font-family: var(--s-mono);
	font-weight: 500;
	text-align: center;
}

.sesar-demo-card .gfield:is(.sesar-pills, .sesar-tiles) .gchoice label::before,
.sesar-demo-card .gfield:is(.sesar-pills, .sesar-tiles) .gchoice label::after {
	display: none !important;
}

.sesar-demo-card .gfield:is(.sesar-pills, .sesar-tiles) .gchoice input[type="radio"]:checked + label {
	border-color: var(--s-teal);
	background: var(--s-teal);
	color: var(--s-paper);
}

.sesar-demo-card .gfield:is(.sesar-pills, .sesar-tiles) .gchoice input[type="radio"]:focus-visible + label {
	outline: 2px solid var(--s-teal);
	outline-offset: 2px;
}

.sesar-demo-card .gform_wrapper .gform_footer,
.sesar-demo-card .gform_wrapper .gform_page_footer {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin: 22px 0 0;
	padding: 0;
}

.sesar-demo-card .gform_wrapper .gform_footer :is(input[type="submit"], button) {
	width: 100%;
	padding: 18px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--s-ink);
	color: var(--s-paper);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.sesar-demo-card .gform_wrapper .gform_footer :is(input[type="submit"], button):hover {
	background: #000;
}

/* One summary message instead of the default banner and per-field messages. */
.sesar-demo-card .gform_wrapper .gform_validation_errors {
	margin: 0 0 22px;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

.sesar-demo-card .gform_wrapper .gform_validation_errors > * {
	color: var(--wp--preset--color--error);
	font-size: 15px;
	font-weight: 500;
}

.sesar-demo-card .gform_wrapper .gform_validation_errors .gform-icon {
	display: none;
}

.sesar-demo-card .gform_wrapper .gfield_validation_message,
.sesar-demo-card .gform_wrapper .validation_message {
	display: none;
}

.sesar-demo-thanks {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	padding: 24px 0;
}

.sesar-demo-thanks .sesar-tick-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--s-teal);
	color: var(--s-paper);
	font-size: 24px;
	font-weight: 700;
}

.sesar-demo-thanks h2 {
	margin: 0;
	font-size: clamp(34px, 4vw, 48px);
	letter-spacing: -0.05em;
	line-height: 0.95;
}

.sesar-demo-thanks p {
	margin: 0;
	color: var(--s-muted);
	font-size: 17px;
	line-height: 1.5;
}

.sesar-demo-thanks .sesar-mono {
	color: var(--s-ink);
	font-family: var(--s-mono);
}

.sesar-demo-thanks .sesar-btn-gold {
	padding: 17px 26px;
	border-radius: 999px;
	background: var(--s-gold);
	color: var(--s-ink);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

.sesar-demo-thanks .sesar-btn-gold:hover {
	background: var(--s-gold-hover);
	color: var(--s-ink);
}

@media (max-width: 559px) {
	.sesar-demo-card .gform_wrapper .gform_fields > .gfield {
		grid-column: 1 / -1 !important;
	}
}

.sesar-form-missing {
	padding: 24px;
	border: 1.5px dashed #b9af9b;
	border-radius: 14px;
	color: var(--s-muted);
	font-size: 16px;
}

/* ------------------------------------------------------------------ Feature, contact and other pages */

/* Hero summary card. */
.sesar-summary-card {
	width: 100%;
	max-width: 440px;
	justify-self: center;
}

.sesar-summary-card .sesar-card-head > * {
	margin: 0;
}

.sesar-summary-card .wp-block-sesar-vrm-plate {
	align-self: flex-start;
	margin-inline: 6px;
}

.sesar-summary-rows > * + * {
	margin-block-start: 0 !important;
}

.wp-block-group.sesar-summary-row {
	padding: 12px 6px;
	border-top: 1px solid var(--s-line);
}

.wp-block-group.sesar-summary-row:last-child {
	border-bottom: 1px solid var(--s-line);
}

.sesar-summary-ticks {
	padding: 6px;
}

.sesar-summary-card .is-style-bubble-out {
	align-self: flex-end;
	max-width: 92%;
}

/* Screenshots and videos in split sections and feature rows. */
.sesar-shot {
	margin: 0;
}

.sesar-shot :is(img, video),
.sesar-hero-video video {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
}

/* Portrait phone captures keep a sensible height and sit centred in their column. */
.sesar-shot :is(img, video) {
	width: auto;
	max-width: 100%;
	max-height: min(640px, 80vh);
	margin-inline: auto;
}

.sesar-hero-video video {
	max-width: 464px;
	margin-inline: auto;
}

@media (min-width: 900px) {
	.sesar-feature-row.is-reversed > :first-child {
		order: 2;
	}
}

.sesar-rows-list > li strong {
	display: inline-block;
	margin-bottom: 2px;
}

/* Before and after table (case study). */
.wp-block-table.sesar-ba-table {
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
	background: var(--s-sand);
}

.wp-block-table.sesar-ba-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.45;
}

.wp-block-table.sesar-ba-table thead {
	border: 0;
}

.wp-block-table.sesar-ba-table :is(th, td) {
	padding: 14px 20px;
	border: 0;
	text-align: left;
	vertical-align: top;
}

.wp-block-table.sesar-ba-table th {
	padding-top: 18px;
	color: var(--s-subtle);
	font-family: var(--s-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wp-block-table.sesar-ba-table td {
	border-top: 1px solid var(--s-line);
}

.wp-block-table.sesar-ba-table td:first-child {
	color: var(--s-muted);
}

.wp-block-table.sesar-ba-table td:last-child {
	font-weight: 600;
}

/* Quote cards. */
.wp-block-quote.sesar-quote-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	padding: clamp(22px, 4vw, 32px);
	border: 0;
	border-radius: 28px;
	background: var(--s-sand);
}

.wp-block-quote.sesar-quote-card > p {
	margin: 0;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.45;
}

.wp-block-quote.sesar-quote-card cite {
	margin-top: auto;
	color: var(--s-muted);
	font-size: 15px;
	font-style: normal;
	line-height: 1.45;
}

.wp-block-quote.sesar-quote-card cite strong {
	color: var(--s-ink);
}

/* Link lists (sitemap). */
.sesar-link-list > li a {
	font-weight: 600;
	text-decoration: none;
}

.sesar-link-list > li a:hover {
	color: var(--s-teal);
}

.sesar-link-list > li em {
	display: block;
	margin-top: 2px;
	color: var(--s-muted);
	font-size: 15px;
	font-style: normal;
}

/* Links inside running copy. */
:is(.sesar-hero-simple, .sesar-split, .sesar-faq) p a:where(:not(.wp-element-button)),
.sesar-rows-list a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* Closing CTA band. */
.sesar-cta-close__copy {
	flex: 1 1 420px;
}

/* Sign-up embed (contact). The crop hides the sign-up page's own header. */
.sesar-embed {
	overflow: hidden;
	width: 100%;
	border-radius: 24px;
	background: var(--s-paper);
	box-shadow: var(--wp--preset--shadow--float);
}

.sesar-embed iframe {
	display: block;
	width: 100%;
	height: var(--sesar-embed-height, 980px);
	margin-top: calc(var(--sesar-embed-crop, 0px) * -1);
	border: 0;
}

/* ------------------------------------------------------------------ Editor-only niceties */

.editor-styles-wrapper .sesar-hero-art .sesar-mascot,
.editor-styles-wrapper .sesar-recept__art .sesar-mascot,
.editor-styles-wrapper .sesar-cta-band__art .sesar-mascot,
.editor-styles-wrapper .sesar-404-art .sesar-mascot,
.editor-styles-wrapper .sesar-call-art .sesar-mascot {
	pointer-events: auto;
}
