/* site styles - design system (stage 2): tokens, light theme by default, dark theme from the switcher (html[data-theme="dark"]) */

/* fonts, self-hosted (no request to Google), variable, latin + latin-ext (ă ș ț); licence OFL in static/fonts */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin.woff2") format("woff2");
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* tokens */

:root {
	/* brand (logo) */
	--brand-navy: #0a1b32;
	--brand-orange: #f05224;

	/* light theme (default) */
	--bg: #ffffff;
	--fg: #0a1b32;
	--muted: #4a5568;
	--line: #dde3ea;
	--header-bg: #ffffff;
	--header-fg: #0a1b32;
	--header-line: #dde3ea;
	--hero-bg: #ffffff;
	--hero-fg: #0a1b32;
	--hero-muted: #4a5568;
	--section-bg: #f4f6f9;
	--card-bg: #ffffff;
	--card-line: #dde3ea;
	--link: #c43c14;
	--button-bg: #f05224;
	--button-fg: #0a1b32;
	--ghost: #0a1b32;
	--tag-bg: #0a1b32;
	--tag-fg: #ffffff;
	--submenu-bg: #ffffff;
	--input-bg: #ffffff;
	--input-line: #767676;
	--focus: #c43c14;

	/* status labels */
	--status-live-bg: #e3f4ea;
	--status-live-fg: #1e6b3f;
	--status-early-bg: #fdeee8;
	--status-early-fg: #b8370f;
	--status-soon-bg: #eef1f5;
	--status-soon-fg: #4a5568;
	--status-request-bg: #e3e9f3;
	--status-request-fg: #13294b;

	/* messages */
	--error: #b00020;
	--notice-success-bg: #e6f4ea;
	--notice-error-bg: #fdecea;

	/* charts and illustrations */
	--chart-1: #f05224;
	--chart-2: #13294b;
	--chart-3: #7f9fcc;
	--skeleton: #e3e8ef;
	--shadow: 0 12px 32px rgba(10, 27, 50, .12);

	/* client logos: light tiles in both themes (the logos are made for white) */
	--logo-bg: #ffffff;

	/* same in both themes: ai band and footer */
	--band-bg: #13294b;
	--band-fg: #ffffff;
	--band-muted: #c9d1dc;
	--band-accent: #ff6a3d;
	--footer-bg: #0a1b32;
	--footer-fg: #9aa7b8;
	--footer-link: #e8edf4;

	/* type */
	--font-display: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--text-sm: .875rem;
	--text-base: 1.0625rem;
	--text-lg: 1.25rem;
	--text-h3: 1.25rem;
	--text-h2: clamp(1.5rem, 3vw, 2rem);
	--text-h1: clamp(2rem, 5vw, 3.25rem);

	/* spacing, radius */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 72px;
	--radius: 8px;
	--radius-sm: 6px;
	--container: 1120px;

	color-scheme: light;
}

html[data-theme="dark"] {
	--bg: #0a1b32;
	--fg: #e8edf4;
	--muted: #9aa7b8;
	--line: #22395c;
	--header-bg: #07111f;
	--header-fg: #e8edf4;
	--header-line: #07111f;
	--hero-bg: #07111f;
	--hero-fg: #ffffff;
	--hero-muted: #c9d1dc;
	--section-bg: #0a1b32;
	--card-bg: #13294b;
	--card-line: #13294b;
	--link: #ff7a52;
	--button-bg: #d4431a;
	--button-fg: #ffffff;
	--ghost: #ffffff;
	--tag-bg: #f05224;
	--tag-fg: #0a1b32;
	--submenu-bg: #13294b;
	--input-bg: #0a1b32;
	--input-line: #9aa7b8;
	--focus: #ff7a52;

	--status-live-bg: #12392a;
	--status-live-fg: #7fdcaa;
	--status-early-bg: #3a2018;
	--status-early-fg: #ff8a66;
	--status-soon-bg: #1b2b44;
	--status-soon-fg: #c9d1dc;
	--status-request-bg: #13294b;
	--status-request-fg: #c9d1dc;

	--error: #ff8a80;
	--notice-success-bg: #12392a;
	--notice-error-bg: #3a1a1e;

	--chart-1: #ff6a3d;
	--chart-2: #c9d1dc;
	--chart-3: #4f7fbf;
	--skeleton: #22395c;
	--shadow: 0 12px 32px rgba(0, 0, 0, .35);

	--logo-bg: #e8edf4;

	color-scheme: dark;
}

/* base */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.6;
	color: var(--fg);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	/* footer at the bottom on short pages */
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#content {
	flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 var(--space-4);
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.01em;
	text-wrap: balance;
}

h1 {
	font-size: var(--text-h1);
	letter-spacing: -.02em;
}

h2 {
	font-size: var(--text-h2);
}

h3 {
	font-size: var(--text-h3);
	font-weight: 700;
}

p {
	margin: 0 0 var(--space-4);
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--link);
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

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

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--space-4);
}

.container.narrow {
	max-width: 640px;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 10;
	padding: 8px 12px;
	background: var(--fg);
	color: var(--bg);
}

.skip-link:focus {
	top: 8px;
}

/* buttons */

.button {
	display: inline-block;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	background: var(--button-bg);
	color: var(--button-fg);
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.button-ghost {
	background: transparent;
	border-color: var(--ghost);
	color: var(--ghost);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

/* buttons after a table, notes or a block (eg: packages) */
.table-wrap + .actions,
.tables-2 + .actions,
.integrations + .actions,
.integration-any + .actions,
.notes + .actions,
.feature + .actions {
	margin-top: var(--space-6);
}

/* header */

.site-header {
	background: var(--header-bg);
	color: var(--header-fg);
	border-bottom: 1px solid var(--header-line);
}

.site-header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	padding-top: var(--space-4);
	padding-bottom: var(--space-4);
}

.site-logo {
	display: block;
}

.site-logo img {
	display: block;
	width: auto;
	height: 32px;
}

.logo-on-dark,
html[data-theme="dark"] .logo-on-light {
	display: none !important;
}

html[data-theme="dark"] .logo-on-dark {
	display: block !important;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--header-fg);
	opacity: .75;
	cursor: pointer;
}

.theme-toggle:hover {
	opacity: 1;
}

.lang-switch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	color: var(--header-fg);
	font-family: var(--font-display);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: .04em;
	text-decoration: none;
	opacity: .75;
}

.lang-switch:hover {
	opacity: 1;
	text-decoration: underline;
}

.theme-toggle svg {
	display: block;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.menu-toggle {
	padding: 8px 12px;
	border: 1px solid var(--header-fg);
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--header-fg);
	font: inherit;
	font-size: var(--text-sm);
	cursor: pointer;
}

.menu-toggle-close,
.menu-toggle[aria-expanded="true"] .menu-toggle-open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-close {
	display: inline;
}

.theme-toggle-light,
html[data-theme="dark"] .theme-toggle-dark {
	display: none;
}

html[data-theme="dark"] .theme-toggle-light {
	display: block;
}

.site-menu {
	display: none;
	width: 100%;
}

.site-menu.is-open {
	display: block;
}

.site-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-menu li {
	padding: 6px 0;
}

.site-menu a {
	color: var(--header-fg);
	text-decoration: none;
}

.site-menu a:hover {
	text-decoration: underline;
}

.site-menu .submenu-label {
	padding: 0;
	border: 0;
	background: none;
	color: var(--header-fg);
	font: inherit;
	font-weight: 600;
}

/* current page (and its parent) in the menu */
.site-menu a.is-active,
.site-menu .submenu-label.is-active {
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--brand-orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

.site-menu .has-submenu ul {
	padding-left: var(--space-4);
}

.site-menu .button {
	margin-top: var(--space-3);
	color: var(--button-fg);
}

.site-menu .button:hover {
	text-decoration: none;
}

/* mobile menu: contact us instead of request demo */
.site-menu .menu-button-desktop {
	display: none;
}

@media (min-width: 960px) {
	.site-header-inner {
		flex-wrap: nowrap;
	}

	.menu-toggle {
		display: none;
	}

	.site-menu {
		display: flex;
		align-items: center;
		gap: var(--space-5);
		width: auto;
		margin-left: auto;
	}

	.site-menu > ul {
		display: flex;
		gap: var(--space-5);
	}

	.site-menu .has-submenu {
		position: relative;
	}

	.site-menu .has-submenu ul {
		display: none;
		position: absolute;
		top: 100%;
		left: -16px;
		z-index: 5;
		min-width: 260px;
		padding: var(--space-2) var(--space-4);
		background: var(--submenu-bg);
		border: 1px solid var(--line);
		border-radius: var(--radius);
		box-shadow: 0 8px 24px rgba(7, 17, 31, .18);
	}

	.site-menu .has-submenu:hover ul,
	.site-menu .has-submenu.is-open ul {
		display: block;
	}

	.site-menu .submenu-label {
		cursor: pointer;
	}

	.site-menu .button {
		margin-top: 0;
	}

	.site-menu .menu-button-desktop {
		display: inline-block;
	}

	.site-menu .menu-button-mobile {
		display: none;
	}

	.header-tools {
		order: 3;
	}
}

/* breadcrumbs, above the hero */

.breadcrumbs {
	padding-top: var(--space-4);
	background: var(--hero-bg);
	color: var(--hero-muted);
	font-size: var(--text-sm);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
	list-style: none;
}

.breadcrumbs li + li::before {
	content: "/" / "";
	margin: 0 var(--space-2);
	opacity: .6;
}

.breadcrumbs a {
	color: var(--hero-muted);
}

.breadcrumbs a:hover {
	color: var(--link);
}

.breadcrumbs [aria-current="page"] {
	color: var(--hero-fg);
	font-weight: 600;
}

.breadcrumbs + .hero {
	padding-top: var(--space-6);
}

/* sections */

.hero {
	padding: var(--space-8) 0;
	background: var(--hero-bg);
	color: var(--hero-fg);
}

.hero h1 {
	max-width: 22ch;
}

.hero .lead {
	max-width: 56ch;
	color: var(--hero-muted);
}

.lead {
	font-size: var(--text-lg);
}

.section {
	padding: var(--space-8) 0;
}

.section-alt {
	background: var(--section-bg);
}

/* text pages (eg: accessibility, privacy): the hero and the first section have the same background, a smaller space between them */
.hero:not(.hero-split):has(+ .section:not(.section-alt)) {
	padding-bottom: var(--space-6);
}

.hero:not(.hero-split) + .section:not(.section-alt) {
	padding-top: 0;
}

/* the dark hero is darker than the page, the section keeps some padding */
html[data-theme="dark"]:not(.a11y-contrast) .hero:not(.hero-split) + .section:not(.section-alt) {
	padding-top: var(--space-6);
}

/* section title without space below (eg: the problem on the solution pages) */
.section-head-flush {
	margin-bottom: 0;
}

.section-head-flush p:last-child {
	margin-bottom: 0;
}

/* section without top padding, after a section with the same background */
.section-tight {
	padding-top: 0;
}

/* hero with an illustration on the right (eg: insight), under the text on mobile */
.hero-split .container {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-7);
	align-items: center;
}

/* two columns: text and illustration (eg: insight reports) */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-6);
	align-items: center;
}

.split .section-head {
	margin-bottom: 0;
}

@media (min-width: 960px) {
	.hero-split .container,
	.split {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.split {
		gap: var(--space-8);
	}
}

.section-head {
	max-width: 60ch;
	margin-bottom: var(--space-6);
}

.section-head p {
	color: var(--muted);
}

/* a longer intro on one line (eg: the team) */
.section-head-wide {
	max-width: none;
}

/* product logo (eg: product cards, the window bar of the hero illustration) */
.product-logo {
	display: block;
	width: auto;
	height: 96px;
	color: var(--fg);
}

.eyebrow {
	display: block;
	margin-bottom: var(--space-2);
	font-family: var(--font-display);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
}

/* cards: maximum 3 per row */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: var(--space-4);
}

@media (min-width: 960px) {
	.cards {
		grid-template-columns: repeat(3, 1fr);
	}

	.cards-2,
	.cards-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* cards in one column, next to an illustration (eg: ai page) */
@media (min-width: 960px) {
	.cards.cards-1 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ai page: more room for the cards; the illustration on the left in every other section */
@media (min-width: 960px) {
	.ai-group {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}

	.ai-group-reverse {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	}

	.ai-group-reverse > .mock {
		order: -1;
	}

	/* the illustration as tall as the cards, its content spread on the height */
	.ai-group {
		align-items: stretch;
	}

	.ai-group > .mock {
		display: flex;
		flex-direction: column;
	}

	.ai-group > .mock > :last-child {
		flex: 1;
		justify-content: space-around;
	}

	/* integrations: the group name and the assistants on one row, on the right of the title */
	.ai-integrations .integration-group {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-end;
		gap: var(--space-3);
	}

	.ai-integrations .integration-group h3 {
		margin-bottom: 0;
	}
}

/* the 4 products on one row (exception to max 3) */
@media (min-width: 1100px) {
	.cards-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

.card {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	min-width: 0;
	padding: var(--space-5);
	background: var(--card-bg);
	border: 1px solid var(--card-line);
	border-radius: var(--radius);
}

.card h3 {
	margin: 0;
}

.card p {
	margin: 0;
	color: var(--muted);
}

.card ul {
	margin: 0;
	padding-left: 1.2em;
	color: var(--muted);
}

/* h2 with the size of a card / block title (eg: case studies list, problem and solution) */
.card .card-title,
.feature .feature-title {
	margin: 0 0 var(--space-2);
	font-size: var(--text-h3);
	font-weight: 700;
}

.card .card-title {
	margin: 0;
}

/* small line at the bottom of a card (eg: "for: clinics") */
.card .card-meta {
	margin-top: auto;
	padding-top: var(--space-2);
	font-size: var(--text-sm);
}

.card-meta strong {
	color: var(--fg);
}

/* button at the bottom of a card (eg: ai, request a demo) */
.card-button {
	align-self: flex-start;
	margin-top: auto;
}

.card-link {
	margin-top: auto;
	padding-top: var(--space-2);
	font-weight: 600;
}

/* home: the visitor problems, the whole card links to the solution */
.problem-card {
	color: var(--fg);
	text-decoration: none;
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.problem-card:hover {
	border-color: var(--brand-orange);
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}

.problem-card p {
	color: var(--muted);
}

.problem-card .card-link {
	color: var(--link);
}

.problem-card:hover .card-link {
	text-decoration: underline;
}

/* case study cards: cover with the industry icon (eg: home, case studies) */
.study-card {
	overflow: hidden;
}

.study-cover {
	position: relative;
	display: flex;
	align-items: center;
	height: 112px;
	margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-3);
	padding: 0 var(--space-5);
	overflow: hidden;
	background: radial-gradient(circle at 85% 20%, rgba(240, 82, 36, .35), transparent 55%), var(--brand-navy);
	color: #ffffff;
}

.study-cover-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--brand-orange);
}

.study-cover-mark {
	position: absolute;
	right: -12px;
	bottom: -28px;
	opacity: .14;
}

/* product cards on home: the name on the left, the product logo on the right */
.product-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	min-height: 48px;
}

.product-card-head h3 {
	margin: 0;
	line-height: 1.2;
}

/* the status (eg: coming soon) at the end of the text, so the texts and the links stay aligned */
.product-card p .status {
	margin-left: var(--space-1);
	vertical-align: 1px;
}

.product-card .product-logo {
	flex: none;
	height: 48px;
	margin: 0;
}

/* tags (products) and status labels */

.tag,
.status {
	display: inline-block;
	align-self: flex-start;
	padding: 2px 10px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.6;
	text-transform: uppercase;
	white-space: nowrap;
}

.card-labels {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.tag {
	background: var(--tag-bg);
	color: var(--tag-fg);
}

.status-live {
	background: var(--status-live-bg);
	color: var(--status-live-fg);
}

.status-early {
	background: var(--status-early-bg);
	color: var(--status-early-fg);
}

.status-soon {
	background: var(--status-soon-bg);
	color: var(--status-soon-fg);
}

.status-request {
	background: var(--status-request-bg);
	color: var(--status-request-fg);
}

/* dark band (eg. ai), same in both themes */

.band {
	padding: var(--space-7) 0;
	background: var(--band-bg);
	color: var(--band-fg);
}

.band h2 {
	margin-bottom: var(--space-3);
}

.band p,
.band ul {
	max-width: 60ch;
	color: var(--band-muted);
}

.band li + li {
	margin-top: var(--space-2);
}

.band a:not(.button) {
	color: var(--band-accent);
}

.band .tag {
	background: var(--band-accent);
	color: var(--brand-navy);
}

/* status labels on the band: the dark theme colors, so live / early access stay different */
.band .status-live {
	background: #12392a;
	color: #7fdcaa;
}

.band .status-early {
	background: #3a2018;
	color: #ff8a66;
}

.band .button {
	margin-top: var(--space-2);
}

.band-labels {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	margin-bottom: var(--space-4);
}

.band-label {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--band-fg);
}

/* illustrations: app window with charts, decorative (aria-hidden), no text and no real data */

.mock {
	overflow: hidden;
	border: 1px solid var(--card-line);
	border-radius: var(--radius);
	background: var(--card-bg);
	box-shadow: var(--shadow);
}

.mock-bar {
	display: flex;
	gap: 6px;
	padding: var(--space-3) var(--space-4);
	border-bottom: 1px solid var(--line);
	align-items: center;
}

/* product logo in the window bar (eg: product hero) */
.mock-bar .product-logo {
	height: 40px;
	margin: -8px 0 -8px auto;
}

/* hero illustrations come alive: the tiles light up in turn, bars and rings keep moving (no motion with reduced motion) */
.hero-visual .mock-dash:not(.mock-hub) > .mock-tile {
	animation: mock-touch 6s ease-in-out infinite;
}

.hero-visual .mock-dash:not(.mock-hub) > .mock-tile:nth-child(2) {
	animation-delay: 1s;
}

.hero-visual .mock-dash:not(.mock-hub) > .mock-tile:nth-child(3) {
	animation-delay: 2s;
}

.hero-visual .mock-dash:not(.mock-hub) > .mock-tile:nth-child(4) {
	animation-delay: 3s;
}

.hero-visual .mock-dash:not(.mock-hub) > .mock-tile:nth-child(5) {
	animation-delay: 4s;
}

.hero-visual .mock-dash:not(.mock-hub) > .mock-tile:nth-child(6) {
	animation-delay: 5s;
}

.hero-visual .mock-bars span {
	animation: mock-grow .6s ease-out both, mock-breathe 2.4s ease-in-out infinite alternate;
	animation-delay: calc(var(--i) * 60ms), calc(.6s + var(--i) * 200ms);
}

.hero-visual .mock-ring,
.hero-visual .mock-state-talk {
	animation: mock-pulse 1.6s ease-in-out infinite;
}

.hero-visual .mock-agent:nth-child(even) .mock-state-talk {
	animation-delay: .8s;
}

.hero-visual .mock-conv-active,
.hero-visual .mock-msg-agent {
	animation: mock-pulse 3s ease-in-out infinite;
}

.hero-visual .chat-typing span {
	animation-iteration-count: infinite;
}

@keyframes mock-breathe {
	to {
		transform: scaleY(.8);
	}
}

/* call, chat and history illustrations (eg: the ai bands, case studies): the messages come in turn, the recording blinks, the waveform moves */
.mock-call > .mock-ask,
.mock-call > .mock-msg,
.mock-call > .mock-products,
.mock-timeline > .mock-event {
	animation: mock-in 10s ease-out infinite backwards;
}

.mock-call > :nth-child(2),
.mock-timeline > :nth-child(2) {
	animation-delay: .8s;
}

.mock-call > :nth-child(3),
.mock-timeline > :nth-child(3) {
	animation-delay: 1.6s;
}

.mock-call > :nth-child(4),
.mock-timeline > :nth-child(4) {
	animation-delay: 2.4s;
}

.mock-call > :nth-child(5) {
	animation-delay: 3.2s;
}

.mock-products > .mock-product {
	animation: mock-touch 6s ease-in-out infinite;
	animation-delay: 2.4s;
}

.mock-products > .mock-product:nth-child(2) {
	animation-delay: 4.4s;
}

.mock-products > .mock-product:nth-child(3) {
	animation-delay: 6.4s;
}

.mock-rec {
	animation: mock-pulse 1.2s ease-in-out infinite;
}

.mock-wave span {
	animation: mock-breathe 1.2s ease-in-out infinite alternate;
}

.mock-wave span:nth-child(3n + 1) {
	animation-delay: .3s;
}

.mock-wave span:nth-child(3n + 2) {
	animation-delay: .6s;
}

@keyframes mock-in {
	0% {
		opacity: 0;
		transform: translateY(8px);
	}

	6%,
	88% {
		opacity: 1;
		transform: none;
	}

	96%,
	100% {
		opacity: 0;
	}
}

.mock-bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--skeleton);
}

.mock-dash {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-3);
	padding: var(--space-4);
	background: var(--section-bg);
}

.mock-tile {
	min-width: 0;
	padding: var(--space-3);
	border-radius: var(--radius-sm);
	background: var(--card-bg);
}

.mock-kpi {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.mock-c1 {
	color: var(--chart-1);
}

.mock-c2 {
	color: var(--chart-2);
}

.mock-c3 {
	color: var(--chart-3);
}

.mock polyline {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.mock-area {
	fill: var(--chart-1);
	opacity: .12;
}

.mock-spark {
	display: block;
	width: 100%;
	height: 24px;
}

.mock-bars {
	display: flex;
	grid-column: span 2;
	align-items: flex-end;
	gap: var(--space-2);
	height: 150px;
}

.mock-bars span {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: flex-end;
	gap: 2px;
	height: 100%;
	transform-origin: bottom;
	animation: mock-grow .6s ease-out both;
	animation-delay: calc(var(--i) * 60ms);
}

.mock-bars i {
	display: block;
	border-radius: 3px;
	background: currentColor;
}

@keyframes mock-grow {
	from {
		transform: scaleY(0);
	}
}

.mock-donut-tile {
	display: flex;
	align-items: center;
	justify-content: center;
}

.mock-donut {
	width: min(100%, 104px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: conic-gradient(var(--chart-1) 0 42%, var(--chart-2) 0 74%, var(--chart-3) 0 100%);
	-webkit-mask: radial-gradient(circle, transparent 54%, #000 55%);
	mask: radial-gradient(circle, transparent 54%, #000 55%);
}

.mock-line {
	grid-column: 1 / -1;
}

.mock-line svg {
	display: block;
	width: 100%;
	height: 70px;
}

/* wallboard: agents with their state, sla gauge, callers in queue (eg: voice) */
.mock-agents {
	display: grid;
	grid-column: span 2;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-2);
}

.mock-agent {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: var(--space-2);
	border-radius: var(--radius-sm);
	background: var(--section-bg);
}

.mock-agent .sk {
	width: 70%;
	height: 6px;
}

.mock-avatar {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--skeleton);
}

.mock-state {
	width: 100%;
	height: 6px;
	border-radius: 999px;
}

.mock-state-talk {
	background: var(--status-live-fg);
}

.mock-state-pause {
	background: var(--chart-1);
}

.mock-state-free {
	background: var(--chart-3);
}

.mock-gauge {
	background: conic-gradient(var(--status-live-fg) 0 82%, var(--skeleton) 0 100%);
}

.mock-queue {
	display: flex;
	grid-column: 1 / -1;
	flex-direction: column;
	gap: var(--space-2);
}

.mock-caller {
	display: grid;
	grid-template-columns: 10px 30% 1fr;
	align-items: center;
	gap: var(--space-3);
}

.mock-ring {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--chart-1);
	animation: mock-pulse 1.2s ease-in-out 4;
}

.mock-wait {
	height: 6px;
	border-radius: 999px;
	background: var(--chart-3);
}

@keyframes mock-pulse {
	50% {
		opacity: .3;
	}
}

/* recorded call with transcription (eg: voice ai band) */
.band .mock {
	border-color: rgba(255, 255, 255, .12);
}

.mock-call {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-4);
}

.mock-call-head {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.mock-call-head .sk-short {
	width: 30%;
}

.mock-rec {
	width: 10px;
	height: 10px;
	margin-left: auto;
	border-radius: 50%;
	background: var(--chart-1);
}

.mock-wave {
	display: flex;
	align-items: center;
	gap: 2px;
	height: 56px;
}

.mock-wave span {
	flex: 1;
	border-radius: 2px;
	background: var(--chart-3);
}

/* the part already played */
.mock-wave span:nth-child(-n+18) {
	background: var(--chart-1);
}

.mock-msg {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 78%;
	padding: var(--space-3);
	border-radius: 12px 12px 12px 4px;
	background: var(--section-bg);
}

.mock-msg-agent {
	align-self: flex-end;
	border-radius: 12px 12px 4px 12px;
	background: var(--status-request-bg);
}

/* shop dashboard: sales by source (donut and legend), orders by status (eg: shop) */
.mock-sources {
	display: flex;
	grid-column: span 2;
	align-items: center;
	gap: var(--space-4);
}

.mock-sources .mock-donut {
	flex: none;
	width: 96px;
}

.mock-legend {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--space-3);
	min-width: 0;
}

.mock-legend > span,
.mock-statuses > span {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.mock-legend .sk {
	flex: 1;
}

.mock-legend .sk-short {
	flex: .5;
}

.mock-dot {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: currentColor;
}

.mock-statuses {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--space-3);
}

.mock-statuses .sk {
	flex: 1;
}

.mock-badge {
	flex: none;
	width: 18px;
	height: 12px;
	border-radius: 999px;
}

.mock-badge-c1 {
	background: var(--chart-1);
}

.mock-badge-c3 {
	background: var(--chart-3);
}

.mock-badge-ok {
	background: var(--status-live-fg);
}

/* ai shopping: the question and the products from the store (eg: shop ai band) */
.mock-ask {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	align-self: flex-end;
	gap: 6px;
	width: 62%;
	padding: var(--space-3);
	border-radius: 12px 12px 4px 12px;
	background: var(--chart-1);
}

.mock-ask .sk {
	width: 100%;
	background: rgba(255, 255, 255, .55);
}

.mock-ask .sk-short {
	width: 45%;
}

.mock-products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-3);
}

.mock-product {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: var(--space-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

.mock-img {
	aspect-ratio: 4 / 3;
	border-radius: 4px;
	background: linear-gradient(135deg, var(--skeleton), var(--section-bg));
}

.mock-price {
	width: 50%;
	height: 10px;
	margin-top: 2px;
	border-radius: 999px;
	background: var(--chart-1);
}

/* inbox: conversations by channel, the thread, the customer record with an incoming call (eg: crm) */
.mock-inbox {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .9fr);
	min-height: 300px;
	background: var(--section-bg);
}

.mock-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: var(--space-2);
	border-right: 1px solid var(--line);
	background: var(--card-bg);
}

.mock-conv {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-2);
	border-radius: var(--radius-sm);
}

.mock-conv-active {
	background: var(--section-bg);
}

.mock-lines {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.mock-thread {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-3);
}

.mock-thread .mock-msg {
	background: var(--card-bg);
}

.mock-thread .mock-msg-agent {
	background: var(--status-request-bg);
}

.mock-reply {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-top: auto;
	padding: var(--space-2) var(--space-3);
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--card-bg);
}

.mock-reply .sk {
	flex: 1;
}

.mock-send {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--chart-1);
}

.mock-record {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-3);
	border-left: 1px solid var(--line);
	background: var(--card-bg);
}

.mock-record > .sk {
	width: 70%;
}

.mock-record > .sk-short {
	width: 45%;
}

.mock-avatar-lg {
	width: 44px;
	height: 44px;
	margin-top: var(--space-2);
}

.mock-incoming {
	display: flex;
	align-items: center;
	align-self: stretch;
	gap: var(--space-2);
	padding: var(--space-2);
	border-radius: var(--radius-sm);
	background: var(--status-live-bg);
}

.mock-incoming .mock-ring {
	background: var(--status-live-fg);
}

.mock-incoming .sk {
	flex: 1;
}

.mock-fields {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	gap: var(--space-2);
	margin-top: var(--space-2);
	padding-top: var(--space-3);
	border-top: 1px solid var(--line);
}

/* customer record history (eg: crm ai band) */
.mock-timeline {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding-left: var(--space-1);
}

.mock-event {
	display: flex;
	gap: var(--space-3);
}

.mock-event .mock-dot {
	margin-top: 2px;
	border-radius: 50%;
}

.mock-event .sk {
	width: 85%;
}

.mock-event .sk-short {
	width: 35%;
}

.mock-wave-sm {
	height: 32px;
	margin-top: var(--space-1);
}

/* ai answer with a chart (eg: ai hero) */
.mock-msg-wide {
	width: 88%;
}

.mock-bars-sm {
	height: 96px;
	margin: var(--space-2) 0;
}

.mock-typing {
	display: flex;
	align-self: flex-start;
	padding: var(--space-2) 0;
}

.mock-typing span {
	background: var(--skeleton);
}

/* hero illustrations (home and products): on wide screens, the same height as the text */
@media (min-width: 960px) {
	.hero-split .container {
		align-items: stretch;
	}

	.hero-split .hero-text {
		align-self: center;
	}

	.hero-split .hero-visual,
	.hero-split .hero-visual > .mock {
		display: flex;
		flex-direction: column;
	}

	.hero-split .hero-visual > .mock {
		flex: 1;
	}

	.hero-split .hero-visual > .mock > :last-child {
		flex: 1;
	}
}

/* all the products and the ai assistant in the middle (eg: home hero) */
@media (min-width: 960px) {
	.mock-hub-tile {
		justify-content: space-between;
	}

	.mock-hub-ai .mock-msg-wide {
		flex: 1;
		justify-content: space-between;
	}

	.mock-hub-ai .mock-bars-sm {
		flex: 1;
		height: auto;
		min-height: 64px;
	}
}

.mock-hub {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
	grid-template-rows: auto auto;
}

.mock-hub > :nth-child(1) {
	grid-area: 1 / 1;
}

.mock-hub > :nth-child(2) {
	grid-area: 2 / 1;
}

.mock-hub > :nth-child(4) {
	grid-area: 1 / 3;
}

.mock-hub > :nth-child(5) {
	grid-area: 2 / 3;
}

.mock-hub .product-logo {
	align-self: flex-start;
	max-width: 100%;
	height: 56px;
	margin: 0;
}

.mock-hub-ai .mock-call {
	flex: 1;
	justify-content: space-between;
}

.mock-hub-ai .mock-ask {
	width: 80%;
}

.mock-hub-ai .mock-msg-wide {
	width: 100%;
}

.mock-hub-ai .mock-bars-sm {
	height: 64px;
}

.mock-hub-tile {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	animation: mock-touch 4s ease-in-out infinite;
}

.mock-hub > :nth-child(2) {
	animation-delay: 1s;
}

.mock-hub > :nth-child(4) {
	animation-delay: 2s;
}

.mock-hub > :nth-child(5) {
	animation-delay: 3s;
}

/* lines from the ai tile to every product, the dashes flow towards the products */
.mock-hub {
	position: relative;
}

.mock-hub-links {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.mock-hub-links path {
	fill: none;
	stroke: var(--chart-1);
	stroke-width: 2;
	stroke-dasharray: 5 5;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
	animation: mock-flow .8s linear infinite;
}

.mock-hub-links .mock-hub-dot {
	stroke-width: 9;
	stroke-dasharray: none;
	animation: mock-pulse 4s ease-in-out infinite;
	animation-delay: calc(var(--i) * 1s);
}

@keyframes mock-flow {
	to {
		stroke-dashoffset: -10;
	}
}

@keyframes mock-touch {
	0%,
	30%,
	100% {
		box-shadow: none;
	}

	12% {
		box-shadow: 0 0 0 2px var(--chart-1);
	}
}

.mock-hub-ai {
	grid-area: 1 / 2 / 3 / 3;
	display: flex;
	flex-direction: column;
	border: 2px solid var(--chart-1);
}

.mock-hub-ai .mock-call {
	padding: var(--space-2) 0 0;
}

.mock-hub-client {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.mock-hub-client .sk {
	flex: 1;
}

.mock-hub-bars {
	height: 44px;
}

/* skeleton lines (text placeholders in illustrations) */
.sk {
	display: block;
	height: 8px;
	border-radius: 999px;
	background: var(--skeleton);
}

.sk-short {
	width: 45%;
}

.sk-value {
	width: 70%;
	height: 14px;
}

/* how it works: steps with arrows, one under the other on mobile (eg: insight) */

.flow {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-4);
	align-items: center;
}

.flow-step {
	min-width: 0;
	padding: var(--space-5);
	background: var(--card-bg);
	border: 1px solid var(--card-line);
	border-radius: var(--radius);
}

.flow-step h3 {
	margin-bottom: var(--space-3);
	font-size: 1.0625rem;
}

.flow-step .chips + h3 {
	margin-top: var(--space-5);
}

.flow-step p {
	color: var(--muted);
}

.flow-step p:last-child {
	margin-bottom: 0;
}

.flow-label {
	margin: var(--space-4) 0 var(--space-2);
	font-family: var(--font-display);
	font-size: var(--text-sm);
	font-weight: 700;
}

.flow-step .flow-label {
	color: var(--fg);
}

.flow-next {
	margin-top: var(--space-5);
	padding-top: var(--space-5);
	border-top: 1px solid var(--line);
}

/* the middle step, same in both themes (band colors) */
.flow-core {
	border-color: var(--band-bg);
	border-top: 4px solid var(--band-accent);
	background: var(--band-bg);
	color: var(--band-fg);
}

.flow-core .eyebrow {
	color: var(--band-accent);
}

.flow-step.flow-core p {
	color: var(--band-muted);
}

.chips-any li {
	border-style: dashed;
	border-color: var(--input-line);
}

.flow-arrow {
	position: relative;
	justify-self: center;
	width: 2px;
	height: 32px;
	background: var(--input-line);
}

.flow-arrow::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -1px;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--input-line);
	border-bottom: 2px solid var(--input-line);
	transform: translateX(-50%) rotate(45deg);
}

@media (min-width: 960px) {
	.flow {
		grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1.25fr);
		gap: var(--space-3);
	}

	.flow-arrow {
		width: 100%;
		height: 2px;
	}

	.flow-arrow::after {
		left: auto;
		right: 0;
		top: 50%;
		bottom: auto;
		transform: translateY(-50%) rotate(-45deg);
	}
}

/* chat illustration on the band: the questions are text, the answers are decorative */

.chat {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	max-width: 760px;
	margin: 0 auto;
}

.chat .chat-q {
	align-self: flex-end;
	max-width: 85%;
	margin: 0;
	padding: var(--space-3) var(--space-4);
	border-radius: 16px 16px 4px 16px;
	background: var(--band-accent);
	color: var(--brand-navy);
	font-weight: 600;
}

.chat-a {
	display: flex;
	flex-direction: column;
	align-self: flex-start;
	gap: var(--space-2);
	width: min(100%, 420px);
	padding: var(--space-4);
	border-radius: 16px 16px 16px 4px;
	background: rgba(255, 255, 255, .08);
}

.chat-a .sk {
	background: rgba(255, 255, 255, .22);
}

.chat-bars {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: var(--space-2);
}

.chat-bars span {
	height: 10px;
	border-radius: 999px;
	background: var(--band-muted);
	transform-origin: left;
	animation: chat-grow .8s ease-out both;
}

.chat-bars span:first-child {
	background: var(--band-accent);
}

@keyframes chat-grow {
	from {
		transform: scaleX(0);
	}
}

/* typing dots: 4 times only (no moving content longer than 5s) */
.chat-typing {
	flex-direction: row;
	width: auto;
	gap: 6px;
}

.chat-typing span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--band-muted);
	animation: chat-dot 1.2s ease-in-out 4;
}

.chat-typing span:nth-child(2) {
	animation-delay: .15s;
}

.chat-typing span:nth-child(3) {
	animation-delay: .3s;
}

@keyframes chat-dot {
	0%,
	60%,
	100% {
		opacity: .4;
	}

	30% {
		opacity: 1;
		transform: translateY(-3px);
	}
}

/* layers: insight over the sources, decorative (eg: insight reports) */

.layers {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}

.layer {
	position: relative;
	padding: var(--space-3) var(--space-4);
	border: 1px solid var(--card-line);
	border-radius: var(--radius-sm);
	background: var(--card-bg);
	font-family: var(--font-display);
	font-size: var(--text-sm);
	font-weight: 700;
	text-align: center;
}

.layer-top {
	padding: var(--space-4);
	border-color: var(--band-bg);
	border-top: 4px solid var(--band-accent);
	background: var(--band-bg);
	color: var(--band-fg);
	font-size: var(--text-base);
}

.layer-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-3);
}

.layer-row .layer::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 100%;
	width: 2px;
	height: var(--space-5);
	background: var(--input-line);
}

.layer-row .layer:nth-child(n+3)::before {
	display: none;
}

.layer-any {
	border-style: dashed;
	border-color: var(--input-line);
	color: var(--muted);
	font-weight: 600;
}

@media (min-width: 768px) {
	.layer-row {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.layer-row .layer:nth-child(n+3)::before {
		display: block;
	}
}

/* price on request: text and button in a box (eg: insight) */

.price-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-5);
	padding: var(--space-6);
	border: 1px solid var(--card-line);
	border-left: 4px solid var(--brand-orange);
	border-radius: var(--radius);
	background: var(--card-bg);
}

.price-box h2 {
	margin-bottom: var(--space-2);
}

.price-box p {
	margin: 0;
	color: var(--muted);
}

/* section title with a link on the right (eg: all case studies) */

.section-head-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-3);
	max-width: none;
}

.section-head-row h2 {
	margin: 0;
}

.section-head-row a {
	font-weight: 600;
}

/* features: short title + text, 3 columns, no card */

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: var(--space-6);
}

/* 4 features: 2 rows, 2 columns */
@media (min-width: 768px) {
	.features-2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

.feature {
	padding-top: var(--space-4);
	border-top: 3px solid var(--brand-orange);
}

.feature h3 {
	margin-bottom: var(--space-2);
}

.feature p {
	margin: 0;
	color: var(--muted);
}

/* numbered answers (eg: solution pages), the number in the brand color */
.answers {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: answer;
}

.answers .feature::before {
	content: counter(answer);
	counter-increment: answer;
	display: block;
	margin-bottom: var(--space-2);
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--link);
}

.answers .feature p {
	color: var(--fg);
	font-size: var(--text-lg);
}

.answers + .features,
.answers + .on-request {
	margin-top: var(--space-7);
}

/* the products used, after the case studies or the price */
.products-used {
	margin-top: var(--space-7);
}

/* about page: the partners first, with their emails, 2 on a row */
.team-partners-text {
	margin-bottom: var(--space-5);
	text-align: center;
	font-family: var(--font-display);
	font-size: var(--text-lg);
	font-weight: 700;
}

/* the partners in the same style and size as the rest of the team (centered, photo above), with the email */
.team-partners {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-6) var(--space-8);
	margin: 0 0 var(--space-7);
	padding: 0;
	list-style: none;
	text-align: center;
}

.team-partner {
	flex: 0 1 420px;
}

.team-partner h3 {
	margin-bottom: var(--space-1);
	font-size: var(--text-base);
}

.team-partner p {
	margin: 0 0 var(--space-2);
	color: var(--muted);
}

.team-partner a {
	overflow-wrap: anywhere;
}

/* the rest of the team, up to 5 on a row, the last row centered */
.team {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-6) var(--space-5);
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.team-member {
	flex: 0 0 calc((100% - 4 * var(--space-5)) / 5);
	min-width: 140px;
}

.team-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	margin: 0 auto var(--space-3);
	border-radius: 50%;
	object-fit: cover;
}

/* no photo yet: a silhouette */
.team-silhouette {
	overflow: hidden;
	background: var(--section-bg);
	color: var(--line);
	box-shadow: inset 0 0 0 1px var(--line);
}

.team-member h3 {
	margin-bottom: var(--space-1);
	font-size: var(--text-base);
}

.team-member p {
	margin: 0;
	color: var(--muted);
}

/* approved figures (max 3 on a page) */

.figures {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-6);
	margin: var(--space-7) 0 0;
	padding: var(--space-5) 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
	color: var(--muted);
	font-size: var(--text-lg);
}

.figures strong {
	font-family: var(--font-display);
	font-weight: 800;
	color: var(--fg);
}

/* home "why while1": an icon on every reason, the figures as tiles with big numbers */
.why-features .feature {
	padding: var(--space-5);
	border: 1px solid var(--card-line);
	border-top: 3px solid var(--brand-orange);
	border-radius: var(--radius);
	background: var(--card-bg);
}

.why-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: var(--space-4);
	border-radius: 16px;
	background: rgba(240, 82, 36, .12);
	color: var(--brand-orange);
}

/* wide icons (eg: the map of romania) may go a little outside their box */
.why-icon svg {
	overflow: visible;
}

.why-figures {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: var(--space-4);
	padding: 0;
	border-top: 0;
}

.why-figures li {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	padding: var(--space-5);
	border-radius: var(--radius);
	background: var(--brand-navy);
	color: #c9d3e0;
}

html[data-theme="dark"] .why-figures li {
	border: 1px solid var(--card-line);
	background: var(--card-bg);
}

.why-figures svg {
	flex: none;
	color: var(--brand-orange);
}

.why-figures strong {
	color: #ffffff;
	font-size: 1.75rem;
	line-height: 1.2;
}

/* list of items with a status label (eg: ai band) */

.status-list {
	display: grid;
	gap: var(--space-3);
	margin: var(--space-4) 0 var(--space-5);
	padding: 0;
	list-style: none;
	color: var(--muted);
}

.band .status-list {
	color: var(--band-muted);
}

/* coming soon items under a feature list, at the bottom (aligned on the same row) */
.feature {
	display: flex;
	flex-direction: column;
}

.feature .status-list {
	margin-top: auto;
	margin-bottom: 0;
	padding-top: var(--space-6);
}

.status-list li {
	display: flex;
	align-items: baseline;
	gap: var(--space-3);
}

.plain-list {
	margin: 0;
	padding-left: 1.2em;
	color: var(--muted);
}

/* the single discreet "available on request" line */
.on-request {
	margin: var(--space-6) 0 0;
	color: var(--muted);
	font-size: var(--text-sm);
}

/* integrations: groups of names */

.integrations {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: var(--space-5);
}

.integration-group h3,
.integration-group h4 {
	margin-bottom: var(--space-3);
	font-size: 1rem;
}

/* integration groups inside a card (eg: crm page, already have a crm or an erp) */
.card .integration-group {
	margin-top: var(--space-3);
}

.own-crm-any {
	margin-top: var(--space-4);
}

/* crm page: the product text on the left, its connectors on the right */
@media (min-width: 960px) {
	.own-crm-card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		gap: var(--space-6);
	}

	.own-crm-card .integration-group:first-child {
		margin-top: 0;
	}
}

.chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.chips li {
	padding: 4px 12px;
	border: 1px solid var(--card-line);
	border-radius: 999px;
	background: var(--card-bg);
	font-size: var(--text-sm);
}

/* integration logo (like the old site): on a white tile in both themes, the logos are made for a light background */
.chips .chip-logo {
	display: flex;
	padding: 2px 6px;
	border-radius: var(--radius);
	background: #ffffff;
}

.chip-logo img {
	display: block;
	width: 88px;
	height: 48px;
	object-fit: contain;
}

/* logo without the name (eg: power bi): the icon next to the name */
.chips .chip-icon {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.chip-icon img {
	display: block;
	width: 20px;
	height: 20px;
}

/* black icon (eg: chatgpt), white in the dark theme */
html[data-theme="dark"] .chip-icon img[src*="chatgpt"] {
	filter: invert(1);
}

/* while1 product logo as a chip (eg: insight sources), navy on the white tile in both themes */
.chip-product {
	color: var(--brand-navy);
}

.chip-product .product-logo {
	height: 48px;
}

.integration-any {
	padding: var(--space-4);
	border: 1px dashed var(--input-line);
	border-radius: var(--radius);
}

.integration-any p {
	margin: 0;
	color: var(--muted);
}

/* notes and trust bar under the pricing table */

.notes {
	margin: var(--space-4) 0 0;
	padding-left: 1.2em;
	color: var(--muted);
	font-size: var(--text-sm);
}

.trust {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-5);
	margin: var(--space-5) 0;
	padding: 0;
	list-style: none;
	font-weight: 600;
}

.trust li::before {
	content: "✓" / "";
	margin-right: var(--space-2);
	color: var(--status-live-fg);
}

/* pricing table */

.table-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

/* tables with few columns (eg: price per user) */
.table-wrap-narrow {
	max-width: 32rem;
}

/* heading of a table, when a section has more tables */
.table-title {
	margin: var(--space-6) 0 var(--space-3);
}

/* two tables side by side (eg: crm prices and options), one under the other on mobile */
.tables-2 {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 var(--space-6);
	align-items: start;
}

.tables-2 .table-title {
	margin-top: 0;
}

.tables-2 > div + div {
	margin-top: var(--space-6);
}

@media (min-width: 768px) {
	.tables-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tables-2 > div + div {
		margin-top: 0;
	}
}

.table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--text-sm);
	font-variant-numeric: tabular-nums;
}

.table th,
.table td {
	padding: var(--space-3) var(--space-4);
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.table thead th {
	padding-top: var(--space-3);
	padding-bottom: var(--space-3);
	background: var(--section-bg);
	color: var(--muted);
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.3;
	vertical-align: middle;
}

.table tbody th {
	font-family: var(--font-display);
	font-weight: 700;
	white-space: nowrap;
}

.table tbody td {
	white-space: nowrap;
}

.table tbody tr {
	transition: background-color .15s;
}

.table tbody tr:hover {
	background: var(--section-bg);
}

/* numbers aligned to the right (all columns except the first) */
.table-numbers thead th:not(:first-child),
.table-numbers td {
	text-align: right;
}

.table-numbers td {
	vertical-align: baseline;
}

.table-numbers tbody th {
	vertical-align: baseline;
}

.table tbody tr:last-child th,
.table tbody tr:last-child td {
	border-bottom: 0;
}

/* small text under a cell value (package description, promo price) */
.table .cell-note {
	display: block;
	min-width: 14rem;
	margin-top: var(--space-1);
	color: var(--muted);
	font-family: var(--font-body);
	font-size: .8125rem;
	font-weight: 400;
	line-height: 1.4;
	white-space: normal;
}

.table td .cell-note {
	min-width: 0;
	white-space: nowrap;
}

/* discount per order (eg. -2%) */
.discount {
	display: inline-block;
	margin-left: var(--space-1);
	padding: 0 var(--space-1);
	border-radius: var(--radius);
	background: var(--status-live-bg);
	color: var(--status-live-fg);
	font-size: .75rem;
	font-weight: 700;
}

.not-separate {
	margin: var(--space-6) 0;
}

/* tooltip on hover and keyboard focus (the text stays readable for screen readers) */
.tip {
	position: relative;
	border-bottom: 1px dotted currentColor;
	cursor: help;
}

.tip-text {
	position: absolute;
	right: 0;
	bottom: calc(100% + var(--space-2));
	z-index: 10;
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius);
	background: var(--band-bg);
	color: #ffffff;
	font-size: .8125rem;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s;
}

/* below the text (table heads: above would be cut by the scrolling wrapper) */
.tip-below .tip-text {
	top: calc(100% + var(--space-2));
	bottom: auto;
}

.tip:hover .tip-text,
.tip:focus .tip-text {
	opacity: 1;
	visibility: visible;
}

.tip.is-hidden .tip-text {
	opacity: 0;
	visibility: hidden;
}

.table .price {
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 800;
	white-space: nowrap;
}

/* text instead of a price (eg: Included, On request): same size as the prices, so the rows keep their height */
.table .price-text {
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--muted);
	white-space: nowrap;
}

/* client logos: black and white tiles, in color on hover */

.logo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.logo-grid li {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-2);
	background: var(--logo-bg);
	border: 1px solid var(--card-line);
	border-radius: var(--radius-sm);
}

.logo-grid img {
	display: block;
	width: 100%;
	max-width: 180px;
	height: auto;
	filter: grayscale(1);
	opacity: .8;
	transition: filter .2s, opacity .2s;
}

.logo-grid li:hover img {
	filter: none;
	opacity: 1;
}

@media (max-width: 480px) {
	.logo-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* client page: logos by industry */

.logo-group + .logo-group {
	margin-top: var(--space-6);
}

.logo-group h3 {
	margin-bottom: var(--space-3);
}

.logo-note {
	margin-top: var(--space-6);
	color: var(--muted);
	font-size: var(--text-sm);
}

/* client video testimonials: thumbnail with a play button, the player is loaded on click (main.js) */

.videos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--space-5);
}

/* shop: the wms video after the erp blocks */
.shop-video {
	margin-top: var(--space-8);
}

.video {
	margin: 0;
}

.video-link,
.video iframe {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--skeleton);
}

.video-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: var(--button-bg);
	box-shadow: var(--shadow);
	transition: transform .2s;
}

.video-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -11px 0 0 -7px;
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent var(--button-fg);
}

.video-link:hover .video-play,
.video-link:focus-visible .video-play {
	transform: scale(1.08);
}

.video figcaption {
	margin-top: var(--space-3);
	color: var(--muted);
}

.video figcaption strong {
	color: var(--fg);
}

/* temporary page note (until stage 3) */

/* case study result, under the problem and the solution */
.study-result {
	max-width: 60ch;
	margin-top: var(--space-6);
}

.stub {
	display: inline-block;
	padding: 4px 8px;
	border-radius: var(--radius-sm);
	background: var(--status-soon-bg);
	color: var(--status-soon-fg);
	font-size: var(--text-sm);
}

/* demo block, the same at the end of every page */

.demo-block {
	padding: var(--space-8) 0;
	background: var(--section-bg);
	text-align: center;
}

.demo-block h2 {
	max-width: 30ch;
	margin-left: auto;
	margin-right: auto;
}

/* forms */

.form .field {
	margin-bottom: var(--space-4);
}

.form label {
	display: block;
	margin-bottom: var(--space-1);
	font-weight: 600;
}

.form input,
.form select,
.form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--input-line);
	border-radius: var(--radius-sm);
	background: var(--input-bg);
	color: var(--fg);
	font: inherit;
}

/* focus: a discreet gray border and halo, not the brand outline (red = error) */
.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
	outline: none;
	border-color: var(--muted);
	box-shadow: 0 0 0 3px var(--line);
}

.form .has-error input,
.form .has-error select,
.form .has-error textarea {
	border-color: var(--error);
}

.field-error {
	margin: 4px 0 0;
	color: var(--error);
	font-size: var(--text-sm);
}

/* recaptcha has a fixed width (304px): a bit smaller on very narrow screens (320px), so the page does not scroll sideways */
@media (max-width: 359px) {
	.g-recaptcha {
		transform: scale(.86);
		transform-origin: 0 0;
	}
}

.optional {
	font-weight: 400;
	color: var(--muted);
}

.notice {
	padding: 12px 16px;
	border-radius: var(--radius-sm);
}

.notice-success {
	background: var(--notice-success-bg);
}

.notice-error {
	background: var(--notice-error-bg);
}

.notice-info {
	background: var(--section-bg);
}

div.notice {
	margin-bottom: var(--space-4);
}

.notice ul {
	margin: var(--space-2) 0 0;
}

/* long forms (eg: sign, payment): groups, checkboxes, help text, amount with currency */

.form fieldset {
	min-width: 0;
	margin: 0 0 var(--space-6);
	padding: 0;
	border: 0;
}

.form legend {
	margin-bottom: var(--space-3);
	font-family: var(--font-display);
	font-size: var(--text-h3);
	font-weight: 700;
}

.form .field-check {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
}

.form .field-check input,
.form .table input[type="checkbox"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	padding: 0;
}

.form .field-check label {
	margin: 0;
	font-weight: 400;
}

/* radio / checkbox options as large rows, easy to tap on the phone (eg: istoma) */
.choices {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-2);
}

.choices-inline {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form .choice {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	min-height: 48px;
	margin: 0;
	padding: var(--space-2) var(--space-3);
	border: 1px solid var(--input-line);
	border-radius: var(--radius-sm);
	font-weight: 400;
	cursor: pointer;
}

.form .choice input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
}

.form .has-error .choice {
	border-color: var(--error);
}

/* spam trap: off screen, not hidden, so bots fill it */
.form-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form .has-error.field-check label {
	color: var(--error);
}

.form input[readonly] {
	background: var(--section-bg);
}

.field-help {
	margin: 4px 0 0;
	color: var(--muted);
	font-size: var(--text-sm);
}

.field-row {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.form .field-row input {
	max-width: 10rem;
	text-align: right;
}

/* lists of items with links (eg: documents to sign, saved cards) */
.item-list {
	padding-left: 1.2em;
}

.item-list li + li {
	margin-top: var(--space-2);
}

/* admin pages (sign): title row, narrow form column, tables with inputs, pagination */
.form-narrow {
	max-width: 640px;
}

.admin-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	margin-bottom: var(--space-5);
}

.admin-head h1,
.admin-head h2 {
	margin: 0;
}

.form .table td {
	vertical-align: middle;
}

.form .table thead th {
	white-space: nowrap;
}

.form .table input:not([type="checkbox"]) {
	min-width: 7rem;
}

.form .table .field-check {
	min-width: 10rem;
	white-space: normal;
}

.form .table input.input-order {
	width: calc(2ch + 26px); /* 2 digits + padding and border */
	min-width: 0;
	text-align: center;
}

.table + .button,
.table-wrap + .button,
.table-wrap + form,
.table-wrap + .pagination {
	margin-top: var(--space-4);
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: var(--space-1);
	padding: 0;
	list-style: none;
}

.pagination a {
	display: block;
	min-width: 2.25rem;
	padding: 4px 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-align: center;
	text-decoration: none;
}

.pagination .is-active a {
	background: var(--fg);
	border-color: var(--fg);
	color: var(--bg);
}

/* footer, same in both themes */

/* bottom: room for the floating buttons (accessibility, whatsapp), so the footer links stay clickable */
.site-footer {
	padding: var(--space-8) 0 calc(var(--space-5) + 53px + var(--space-4));
	background: var(--footer-bg);
	color: var(--footer-fg);
	font-size: 1rem;
}

.site-footer a {
	color: var(--footer-link);
	text-decoration: none;
}

.site-footer a:hover {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer-inner {
	display: grid;
	gap: var(--space-7);
}

@media (min-width: 768px) {
	.site-footer-inner {
		grid-template-columns: 5fr 2fr 2fr;
	}
}

/* column titles: uppercase with an orange bar */
.site-footer h2 {
	margin-bottom: var(--space-5);
	padding-bottom: var(--space-3);
	font-size: .9375rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--footer-link);
	background: linear-gradient(var(--brand-orange), var(--brand-orange)) left bottom / 40px 3px no-repeat;
}

/* the space around the link is part of it: larger touch target, same layout */
.site-footer-inner > div:not(.footer-brand) li a,
.site-footer-inner > div:not(.footer-brand) li .link-button {
	display: inline-block;
	padding: var(--space-1) 0;
}

.footer-logo {
	display: inline-block;
}

.footer-logo img {
	display: block;
	width: auto;
	height: 36px;
}

.footer-tagline {
	margin: var(--space-4) 0;
	color: var(--footer-link);
	font-size: 1rem;
}

.footer-social {
	display: flex;
	gap: var(--space-3);
	margin-bottom: var(--space-4) !important;
}

.footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(232, 237, 244, .2);
	border-radius: 50%;
	color: var(--footer-link);
}

.footer-social a:hover {
	border-color: var(--brand-orange);
	color: #ffffff;
}

.footer-social svg {
	width: 18px;
	height: 18px;
}

.footer-contact li {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-1) 0;
}

.footer-contact svg,
.footer-contact img {
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--footer-fg);
}

.footer-company {
	margin: var(--space-4) 0 0;
	font-size: var(--text-sm);
	line-height: 1.7;
}

.site-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	margin-top: var(--space-7);
	padding-top: var(--space-5);
	border-top: 1px solid rgba(232, 237, 244, .15);
	font-size: var(--text-sm);
}

.site-footer-bottom p {
	margin: 0;
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	row-gap: var(--space-2);
}

/* larger touch target, same layout (as the footer columns) */
.footer-legal a,
.footer-legal .link-button {
	display: inline-block;
	padding: var(--space-1) 0;
}

.footer-legal li + li {
	margin-left: var(--space-3);
	padding-left: var(--space-3);
	border-left: 1px solid rgba(232, 237, 244, .25);
}

/* whatsapp button, bottom right on every page */

.whatsapp-float {
	position: fixed;
	right: var(--space-5);
	bottom: var(--space-5);
	z-index: 20;
	display: block;
	width: 52px;
	height: 53px;
	border-radius: 50%;
	filter: drop-shadow(0 4px 10px rgba(7, 17, 31, .3));
	transition: transform .15s ease;
}

.whatsapp-float:hover {
	transform: scale(1.06);
}

.whatsapp-float img {
	display: block;
	width: 52px;
	height: 53px;
}

/* contact page: company details and map */
.contact-info dl {
	margin: 0;
}

.contact-info dt {
	margin-top: var(--space-4);
	color: var(--muted);
	font-size: var(--text-sm);
}

.contact-info dd {
	margin: var(--space-1) 0 0;
}

.contact-map iframe,
.contact-map-link {
	display: block;
	width: 100%;
	height: 320px;
	border: 0;
	border-radius: var(--radius);
}

.contact-map-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-3);
	padding: var(--space-5);
	background: var(--card-bg);
	border: 1px solid var(--card-line);
	color: var(--fg);
	text-align: center;
	text-decoration: none;
}

.contact-map-note {
	max-width: 36ch;
	color: var(--muted);
	font-size: var(--text-sm);
}

/* text pages (eg: privacy, cookies, accessibility statement) */

.prose {
	max-width: 72ch;
}

.prose h2 {
	margin-top: var(--space-7);
}

.prose h2:first-child {
	margin-top: 0;
}

.prose h3 {
	margin-top: var(--space-5);
}

.prose + .table-wrap,
.table-wrap + .prose {
	margin-top: var(--space-5);
}

.prose-meta {
	margin-top: var(--space-6);
	color: var(--muted);
	font-size: var(--text-sm);
}

/* tables with text in the cells (eg: the cookies list) */
.table-text tbody td {
	min-width: 8rem;
	white-space: normal;
}

/* button that looks like a footer link (eg: cookie settings) */
.link-button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--footer-link);
	font: inherit;
	cursor: pointer;
}

.link-button:hover {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* cookie banner: above the floating buttons, until the visitor chooses */

.consent {
	position: fixed;
	inset: 0;
	z-index: 25;
	width: calc(100% - 32px);
	max-width: 640px;
	height: fit-content;
	max-height: calc(100vh - 120px);
	margin: auto;
	overflow-y: auto;
	padding: var(--space-5);
	background: var(--card-bg);
	color: var(--fg);
	border: 1px solid var(--card-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.consent::backdrop {
	background: rgba(7, 17, 31, .6);
}

/* not modal (cookies and privacy pages): above the floating buttons, the page stays readable */
.consent:not(:modal) {
	top: auto;
	bottom: calc(var(--space-5) + 64px);
}

.consent h2 {
	margin: 0 0 var(--space-2);
	font-size: var(--text-lg);
}

.consent p {
	margin: 0 0 var(--space-4);
	font-size: var(--text-sm);
}

.consent-settings {
	margin: 0 0 var(--space-4);
	padding: 0;
	border: 0;
}

.consent-settings label {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
	padding: var(--space-3) 0;
	border-top: 1px solid var(--line);
	font-size: var(--text-sm);
}

.consent-settings input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	flex: none;
}

.consent-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.consent-actions [hidden] {
	display: none;
}

/* phones: docked at the bottom, accept on the whole row, the other buttons side by side */
@media (max-width: 600px) {
	.consent,
	.consent:not(:modal) {
		top: auto;
		bottom: 0;
		width: 100%;
		max-width: none;
		max-height: 75vh;
		margin: 0;
		padding: var(--space-4) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom));
		border-width: 1px 0 0;
		border-radius: var(--radius) var(--radius) 0 0;
	}

	.consent p {
		margin-bottom: var(--space-3);
	}

	.consent-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.consent-actions .button {
		padding: 10px 12px;
		text-align: center;
	}

	.consent-actions .button:first-child,
	.consent-actions [data-consent="custom"] {
		grid-column: 1 / -1;
	}
}

/* accessibility menu: floating button bottom left (whatsapp is bottom right), panel above it */

.a11y-toggle {
	position: fixed;
	left: var(--space-5);
	bottom: var(--space-5);
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 2px solid #ffffff;
	border-radius: 50%;
	background: var(--brand-navy);
	color: #ffffff;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(7, 17, 31, .3);
}

/* badge on the button while an option is on (eg: high contrast, so the visitor knows why the site looks different) */
.a11y-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: 2px solid #ffffff;
	border-radius: 50%;
	background: var(--brand-orange);
	color: #ffffff;
}

.a11y-badge[hidden] {
	display: none;
}

.a11y-panel {
	position: fixed;
	left: var(--space-5);
	bottom: calc(var(--space-5) + 64px);
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	width: min(320px, calc(100vw - 32px));
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	padding: var(--space-4);
	background: var(--card-bg);
	color: var(--fg);
	border: 1px solid var(--card-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.a11y-panel[hidden] {
	display: none;
}

.a11y-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
}

.a11y-head h2 {
	margin: 0;
	font-size: var(--text-lg);
}

.a11y-panel button {
	min-height: 44px;
	padding: var(--space-2) var(--space-3);
	border: 1px solid var(--card-line);
	border-radius: var(--radius-sm);
	background: var(--bg);
	color: var(--fg);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.a11y-panel button[aria-pressed="true"] {
	background: var(--tag-bg);
	border-color: var(--tag-bg);
	color: var(--tag-fg);
}

.a11y-size {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.a11y-size span {
	flex: 1;
}

.a11y-size button {
	min-width: 44px;
	text-align: center;
	font-weight: 700;
}

.a11y-size-value {
	min-width: 3.5em;
	text-align: center;
}

.a11y-tip {
	margin: 0;
	color: var(--muted);
	font-size: var(--text-sm);
}

@media (max-width: 480px) {
	.a11y-toggle {
		left: var(--space-4);
		bottom: var(--space-4);
	}

	.whatsapp-float {
		right: var(--space-4);
		bottom: var(--space-4);
	}

	.a11y-panel {
		left: var(--space-4);
		bottom: calc(var(--space-4) + 64px);
	}
}

/* phones: call and contact bar at the bottom (like the old site), the floating buttons above it */
.mobile-bar {
	display: none;
}

@media (max-width: 767px) {
	.mobile-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 20;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--space-2);
		padding: var(--space-2) var(--space-4) calc(var(--space-2) + env(safe-area-inset-bottom));
		background: var(--card-bg);
		border-top: 1px solid var(--card-line);
		box-shadow: 0 -4px 12px rgba(7, 17, 31, .08);
	}

	.mobile-bar .button {
		padding: 10px 12px;
		text-align: center;
	}

	body:has(.mobile-bar) {
		padding-bottom: calc(64px + env(safe-area-inset-bottom));
	}

	body:has(.mobile-bar) .a11y-toggle,
	body:has(.mobile-bar) .whatsapp-float {
		bottom: calc(var(--space-4) + 64px + env(safe-area-inset-bottom));
	}

	body:has(.mobile-bar) .a11y-panel {
		bottom: calc(var(--space-4) + 128px + env(safe-area-inset-bottom));
	}
}

@media print {
	.mobile-bar {
		display: none !important;
	}
}

/* accessibility options (classes on html) */

html.a11y-size-1 {
	font-size: 112.5%;
}

html.a11y-size-2 {
	font-size: 125%;
}

html.a11y-size-3 {
	font-size: 150%;
}

html.a11y-contrast {
	--bg: #ffffff;
	--fg: #000000;
	--muted: #000000;
	--line: #000000;
	--header-bg: #ffffff;
	--header-fg: #000000;
	--header-line: #000000;
	--hero-bg: #ffffff;
	--hero-fg: #000000;
	--hero-muted: #000000;
	--section-bg: #ffffff;
	--card-bg: #ffffff;
	--card-line: #000000;
	--link: #0033cc;
	--ghost: #000000;
	--submenu-bg: #ffffff;
	--input-bg: #ffffff;
	--input-line: #000000;
	--band-bg: #000000;
	--band-fg: #ffffff;
	--band-muted: #ffffff;
	--footer-bg: #000000;
	--footer-fg: #ffffff;
	--footer-link: #ffffff;
}

html[data-theme="dark"].a11y-contrast {
	--bg: #000000;
	--fg: #ffffff;
	--muted: #ffffff;
	--line: #ffffff;
	--header-bg: #000000;
	--header-fg: #ffffff;
	--header-line: #ffffff;
	--hero-bg: #000000;
	--hero-fg: #ffffff;
	--hero-muted: #ffffff;
	--section-bg: #000000;
	--card-bg: #000000;
	--card-line: #ffffff;
	--link: #ffd84d;
	--ghost: #ffffff;
	--submenu-bg: #000000;
	--input-bg: #000000;
	--input-line: #ffffff;
}

html.a11y-links a:not(.button) {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* the text spacing values from wcag 1.4.12 */
html.a11y-spacing body * {
	letter-spacing: .12em !important;
	word-spacing: .16em !important;
}

html.a11y-spacing p,
html.a11y-spacing li {
	line-height: 1.8 !important;
}

html.a11y-spacing p {
	margin-bottom: 2em;
}

html.a11y-motion *,
html.a11y-motion *::before,
html.a11y-motion *::after {
	animation-duration: 0s !important;
	animation-iteration-count: 1 !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

@media print {
	.a11y,
	.consent,
	.whatsapp-float {
		display: none;
	}
}
