/* parlar.chat home page: static prototype (2026-10-11). Used by index.html (English) and
   es/index.html (Spanish). Later it moves to the WordPress «Parlar» block theme. No JavaScript:
   the mobile menu is a <details> and the profile switch is a CSS checkbox. */

/* Onest (OFL license, in web/fonts/OFL.txt), served from our own server: Latin and extended
   Latin, variable from 400 to 700. */
@font-face {
	font-family: "Onest";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("fonts/onest-latin-ext.woff2") format("woff2");
	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: "Onest";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("fonts/onest-latin.woff2") format("woff2");
	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;
}

:root {
	--blue: #2251ff;
	--blue-strong: #1a43e6;
	--blue-deep: #1534b0;
	--blue-soft: #eaf0ff;
	--blue-light: #9db1ff;
	--ink: #0e1220;
	--ink-2: #171c2c;
	--text: #2b3345;
	--gray: #596273;
	--gray-light: #c5ccd8;
	--line: #e3e7ee;
	--line-strong: #d3d9e3;
	--bg: #ffffff;
	--bg-gray: #f6f8fb;
	--bubble: #eef1f6;
	--green: #17a067;
	--green-soft: #e7f7ef;
	--green-text: #0b6b43;
	--amber: #b4650a;
	--amber-soft: #fff3e2;
	--violet: #7a33c9;
	--violet-soft: #f4eaff;
	--shadow-1: 0 1px 2px rgb(14 18 32 / 0.06);
	--shadow-2: 0 1px 2px rgb(14 18 32 / 0.04), 0 10px 28px -8px rgb(14 18 32 / 0.14);
	--shadow-3: 0 2px 6px rgb(14 18 32 / 0.05), 0 28px 60px -18px rgb(14 18 32 / 0.26);
	--gutter: clamp(16px, 4vw, 40px);
	--width: 1200px;
	--font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	color-scheme: light;
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
	scrollbar-color: var(--gray-light) var(--bg-gray);
	accent-color: var(--blue);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 1.0625rem/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: var(--blue);
	color: #fff;
}

svg {
	display: block;
}

a {
	color: var(--blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

a:hover {
	color: var(--blue-strong);
}

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

h1,
h2,
h3 {
	margin: 0;
	color: var(--ink);
	font-weight: 700;
	text-wrap: balance;
}

p {
	margin: 0;
	text-wrap: pretty;
}

code,
pre {
	font-family: var(--mono);
}

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

.sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.icon {
	flex: none;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.symbol {
	flex: none;
	fill: currentColor;
}

.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;
}

.skip-link {
	position: absolute;
	top: -60px;
	left: 16px;
	z-index: 50;
	padding: 10px 16px;
	border-radius: 12px;
	background: var(--ink);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
	top: 12px;
	color: #fff;
}

.container {
	width: min(100% - 2 * var(--gutter), var(--width));
	margin-inline: auto;
}

/* ------------------------------------------------------------------ buttons and links */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 12px;
	background: var(--blue);
	color: #fff;
	font: 600 0.9375rem/1 var(--font);
	letter-spacing: -0.005em;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgb(14 18 32 / 0.14), inset 0 1px 0 rgb(255 255 255 / 0.16);
	transition: background-color 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.btn:hover {
	background: var(--blue-strong);
	color: #fff;
	box-shadow: 0 8px 18px -8px rgb(34 81 255 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.16);
	transform: translateY(-1px);
}

/* The main call to action glows a little, so it is the first thing the eye finds. */
.btn-large {
	box-shadow: 0 10px 24px -10px rgb(34 81 255 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.16);
}

.btn-large:hover {
	box-shadow: 0 14px 28px -10px rgb(34 81 255 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.16);
}

/* Second choice next to a main button: white with a thin border. */
.btn-secondary,
.btn-secondary:hover {
	background: #fff;
	color: var(--ink);
	box-shadow: inset 0 0 0 1px var(--line-strong), 0 1px 2px rgb(14 18 32 / 0.06);
}

.btn-secondary:hover {
	color: var(--blue);
	box-shadow: inset 0 0 0 1px var(--blue-light), 0 8px 18px -10px rgb(14 18 32 / 0.25);
}

.btn.btn-large:active {
	box-shadow: 0 1px 2px rgb(14 18 32 / 0.14), inset 0 1px 0 rgb(255 255 255 / 0.16);
}

/* Two classes and after the rule above, so it wins over .btn:active and keeps its line. */
.btn.btn-secondary:active {
	background: var(--blue-soft);
	color: var(--blue-deep);
	box-shadow: inset 0 0 0 1px var(--blue-light);
}

/* A small rounded label above a title. */
.eyebrow {
	display: inline-block;
	margin-bottom: 22px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--blue-soft);
	color: var(--blue);
	font-size: clamp(0.75rem, 0.66rem + 0.4vw, 0.875rem);
	font-weight: 600;
	line-height: 1.4;
	text-wrap: balance;
}

.btn:active {
	background: var(--blue-deep);
	transform: none;
}

.btn-large {
	min-height: 52px;
	padding: 0 26px;
	border-radius: 14px;
	font-size: 1.0625rem;
}

.btn-white,
.btn-white.btn-large {
	background: #fff;
	color: var(--blue);
	box-shadow: 0 2px 4px rgb(9 20 80 / 0.18);
}

.btn-white:hover {
	background: #f1f4ff;
	color: var(--blue-deep);
	box-shadow: 0 12px 24px -10px rgb(9 20 80 / 0.55);
}

.btn-white:active {
	background: #e3e9ff;
}

.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.arrow-link .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.3s var(--ease-out);
}

.arrow-link:hover {
	color: var(--blue);
}

.arrow-link:hover .icon {
	transform: translateX(3px);
}

/* ------------------------------------------------------------------ header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgb(255 255 255 / 0.97);
	border-bottom: 1px solid var(--line);
}

/* Where supported, the header line appears on scroll. */
@supports (animation-timeline: scroll()) {
	.site-header {
		animation: header-line linear both;
		animation-timeline: scroll();
		animation-range: 0 80px;
	}
}

@keyframes header-line {
	from {
		border-bottom-color: rgb(227 231 238 / 0);
	}
	to {
		border-bottom-color: var(--line);
	}
}

.header-row {
	display: flex;
	align-items: center;
	gap: 28px;
	height: 72px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--ink);
	font-size: 1.4375rem;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	text-decoration: none;
}

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

.logo .symbol {
	width: 30px;
	height: 30px;
	color: var(--blue);
}

.menu {
	display: flex;
	gap: 2px;
}

.menu a,
.site-header .language,
.log-in {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 10px;
	color: var(--text);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.menu a:hover,
.site-header .language:hover,
.log-in:hover {
	background: var(--bg-gray);
	color: var(--ink);
}

.language .icon {
	width: 18px;
	height: 18px;
	color: var(--gray);
}

.log-in {
	color: var(--ink);
	font-weight: 600;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}

.header-actions .btn {
	margin-left: 8px;
}

.mobile-menu {
	display: none;
}

.mobile-menu summary {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	color: var(--ink);
	list-style: none;
	cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
	display: none;
}

.mobile-menu summary:hover {
	background: var(--bg-gray);
}

.mobile-menu summary .icon {
	width: 24px;
	height: 24px;
}

.mobile-menu[open] .open,
.mobile-menu:not([open]) .close {
	display: none;
}

.mobile-menu-panel {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	padding: 4px var(--gutter) 16px;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: 0 18px 32px -18px rgb(14 18 32 / 0.2);
}

.mobile-menu-panel a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 2px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
}

.mobile-menu-panel li:last-child a {
	border-bottom: 0;
}

.mobile-menu-panel .icon {
	color: var(--gray);
}

@media (max-width: 1099px) {
	.header-row {
		gap: 8px;
		height: 64px;
	}

	.site-header .menu,
	.site-header .language,
	.site-header .log-in {
		display: none;
	}

	.header-actions .btn {
		min-height: 40px;
		padding: 0 14px;
		font-size: 0.875rem;
	}

	.mobile-menu {
		display: block;
	}

	html {
		scroll-padding-top: 76px;
	}
}

/* ------------------------------------------------------------------ home page */

/* Light and airy: the words centred on top, the product below on a soft blue and violet glow. */
.hero {
	overflow: clip;
	padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px);
	background:
		radial-gradient(60% 45% at 50% 82%, rgb(34 81 255 / 0.16), transparent 70%),
		radial-gradient(38% 36% at 80% 74%, rgb(140 63 217 / 0.12), transparent 70%),
		linear-gradient(#fff, #f6f8ff);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(44px, 6vw, 64px);
	justify-items: center;
}

.hero-copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 860px;
	text-align: center;
}

.hero h1 {
	max-width: 15ch;
	font-size: clamp(2.5rem, 1.25rem + 4.2vw, 4.5rem);
	line-height: 1.02;
	letter-spacing: -0.038em;
}

.hero .lead {
	max-width: 36em;
	margin-inline: auto;
	color: var(--gray);
}

.lead {
	max-width: 34em;
	margin-top: 24px;
	color: var(--text);
	font-size: clamp(1.125rem, 1.02rem + 0.42vw, 1.3125rem);
	line-height: 1.5;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: 36px;
}

.hero-note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 22px;
	color: var(--gray);
	font-size: 0.9375rem;
}

.hero-note .icon {
	width: 18px;
	height: 18px;
	color: var(--green);
	stroke-width: 2.2;
}

.hero-copy .hero-actions,
.hero-copy .hero-note {
	justify-content: center;
}

.hero-copy .hero-actions {
	gap: 12px;
}

/* The demo: the panel window, wide and centred, lifted by a blue shadow. */
.demo {
	position: relative;
	width: min(100%, 1040px);
	margin: 0;
}

.demo .app {
	box-shadow: 0 0 0 1px rgb(14 18 32 / 0.06), 0 40px 100px -30px rgb(34 81 255 / 0.45);
}

.demo figcaption {
	margin-top: 18px;
	color: var(--gray);
	font-size: 0.8125rem;
	text-align: center;
}

/* ------------------------------------------------------------------ the inbox demo (home page) */

/* The whole panel in miniature: channels, conversations, the thread and the customer's card. No
   JavaScript: each conversation is a radio, and its label in the list opens its thread and card. */
.inbox-demo {
	width: min(100%, 1160px);
}

.inbox {
	--side: #f7f8fc;
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 0 0 1px rgb(14 18 32 / 0.06), 0 40px 100px -30px rgb(34 81 255 / 0.45);
	color: var(--text);
	font-size: 0.8125rem;
	line-height: 1.45;
	text-align: left;
}

.inbox-pick {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.inbox-bar {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 38px;
	padding: 0 16px;
	border-bottom: 1px solid var(--line);
	background: var(--side);
}

.inbox-dots {
	display: flex;
	gap: 6px;
}

.inbox-dots i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ff6159;
}

.inbox-dots i:nth-child(2) {
	background: #ffbd2e;
}

.inbox-dots i:nth-child(3) {
	background: #28c941;
}

.inbox-url {
	margin-inline: auto;
	padding: 3px 14px;
	border-radius: 8px;
	background: #fff;
	color: var(--gray);
	font-size: 0.75rem;
	box-shadow: inset 0 0 0 1px var(--line);
}

.inbox-body {
	display: grid;
	grid-template-columns: 190px 264px minmax(0, 1fr) 236px;
	height: 556px;
}

.inbox .mark {
	flex: none;
	width: 20px;
	height: 20px;
}

.inbox .icon {
	flex: none;
	width: 17px;
	height: 17px;
}

/* Sidebar */
.inbox-side {
	overflow: hidden;
	padding: 14px 10px;
	border-right: 1px solid var(--line);
	background: var(--side);
}

.inbox-store {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 6px 14px;
}

.inbox-store strong,
.inbox-store div span {
	display: block;
	white-space: nowrap;
}

.inbox-store strong {
	color: var(--ink);
	font-size: 0.8125rem;
}

.inbox-store div span {
	color: var(--gray);
	font-size: 0.6875rem;
}

.inbox-logo {
	display: grid;
	flex: none;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: linear-gradient(135deg, #ffb13d, #f0533a);
	color: #fff;
	font-weight: 700;
}

.inbox-nav,
.inbox-channels {
	display: grid;
	gap: 2px;
}

.inbox-nav li,
.inbox-channels li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 8px;
	border-radius: 9px;
	color: var(--text);
	white-space: nowrap;
}

.inbox-nav li span,
.inbox-channels li span {
	overflow: hidden;
	text-overflow: ellipsis;
}

.inbox-nav li.current {
	background: #fff;
	color: var(--ink);
	font-weight: 600;
	box-shadow: 0 1px 2px rgb(14 18 32 / 0.08);
}

.inbox-nav b,
.inbox-channels b {
	margin-left: auto;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--blue-soft);
	color: var(--blue-deep);
	font-size: 0.6875rem;
	line-height: 18px;
}

.inbox-nav .current b {
	background: var(--blue);
	color: #fff;
}

.nav-inbox .icon {
	color: var(--blue);
}

.nav-users .icon {
	color: var(--green);
}

.nav-at .icon {
	color: var(--violet);
}

.nav-chart .icon {
	color: var(--amber);
}

.nav-gear .icon {
	color: var(--gray);
}

.inbox-head {
	margin: 12px 8px 4px;
	color: var(--gray);
	font-size: 0.6875rem;
	font-weight: 600;
}

/* Conversation list */
.inbox-list {
	overflow: hidden;
	border-right: 1px solid var(--line);
}

.inbox-list-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	padding: 14px 16px 10px;
	border-bottom: 1px solid var(--line);
}

.inbox-list-head strong {
	color: var(--ink);
	font-size: 0.875rem;
}

.inbox-list-head span {
	color: var(--gray);
	font-size: 0.6875rem;
	white-space: nowrap;
}

.inbox-row {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 4px 8px 0;
	padding: 9px;
	border-radius: 12px;
	cursor: pointer;
	transition: background-color 0.2s var(--ease-out);
}

.inbox-row:hover {
	background: var(--bg-gray);
}

.inbox-who {
	flex: 1;
	min-width: 0;
}

.inbox-who strong,
.inbox-who span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.inbox-who strong {
	color: var(--ink);
	font-size: 0.8125rem;
}

.inbox-who span {
	color: var(--gray);
	font-size: 0.75rem;
}

.inbox-meta {
	display: grid;
	justify-items: end;
	gap: 3px;
	color: var(--gray);
	font-size: 0.6875rem;
}

.inbox-meta b {
	min-width: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #c8431f;
	color: #fff;
	text-align: center;
	line-height: 18px;
	animation: inbox-pulse 2.4s ease-in-out 3;
}

@keyframes inbox-pulse {
	50% {
		box-shadow: 0 0 0 5px rgb(200 67 31 / 0.18);
	}
}

/* Avatars: a colour each, with the channel's mark in the corner. */
.inbox-avatar {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--tint, var(--blue));
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
}

.inbox-avatar.big {
	width: 52px;
	height: 52px;
	margin-bottom: 8px;
	font-size: 1.25rem;
}

[data-tint="1"] {
	--tint: #2251ff;
}

[data-tint="2"] {
	--tint: #128552;
}

[data-tint="3"] {
	--tint: #c92a62;
}

[data-tint="4"] {
	--tint: #7a33c9;
}

[data-tint="5"] {
	--tint: #1675b0;
}

[data-tint="6"] {
	--tint: #c8431f;
}

.inbox .mark-badge {
	position: absolute;
	right: -4px;
	bottom: -3px;
	width: 17px;
	height: 17px;
	border-radius: 6px;
	box-shadow: 0 0 0 2px #fff;
}

.inbox .mark-small {
	width: 15px;
	height: 15px;
}

/* Thread */
.inbox-threads {
	min-width: 0;
	background: #fbfcfe;
}

.inbox-thread {
	display: none;
	flex-direction: column;
	height: 100%;
}

.inbox-thread-head {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 11px 18px;
	border-bottom: 1px solid var(--line);
	background: #fff;
}

.inbox-thread-head strong {
	display: block;
	color: var(--ink);
	font-size: 0.875rem;
}

.inbox-thread-head span:not(.inbox-avatar) {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--gray);
	font-size: 0.75rem;
}

.inbox-thread-head .inbox-avatar {
	width: 32px;
	height: 32px;
}

.inbox-messages {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
	overflow: hidden;
}

.inbox-messages .msg {
	max-width: 82%;
	font-size: 0.8125rem;
}

.inbox-messages .msg,
.inbox-messages .seen,
.inbox-messages .typing {
	animation: inbox-in 0.45s var(--ease-out) both;
}

.inbox-messages [data-k="1"] {
	animation-delay: 0.5s;
}

.inbox-messages [data-k="2"] {
	animation-delay: 1s;
}

.inbox-messages [data-k="3"] {
	animation-delay: 1.5s;
}

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

.inbox-thread .reply {
	margin: 0 14px 14px;
}

/* Customer card */
.inbox-cards {
	overflow: hidden;
	border-left: 1px solid var(--line);
}

.inbox-card {
	display: none;
	flex-direction: column;
	align-items: flex-start;
	padding: 20px 18px;
}

.inbox-card > strong {
	color: var(--ink);
	font-size: 0.9375rem;
}

.inbox-contact {
	color: var(--blue);
	font-size: 0.75rem;
}

.inbox-card .badge {
	margin-top: 10px;
}

.inbox-via {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	padding: 3px 10px 3px 4px;
	border-radius: 999px;
	background: var(--bg-gray);
	font-size: 0.75rem;
	font-weight: 600;
}

.inbox-facts {
	display: grid;
	gap: 10px;
	width: 100%;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	color: var(--ink);
	font-size: 0.75rem;
}

.inbox-facts li {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	column-gap: 10px;
	align-items: center;
}

.inbox .inbox-facts .icon {
	grid-row: span 2;
	width: 28px;
	height: 28px;
	padding: 6px;
	border-radius: 9px;
}

.inbox-facts span {
	color: var(--gray);
	font-size: 0.6875rem;
}

.fact-pin .icon {
	background: #ffe9e4;
	color: #c8431f;
}

.fact-clock .icon {
	background: var(--amber-soft);
	color: var(--amber);
}

.fact-globe .icon {
	background: var(--blue-soft);
	color: var(--blue);
}

.fact-device .icon,
.fact-page .icon {
	background: var(--violet-soft);
	color: var(--violet);
}

.inbox-cart {
	width: 100%;
	margin-top: 16px;
	padding: 12px;
	border-radius: 12px;
	background: var(--green-soft);
	font-size: 0.75rem;
}

.inbox-cart > p:first-child {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--green-text);
	font-weight: 600;
}

.inbox-cart-lines {
	margin: 6px 0 10px;
	color: var(--ink);
}

.inbox-cart dl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0;
}

.inbox-cart dt {
	color: var(--green-text);
	font-size: 0.6875rem;
}

.inbox-cart dd {
	margin: 0;
	color: var(--ink);
	font-weight: 600;
}

/* The chosen conversation: its row lit, its thread and its card shown. */
.inbox-pick-1:checked ~ .inbox-body .inbox-row-1,
.inbox-pick-2:checked ~ .inbox-body .inbox-row-2,
.inbox-pick-3:checked ~ .inbox-body .inbox-row-3,
.inbox-pick-4:checked ~ .inbox-body .inbox-row-4,
.inbox-pick-5:checked ~ .inbox-body .inbox-row-5,
.inbox-pick-6:checked ~ .inbox-body .inbox-row-6 {
	background: var(--blue-soft);
}

.inbox-pick-1:checked ~ .inbox-body .inbox-row-1 .inbox-meta b,
.inbox-pick-2:checked ~ .inbox-body .inbox-row-2 .inbox-meta b,
.inbox-pick-3:checked ~ .inbox-body .inbox-row-3 .inbox-meta b,
.inbox-pick-4:checked ~ .inbox-body .inbox-row-4 .inbox-meta b,
.inbox-pick-5:checked ~ .inbox-body .inbox-row-5 .inbox-meta b,
.inbox-pick-6:checked ~ .inbox-body .inbox-row-6 .inbox-meta b {
	display: none;
}

.inbox-pick-1:checked ~ .inbox-body .inbox-thread-1,
.inbox-pick-2:checked ~ .inbox-body .inbox-thread-2,
.inbox-pick-3:checked ~ .inbox-body .inbox-thread-3,
.inbox-pick-4:checked ~ .inbox-body .inbox-thread-4,
.inbox-pick-5:checked ~ .inbox-body .inbox-thread-5,
.inbox-pick-6:checked ~ .inbox-body .inbox-thread-6,
.inbox-pick-1:checked ~ .inbox-body .inbox-card-1,
.inbox-pick-2:checked ~ .inbox-body .inbox-card-2,
.inbox-pick-3:checked ~ .inbox-body .inbox-card-3,
.inbox-pick-4:checked ~ .inbox-body .inbox-card-4,
.inbox-pick-5:checked ~ .inbox-body .inbox-card-5,
.inbox-pick-6:checked ~ .inbox-body .inbox-card-6 {
	display: flex;
}

.inbox-pick-1:focus-visible ~ .inbox-body .inbox-row-1,
.inbox-pick-2:focus-visible ~ .inbox-body .inbox-row-2,
.inbox-pick-3:focus-visible ~ .inbox-body .inbox-row-3,
.inbox-pick-4:focus-visible ~ .inbox-body .inbox-row-4,
.inbox-pick-5:focus-visible ~ .inbox-body .inbox-row-5,
.inbox-pick-6:focus-visible ~ .inbox-body .inbox-row-6 {
	outline: 2px solid var(--blue);
	outline-offset: -2px;
}

@media (max-width: 1099px) {
	.inbox-body {
		grid-template-columns: 186px 250px minmax(0, 1fr);
	}

	.inbox-cards {
		display: none;
	}
}

/* Tablets: the sidebar becomes a rail of icons. */
@media (max-width: 859px) {
	.inbox-body {
		grid-template-columns: 56px 230px minmax(0, 1fr);
	}

	.inbox-side {
		padding: 12px 8px;
	}

	.inbox-store div,
	.inbox-nav span,
	.inbox-nav b,
	.inbox-channels span,
	.inbox-channels b,
	.inbox-head {
		display: none;
	}

	.inbox-store {
		justify-content: center;
		padding: 0 0 12px;
	}

	.inbox-nav li,
	.inbox-channels li {
		justify-content: center;
	}

	.inbox-channels {
		margin-top: 10px;
		padding-top: 10px;
		border-top: 1px solid var(--line);
	}
}

/* Phones: the list on top, scrolling sideways, and the thread below. */
@media (max-width: 639px) {
	.inbox-body {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto minmax(0, 1fr);
		height: 500px;
	}

	.inbox-side,
	.inbox-list-head {
		display: none;
	}

	.inbox-list {
		display: flex;
		gap: 4px;
		overflow-x: auto;
		padding: 8px;
		border-right: 0;
		border-bottom: 1px solid var(--line);
		scrollbar-width: none;
	}

	.inbox-row {
		flex: none;
		flex-direction: column;
		gap: 4px;
		margin: 0;
		padding: 8px 6px;
	}

	.inbox-who span,
	.inbox-meta {
		display: none;
	}

	.inbox-who strong {
		font-size: 0.6875rem;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.inbox-messages .msg,
	.inbox-messages .seen,
	.inbox-messages .typing,
	.inbox-meta b {
		animation: none;
	}
}

/* ------------------------------------------------------------------ the panel window */

.app {
	container-type: inline-size;
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 0 0 1px rgb(14 18 32 / 0.06), var(--shadow-3);
	color: var(--text);
	font-size: 0.875rem;
	line-height: 1.45;
}

.app-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 18px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 600;
}

.app-bar .symbol {
	width: 22px;
	height: 22px;
	color: var(--blue);
}

.app-bar .tag-pill {
	margin-left: auto;
}

.tag-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px 4px 9px;
	border-radius: 999px;
	background: var(--green-soft);
	color: var(--green-text);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.3;
}

.tag-pill::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--green);
}

.app-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
}

.chat {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.chat-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-bottom: 1px solid var(--line);
}

.chat-head strong {
	display: block;
	color: var(--ink);
	font-size: 0.9375rem;
}

.presence {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gray);
	font-size: 0.75rem;
}

.presence::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--green);
}

.avatar {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--blue-soft);
	color: var(--blue-deep);
	font-size: 0.875rem;
	font-weight: 700;
}

.avatar .online {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 0 2px #fff;
}

.messages {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
	min-height: 260px;
	padding: 18px;
	background: #fbfcfe;
}

.day {
	align-self: center;
	margin-bottom: 4px;
	color: var(--gray);
	font-size: 0.75rem;
}

.msg {
	max-width: 84%;
	padding: 9px 13px;
	border-radius: 16px;
	line-height: 1.45;
}

.msg-visitor,
.msg-them,
.msg-system {
	align-self: flex-start;
	border-bottom-left-radius: 5px;
	background: var(--bubble);
	color: var(--ink);
}

.msg-team {
	align-self: flex-end;
	border-bottom-right-radius: 5px;
	background: var(--blue);
	color: #fff;
}

.seen {
	display: inline-flex;
	align-self: flex-end;
	align-items: center;
	gap: 4px;
	margin-top: -2px;
	color: var(--gray);
	font-size: 0.75rem;
}

.seen .icon {
	width: 14px;
	height: 14px;
	color: var(--blue);
	stroke-width: 2.4;
}

.typing {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	color: var(--gray);
	font-size: 0.75rem;
}

.dots {
	display: inline-flex;
	gap: 3px;
	padding: 9px 11px;
	border-radius: 14px;
	border-bottom-left-radius: 5px;
	background: var(--bubble);
}

.dots i {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #8d96a6;
}

.reply {
	display: flex;
	gap: 8px;
	padding: 12px 14px;
	border-top: 1px solid var(--line);
}

.field {
	display: flex;
	flex: 1;
	align-items: center;
	min-width: 0;
	min-height: 38px;
	padding: 0 12px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	color: var(--gray);
	font-size: 0.8125rem;
}

.btn-mini {
	display: inline-flex;
	align-items: center;
	padding: 0 14px;
	border-radius: 10px;
	background: var(--blue);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
}

/* The visitor profile, as in the panel. */
.card {
	min-width: 0;
	padding: 18px;
	border-left: 1px solid var(--line);
	font-size: 0.8125rem;
}

.card-head {
	display: grid;
	justify-items: start;
	gap: 1px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}

.card-head .avatar {
	width: 44px;
	height: 44px;
	margin-bottom: 8px;
	font-size: 1.0625rem;
}

.card-head strong {
	color: var(--ink);
	font-size: 1rem;
	line-height: 1.3;
}

.email {
	max-width: 100%;
	overflow: hidden;
	color: var(--blue);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 8px;
	padding: 3px 9px 3px 6px;
	border-radius: 999px;
	background: var(--blue-soft);
	color: var(--blue-deep);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
}

.badge .icon {
	width: 14px;
	height: 14px;
	stroke-width: 2.4;
}

.data {
	display: grid;
	gap: 10px;
	margin: 14px 0 0;
}

.data > div {
	display: grid;
	gap: 1px;
}

.data dt {
	color: var(--gray);
	font-size: 0.75rem;
}

.data dd {
	margin: 0;
	color: var(--ink);
	font-weight: 500;
}

.card .data.two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
}

.card .data.two .wide {
	grid-column: 1 / -1;
}

.card-sub {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	color: var(--ink);
	font-size: 0.8125rem;
	font-weight: 600;
}

.figure {
	font-variant-numeric: tabular-nums;
}

/* In a narrow window (mobile), the profile goes below the conversation. */
@container (max-width: 560px) {
	.app-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.card {
		border-top: 1px solid var(--line);
		border-left: 0;
	}

	.card .data {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 16px;
	}

	.card .data .wide {
		grid-column: 1 / -1;
	}

	.messages {
		min-height: 0;
	}
}

/* ------------------------------------------------------------------ the live change
   The home page's only animation: what changes in the panel is updated in place with a
   blue wash that fades out. No motion if the visitor asks for that. */

.changes {
	display: grid;
}

.changes > span {
	grid-area: 1 / 1;
}

.live-row {
	margin: -3px -6px;
	padding: 3px 6px;
	border-radius: 8px;
}

@media (prefers-reduced-motion: no-preference) {
	.hero .changes .before {
		animation: leave 0.45s var(--ease-out) 2.4s both;
	}

	.hero .changes .after {
		animation: enter 0.7s var(--ease-out) 2.5s both;
	}

	.hero .live-row {
		animation: flash-a 2s var(--ease-out) 2.5s;
	}

	.hero .typing {
		animation: enter 0.6s var(--ease-out) 3.4s both;
	}

	.hero .dots i {
		animation: dot-pulse 1.2s ease-in-out 3.4s 4;
	}

	.hero .dots i:nth-child(2) {
		animation-delay: 3.55s;
	}

	.hero .dots i:nth-child(3) {
		animation-delay: 3.7s;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.changes .before {
		display: none;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

@keyframes leave {
	to {
		opacity: 0;
		transform: translateY(-6px);
	}
}

@keyframes enter {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

@keyframes flash-a {
	from {
		background-color: #d9e3ff;
	}
	to {
		background-color: rgb(217 227 255 / 0);
	}
}

@keyframes flash-b {
	from {
		background-color: #d9e3ff;
	}
	to {
		background-color: rgb(217 227 255 / 0);
	}
}

@keyframes dot-pulse {
	0%,
	60%,
	100% {
		opacity: 0.5;
		transform: none;
	}
	30% {
		opacity: 1;
		transform: translateY(-3px);
	}
}

/* ------------------------------------------------------------------ sections */

.section {
	padding-block: clamp(80px, 10vw, 136px);
}

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

.section h2 {
	max-width: 16ch;
	font-size: clamp(2rem, 1.3rem + 2.2vw, 3.125rem);
	line-height: 1.06;
	letter-spacing: -0.032em;
}

.section .lead {
	margin-top: 20px;
}

.two-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}

@media (min-width: 960px) {
	.two-columns {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: clamp(48px, 6vw, 88px);
	}

	.two-columns.visual-first {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}

	.two-columns.visual-first > :first-child {
		order: 2;
	}
}

.stage {
	position: relative;
	margin: 0;
	padding: clamp(20px, 4vw, 44px);
	border-radius: 28px;
	background: var(--blue-soft);
}

.stage figcaption {
	margin-top: 18px;
	color: var(--gray);
	font-size: 0.8125rem;
	text-align: center;
}

/* Short list with icons, for what the team sees. */
.data-list {
	display: grid;
	gap: 14px;
	margin-top: 32px;
}

.data-list li {
	position: relative;
	padding-left: 32px;
}

.data-list .icon {
	position: absolute;
	top: 3px;
	left: 0;
	color: var(--blue);
}

/* ------------------------------------------------------------------ the profile with a switch */

.identity {
	display: grid;
	justify-items: center;
}

.switch-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.switch {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
	padding: 8px 18px 8px 8px;
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--shadow-2);
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	user-select: none;
	transition: box-shadow 0.25s var(--ease-out);
}

.switch:hover {
	box-shadow: 0 0 0 1px rgb(34 81 255 / 0.25), var(--shadow-2);
}

.track {
	position: relative;
	flex: none;
	width: 44px;
	height: 26px;
	border-radius: 999px;
	background: #b9c1cf;
	transition: background-color 0.25s var(--ease-out);
}

.track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgb(14 18 32 / 0.3);
	transition: transform 0.35s var(--ease-out);
}

.switch-input:checked + .switch .track {
	background: var(--blue);
}

.switch-input:checked + .switch .track::after {
	transform: translateX(18px);
}

.switch-input:focus-visible + .switch {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
}

.card-large {
	display: grid;
	width: min(100%, 380px);
	padding: 22px;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--shadow-3);
	font-size: 0.875rem;
	line-height: 1.45;
}

.card-large > .status {
	grid-area: 1 / 1;
}

.card-large .card-head .avatar {
	width: 48px;
	height: 48px;
}

.card-large .data {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
}

.card-large .data .wide {
	grid-column: 1 / -1;
}

/* With the checkbox checked the customer is shown; unchecked, the anonymous visitor. The two states
   occupy the same cell and cross-fade (the profile does not change height). */
.card-large > .customer,
.switch-input:not(:checked) ~ .card-large > .anonymous {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity 0.4s var(--ease-out) 0.1s, transform 0.5s var(--ease-out) 0.1s, visibility 0s linear 0.1s;
}

.card-large > .anonymous,
.switch-input:not(:checked) ~ .card-large > .customer {
	visibility: hidden;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0s linear 0.18s;
}

/* What appears when the store signs lights up for a moment (changing the animation name
   relaunches it on each switch change). */
@media (prefers-reduced-motion: no-preference) {
	.switch-input:checked ~ .card-large .new {
		animation: flash-a 1.8s var(--ease-out) 0.15s;
	}

	.switch-input:not(:checked) ~ .card-large .new {
		animation: flash-b 1.8s var(--ease-out) 0.15s;
	}
}

.new {
	margin: -2px -6px;
	padding: 2px 6px;
	border-radius: 8px;
}

/* ------------------------------------------------------------------ people: the widget */

.dots-list {
	display: grid;
	gap: 26px;
	margin-top: 36px;
}

.dots-list li {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 4px 16px;
}

/* Each point gets its own soft colour tile: blue, amber, green, violet, in turn. */
.dots-list .icon-mark {
	display: grid;
	grid-row: span 2;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--blue-soft);
	color: var(--blue);
}

.dots-list li:nth-child(4n + 2) .icon-mark,
.security-list li:nth-child(4n + 2) .icon-mark {
	background: var(--amber-soft);
	color: var(--amber);
}

.dots-list li:nth-child(4n + 3) .icon-mark,
.security-list li:nth-child(4n + 3) .icon-mark {
	background: var(--green-soft);
	color: var(--green-text);
}

.dots-list li:nth-child(4n + 4) .icon-mark,
.security-list li:nth-child(4n + 4) .icon-mark {
	background: var(--violet-soft);
	color: var(--violet);
}

.dots-list .icon {
	width: 22px;
	height: 22px;
}

.dots-list h3 {
	font-size: 1.0625rem;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

.dots-list p {
	color: var(--gray);
	font-size: 0.9375rem;
}

.widgets {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.widget-col {
	display: grid;
	gap: 12px;
	justify-items: start;
}

.widget-col > p {
	padding-left: 4px;
	color: var(--gray);
	font-size: 0.8125rem;
	font-weight: 500;
}

.widget {
	--store: #1e6b52;
	width: 100%;
	overflow: hidden;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--shadow-3);
	color: var(--text);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.widget-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 14px 14px 16px;
	background: var(--store);
	color: #fff;
}

.widget-head strong {
	display: block;
	font-size: 0.9375rem;
	line-height: 1.3;
}

.widget-head .icon {
	width: 18px;
	height: 18px;
	margin-left: auto;
	opacity: 0.85;
}

.widget-head .avatar {
	width: 32px;
	height: 32px;
	background: rgb(255 255 255 / 0.18);
	color: #fff;
	font-size: 0.8125rem;
}

.widget-sub {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgb(255 255 255 / 0.88);
	font-size: 0.75rem;
}

.widget-sub i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #8be8bb;
}

.widget-sub.away i {
	background: rgb(255 255 255 / 0.5);
}

.widget-messages {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 292px;
	padding: 16px 14px;
}

.widget .msg {
	max-width: 88%;
}

.msg-me {
	align-self: flex-end;
	border-bottom-right-radius: 5px;
	background: var(--store);
	color: #fff;
}

.author {
	display: block;
	margin-bottom: 1px;
	color: var(--gray);
	font-size: 0.6875rem;
	font-weight: 600;
}

.widget .typing {
	margin-top: 2px;
}

.widget-footer {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 10px 10px 16px;
	border-top: 1px solid var(--line);
	color: var(--gray);
}

.widget-footer span:first-child {
	flex: 1;
}

.send-round {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--store);
	color: #fff;
}

.send-round .icon {
	width: 18px;
	height: 18px;
}

.widget-away .widget-messages {
	gap: 10px;
	min-height: 0;
}

.widget-away .notice {
	color: var(--ink);
}

.widget-field {
	display: grid;
	gap: 4px;
	color: var(--gray);
	font-size: 0.75rem;
}

.widget-field span:last-child {
	display: flex;
	align-items: center;
	min-height: 36px;
	padding: 0 10px;
	border: 1px solid var(--line-strong);
	border-radius: 9px;
	color: var(--ink);
	font-size: 0.8125rem;
}

.widget-field.tall span:last-child {
	min-height: 58px;
	align-items: flex-start;
	padding-top: 8px;
}

.btn-store {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	margin-top: 2px;
	border-radius: 10px;
	background: var(--store);
	color: #fff;
	font-weight: 600;
}

.launcher {
	display: grid;
	place-items: center;
	justify-self: end;
	width: 56px;
	height: 56px;
	margin-top: 6px;
	border-radius: 50%;
	background: #1e6b52;
	color: #fff;
	box-shadow: 0 12px 24px -8px rgb(30 107 82 / 0.6);
}

.launcher .symbol {
	width: 28px;
	height: 28px;
}

.widgets-one {
	grid-template-columns: minmax(0, 340px);
	justify-content: center;
}

@media (max-width: 639px) {
	.widgets {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

/* ------------------------------------------------------------------ light: ink band */

.section-ink {
	background: var(--ink);
	color: #c4ccd9;
}

.section-ink h2 {
	color: #fff;
}

.section-ink .lead {
	color: #c4ccd9;
}

.section-ink :focus-visible {
	outline-color: #fff;
}

.manifesto {
	overflow: hidden;
	border-radius: 22px;
	background: var(--ink-2);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 30px 60px -30px rgb(0 0 0 / 0.7);
}

.manifesto table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.manifesto caption {
	padding: 18px 22px;
	border-bottom: 1px solid rgb(255 255 255 / 0.08);
	color: #fff;
	font-weight: 600;
	text-align: left;
}

.manifesto th,
.manifesto td {
	padding: 14px 22px;
	border-bottom: 1px solid rgb(255 255 255 / 0.07);
	font-weight: 400;
	text-align: left;
	vertical-align: baseline;
}

.manifesto th {
	color: #e9edf5;
}

.manifesto th small {
	display: block;
	margin-top: 2px;
	color: #98a2b5;
	font-size: 0.8125rem;
}

.manifesto code {
	color: var(--blue-light);
	font-size: 0.875rem;
}

.manifesto td {
	color: #fff;
	font-family: var(--mono);
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}

.manifesto .zero td {
	color: #8be8bb;
}

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

.manifesto .divider th,
.manifesto .divider td {
	border-top: 1px solid rgb(255 255 255 / 0.16);
}

/* ------------------------------------------------------------------ installation */

.section-head {
	max-width: 760px;
}

.install {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	margin-top: 52px;
}

@media (min-width: 960px) {
	.install {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	}
}

.via {
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 3vw, 36px);
	border-radius: 24px;
	background: var(--bg-gray);
}

.via h3 .icon {
	color: var(--blue);
}

.via p code {
	padding: 1px 5px;
	border-radius: 6px;
	background: var(--bubble);
	color: var(--ink);
	font-size: 0.875em;
	white-space: nowrap;
}

.via h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.25rem;
	letter-spacing: -0.015em;
}

.via > p {
	margin-top: 10px;
}

.via > .via-note {
	margin-top: auto;
}

.via > .via-step {
	margin-top: 26px;
}

.via pre {
	margin: 22px 0 0;
	padding: 18px 20px;
	overflow-x: auto;
	border-radius: 14px;
	background: var(--ink);
	color: #e9edf5;
	font-size: 0.875rem;
	line-height: 1.75;
	scrollbar-color: #3a4256 transparent;
}

.via pre code {
	color: inherit;
	font-size: inherit;
}

.c-tag {
	color: var(--blue-light);
}

.c-attr {
	color: #c4ccd9;
}

.c-val {
	color: #8be8bb;
}

.c-sign {
	color: #7e889a;
}

.via-note {
	padding-top: 22px;
	color: var(--gray);
	font-size: 0.9375rem;
}

/* On mobile the code scrolls inside its block, without breaking words. The right edge
   fades out while there is code left to see. */
@media (max-width: 639px) {
	.via pre,
	pre.code {
		padding: 14px 16px;
		font-size: 0.8125rem;
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
		mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
	}

	@supports (animation-timeline: scroll()) {
		.via pre,
		pre.code {
			animation: code-seen linear both;
			animation-timeline: scroll(self inline);
		}
	}
}

@keyframes code-seen {
	0%,
	92% {
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
		mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
	}
	100% {
		-webkit-mask-image: none;
		mask-image: none;
	}
}

.wp {
	margin-top: 22px;
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--shadow-2);
	color: #1d2327;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 0.8125rem;
}

.wp-path {
	padding: 12px 18px;
	border-bottom: 1px solid #e5e7ea;
	color: #50575e;
	font-size: 0.75rem;
}

.wp-body {
	display: grid;
	gap: 12px;
	padding: 16px 18px 18px;
}

.wp-body strong {
	font-size: 1rem;
}

.wp-row {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
}

.wp-row > span:first-child {
	font-weight: 600;
}

.wp-input {
	display: block;
	min-height: 32px;
	padding: 0 10px;
	overflow: hidden;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	line-height: 30px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wp-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wp-checkbox i {
	display: grid;
	flex: none;
	place-items: center;
	width: 16px;
	height: 16px;
	border-radius: 4px;
	background: #2271b1;
	color: #fff;
}

.wp-checkbox .icon {
	width: 12px;
	height: 12px;
	stroke-width: 3;
}

.wp-save {
	justify-self: start;
	padding: 7px 12px;
	border-radius: 4px;
	background: #2271b1;
	color: #fff;
	font-weight: 600;
}

/* ------------------------------------------------------------------ security */

.security-list {
	display: grid;
}

.security-list li {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 4px 14px;
	padding: 22px 0;
	border-top: 1px solid var(--line);
}

.security-list li:last-child {
	border-bottom: 1px solid var(--line);
}

.security-list .icon-mark {
	display: grid;
	grid-row: span 2;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--blue-soft);
	color: var(--blue);
}

.security-list .icon {
	width: 16px;
	height: 16px;
	stroke-width: 2.4;
}

.security-list h3 {
	font-size: 1.0625rem;
	line-height: 1.6;
	letter-spacing: -0.01em;
}

.security-list p {
	color: var(--gray);
	font-size: 0.9375rem;
}

.proof-text {
	max-width: 440px;
	margin: 36px 0 0;
}

.proof-card {
	padding: 16px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--line), var(--shadow-2);
	font-size: 0.875rem;
	line-height: 1.45;
}

.proof-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--ink);
	font-weight: 600;
}

.proof-head .avatar {
	width: 30px;
	height: 30px;
	font-size: 0.8125rem;
}

.proof-card .msg {
	max-width: 100%;
	overflow-wrap: anywhere;
}

.proof-card code {
	color: var(--ink);
	font-size: 0.8125rem;
}

.proof-text figcaption {
	margin-top: 12px;
	color: var(--gray);
	font-size: 0.8125rem;
}

/* ------------------------------------------------------------------ price */

.pricing {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	margin-top: 52px;
}

@media (min-width: 960px) {
	.pricing {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
}

.plan {
	display: grid;
	gap: 28px;
	padding: clamp(24px, 3.4vw, 40px);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--line), var(--shadow-2);
}

@media (min-width: 720px) {
	.plan {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
		align-items: start;
	}
}

.plan h3 {
	font-size: 1.25rem;
}

.price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
	margin-top: 10px;
	color: var(--gray);
}

.price > span {
	white-space: nowrap;
}

.price .figure {
	color: var(--ink);
	font-size: clamp(3rem, 2.4rem + 2vw, 4rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.plan .btn {
	margin-top: 26px;
}

.plan-list {
	display: grid;
	gap: 12px;
	font-size: 0.9375rem;
}

.plan-list li {
	position: relative;
	padding-left: 28px;
}

.plan-list a {
	color: inherit;
	text-decoration-color: rgb(34 81 255 / 0.35);
}

.plan-list a:hover {
	color: var(--blue);
}

.plan-list .icon {
	position: absolute;
	top: 3px;
	left: 0;
	width: 18px;
	height: 18px;
	color: var(--blue);
	stroke-width: 2.2;
}

.support {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: clamp(24px, 3.4vw, 40px);
	border-radius: 24px;
	background: var(--blue-soft);
	color: var(--text);
}

.support h3 {
	margin-top: 0;
	color: var(--ink);
	font-size: 1.5rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.support > div > p {
	margin-top: 10px;
}

.support-figure {
	margin: auto 0 0;
}

.support-chat {
	--store: var(--blue);
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--shadow-2);
	font-size: 0.875rem;
	line-height: 1.45;
}

.support-chat .msg {
	max-width: 92%;
}

.support-chat code {
	font-size: 0.8125rem;
}

.support figcaption {
	margin-top: 12px;
	color: var(--gray);
	font-size: 0.8125rem;
}

/* ------------------------------------------------------------------ blue closing */

.closing {
	position: relative;
	overflow: hidden;
	padding-block: clamp(72px, 9vw, 112px);
	background: linear-gradient(135deg, var(--blue) 0%, #4a3dff 60%, #6b3cf0 100%);
	color: #e6ebff;
}

.closing .symbol-background {
	position: absolute;
	top: 50%;
	right: max(-80px, calc(50% - 760px));
	width: clamp(260px, 34vw, 440px);
	height: auto;
	color: rgb(255 255 255 / 0.07);
	transform: translateY(-46%);
}

.closing-row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	justify-items: start;
}

.closing h2 {
	max-width: 15ch;
	color: #fff;
	font-size: clamp(2rem, 1.3rem + 2.2vw, 3.125rem);
	line-height: 1.06;
	letter-spacing: -0.032em;
}

.closing p {
	margin-top: 16px;
	font-size: 1.125rem;
}

.closing-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
}

.closing :focus-visible {
	outline-color: #fff;
}

.white-link {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.white-link:hover {
	color: #fff;
	text-decoration: underline;
}

/* ------------------------------------------------------------------ inner pages */

.menu a[aria-current="page"] {
	background: var(--bg-gray);
	color: var(--ink);
}

.mobile-menu-panel a[aria-current="page"] {
	color: var(--blue);
	font-weight: 600;
}

.page-head {
	padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px);
	overflow: clip;
	background:
		radial-gradient(50% 70% at 85% 30%, rgb(34 81 255 / 0.1), transparent 70%),
		linear-gradient(#fff, #f6f8ff);
}

.page-head h1 {
	max-width: 18ch;
	font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
	line-height: 1.04;
	letter-spacing: -0.036em;
}

.page-head .lead {
	max-width: 36em;
}

.page-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}

@media (min-width: 1024px) {
	.page-grid {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		gap: 64px;
	}
}

/* Page index: links to its sections. */
.page-index {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
}

.page-index a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--bg-gray);
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--text);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.page-index a:hover {
	background: var(--blue-soft);
	box-shadow: inset 0 0 0 1px rgb(34 81 255 / 0.2);
	color: var(--blue-deep);
}

.section-link {
	margin-top: 28px;
}

.section-ink .arrow-link {
	color: #fff;
}

.section-ink .arrow-link:hover {
	color: var(--blue-light);
}

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

/* Numbered steps: here the order matters. */
.steps {
	display: grid;
	margin-top: 32px;
	padding: 0;
	counter-reset: step;
	list-style: none;
}

.steps > li {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 4px 16px;
	padding: 20px 0;
	border-top: 1px solid var(--line);
	counter-increment: step;
}

.steps > li:last-child {
	border-bottom: 1px solid var(--line);
}

.steps > li::before {
	content: counter(step);
	display: grid;
	grid-row: span 4;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--blue-soft);
	color: var(--blue-deep);
	font-size: 0.9375rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.steps h3 {
	font-size: 1.0625rem;
	line-height: 1.6;
	letter-spacing: -0.01em;
}

.steps p {
	color: var(--gray);
	font-size: 0.9375rem;
}

.steps p code,
.questions p code,
.data-list code,
.section .lead code {
	padding: 1px 5px;
	border-radius: 6px;
	background: var(--bubble);
	color: var(--ink);
	font-size: 0.875em;
	white-space: nowrap;
}

.steps pre {
	margin-top: 12px;
}

/* Standalone code blocks (the installation ones use .via pre). */
pre.code {
	margin: 22px 0 0;
	padding: 18px 20px;
	overflow-x: auto;
	border-radius: 14px;
	background: var(--ink);
	color: #e9edf5;
	font-size: 0.875rem;
	line-height: 1.75;
	scrollbar-color: #3a4256 transparent;
}

pre.code code {
	color: inherit;
	font-size: inherit;
}

.c-comment {
	color: #8f99ab;
}


/* Frequently asked questions, in plain view (no accordions). */
.questions {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 56px;
	margin-top: 40px;
}

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

.questions > div {
	padding: 22px 0;
	border-top: 1px solid var(--line);
}

.questions h3 {
	font-size: 1.0625rem;
	line-height: 1.5;
	letter-spacing: -0.01em;
}

.questions p {
	margin-top: 6px;
	color: var(--gray);
	font-size: 0.9375rem;
}

/* The «Install» section of the panel settings. */
.settings {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	padding: 18px;
}

.settings-title {
	color: var(--ink);
	font-size: 0.875rem;
	font-weight: 600;
}

.settings-title:not(:first-child) {
	margin-top: 10px;
}

.settings-help {
	color: var(--gray);
	font-size: 0.8125rem;
}

.settings-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 5px 5px 12px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: var(--bg-gray);
}

.settings-row code {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	color: var(--ink);
	font-size: 0.75rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.settings-row .btn-mini {
	min-height: 30px;
}

.settings-field {
	padding: 8px 12px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	color: var(--ink);
	font-size: 0.8125rem;
	line-height: 1.7;
}

/* The panel window without a profile. */
.app-only .app-body {
	grid-template-columns: minmax(0, 1fr);
}

/* Color tester: the store's color and the text Parlar picks on top of it. */
.tester {
	display: grid;
	gap: 22px;
	justify-items: center;
}

.samples {
	margin: 0;
	padding: 0;
	border: 0;
}

.samples legend {
	margin: 0 auto 12px;
	padding: 0;
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 600;
	text-align: center;
}

.samples-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.samples input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.samples label {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgb(14 18 32 / 0.14);
	cursor: pointer;
	transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.samples label:hover {
	transform: scale(1.08);
}

.samples input:checked + label {
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c);
}

.samples input:focus-visible + label {
	outline: 2px solid var(--blue);
	outline-offset: 7px;
}

.preview {
	--store: #2251ff;
	--on-store: #fff;
	display: grid;
	gap: 14px;
	justify-items: end;
	width: min(100%, 320px);
}

.tester:has(#color-green:checked) .preview {
	--store: #1e6b52;
}

.tester:has(#color-red:checked) .preview {
	--store: #b42318;
}

.tester:has(#color-violet:checked) .preview {
	--store: #6d28d9;
}

.tester:has(#color-yellow:checked) .preview {
	--store: #f5c518;
	--on-store: #0e1220;
}

.preview .widget {
	--store: inherit;
}

.preview .widget-head,
.preview .msg-me,
.preview .launcher,
.preview .send-round {
	background: var(--store);
	color: var(--on-store);
	transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out);
}

.preview .widget-sub {
	color: var(--on-store);
	opacity: 0.86;
}

.preview .widget-head .avatar {
	background: color-mix(in srgb, var(--on-store) 18%, transparent);
	color: var(--on-store);
}

.preview .launcher {
	box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--store) 60%, transparent);
}

.preview .widget-messages {
	min-height: 0;
}

/* The chat's four languages. */
.languages {
	display: grid;
	gap: 14px;
	padding: 20px;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--shadow-3);
}

.language-globe {
	display: grid;
	gap: 5px;
	justify-items: start;
}

.language-globe span {
	color: var(--gray);
	font-size: 0.75rem;
	font-weight: 600;
}

.language-globe p {
	padding: 10px 14px;
	border-radius: 16px;
	border-bottom-left-radius: 5px;
	background: var(--bubble);
	color: var(--ink);
	font-size: 0.9375rem;
}

/* A message's journey: from the visitor's browser to your panel. */
.flow {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin: 48px 0 0;
	padding: 0;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--line);
	list-style: none;
}

.flow-name a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgb(34 81 255 / 0.4);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.25em;
}

.flow-name a:hover {
	color: var(--blue);
	text-decoration-color: currentColor;
}

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

.flow > li {
	position: relative;
	padding: 24px 26px 26px;
	border-top: 1px solid var(--line);
}

.flow > li:first-child {
	border-top: 0;
}

@media (min-width: 960px) {
	.flow > li {
		border-top: 0;
		border-left: 1px solid var(--line);
	}

	.flow > li:first-child {
		border-left: 0;
	}

	/* The arrow between two stages. */
	.flow > li + li::before {
		content: "";
		position: absolute;
		top: 30px;
		left: -9px;
		width: 16px;
		height: 16px;
		border-top: 1px solid var(--line);
		border-right: 1px solid var(--line);
		background: #fff;
		transform: rotate(45deg);
	}
}

.flow-name {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.flow-name .icon {
	width: 22px;
	height: 22px;
	color: var(--blue);
}

.flow ul {
	display: grid;
	gap: 8px;
	margin-top: 14px;
	color: var(--gray);
	font-size: 0.875rem;
}

.flow ul li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.flow ul .icon {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	color: var(--green);
	stroke-width: 2.4;
}

/* On mobile the journey is just an index: the detail is in the sections below. */
@media (max-width: 959px) {
	.flow > li {
		padding: 16px 20px;
	}

	.flow ul {
		display: none;
	}
}

/* The free plan, with the features grouped. */
.plan-wide {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 960px) {
	.plan-wide {
		grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr);
		gap: 48px;
	}
}

.plan-groups {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px 40px;
}

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

.plan-groups h4 {
	margin: 0 0 12px;
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 700;
}

.plan-note {
	margin-top: 18px;
	color: var(--gray);
	font-size: 0.875rem;
}

.extras {
	display: grid;
	gap: 6px;
	margin-top: 20px;
	padding: clamp(24px, 3vw, 32px);
	border-radius: 24px;
	background: var(--blue-soft);
}

.extras h3 {
	font-size: 1.25rem;
	letter-spacing: -0.015em;
}

/* What the Free plan includes, under its price. */
.plan-limits {
	max-width: 26ch;
	margin-top: 14px;
	color: var(--text);
	font-size: 0.9375rem;
}

/* The paid plans that come later: they sit on the background (only the plan that can already be used
   floats), with no price until they open, with their label and gray ticks. */
.tiers {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	margin-top: 20px;
}

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

.tier {
	padding: clamp(24px, 3vw, 32px);
	border-radius: 24px;
	box-shadow: inset 0 0 0 1px var(--line-strong);
}

.tier-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
}

.tier h3 {
	font-size: 1.25rem;
	letter-spacing: -0.015em;
}

.soon {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--line-strong);
	color: var(--gray);
	font-size: 0.8125rem;
	font-weight: 600;
	white-space: nowrap;
}

.tier-base {
	margin-top: 20px;
	color: var(--gray);
	font-size: 0.875rem;
	font-weight: 500;
}

.tier .plan-list {
	margin-top: 12px;
}

.tier .plan-list .icon {
	color: var(--gray);
}

/* The paid extras, under the Free plan: two per row from 720 px. */
.extras-head {
	margin-top: clamp(40px, 5vw, 56px);
}

.extras-head h3 {
	font-size: 1.5rem;
	letter-spacing: -0.02em;
}

.extras-head p {
	max-width: 60ch;
	margin-top: 8px;
	color: var(--text);
}

@media (min-width: 720px) {
	.tiers.extras-paid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.tier-price {
	margin-top: 18px;
	color: var(--ink);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.tier-price span {
	color: var(--gray);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0;
}

.tier-price-soon {
	color: var(--gray);
	font-size: 1.125rem;
	font-weight: 600;
}

.tier-note {
	margin-top: 4px;
	color: var(--gray);
	font-size: 0.875rem;
}

.extras-note {
	margin-top: 16px;
	color: var(--gray);
	font-size: 0.875rem;
}

.tier-text {
	margin-top: 10px;
	color: var(--text);
	font-size: 0.9375rem;
}

/* ------------------------------------------------------------------ footer */

.site-footer {
	padding-block: 56px 32px;
	background: var(--bg);
	font-size: 0.9375rem;
}

.footer-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

@media (min-width: 840px) {
	.footer-row {
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 48px;
	}
}

.footer-brand p {
	margin-top: 12px;
	color: var(--gray);
}

.footer-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, auto));
	gap: 20px 56px;
}

.footer-columns ul {
	display: grid;
	gap: 8px;
}

.footer-title {
	margin-bottom: 12px;
	color: var(--ink);
	font-size: 0.875rem;
	font-weight: 600;
}

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

.site-footer nav a:hover,
.site-footer .language:hover {
	color: var(--blue);
}

.site-footer .language {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	color: var(--gray);
	font-size: 0.875rem;
}

/* Terms and Privacy: in WordPress, only when they are published. */
.footer-legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.site-footer .footer-legal a {
	color: var(--gray);
}

/* ------------------------------------------------------------------ legal pages */

/* Terms, Privacy and pages of that kind: the title centered and the text, left-aligned,
   in a wide column in the center of the page. Chosen by the owner on 2026-10-11. */
.legal-head {
	padding-block: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 40px);
	text-align: center;
}

.legal-head h1,
.legal-head .lead {
	margin-inline: auto;
}

.legal-section {
	padding-block: 8px clamp(80px, 10vw, 120px);
}

.legal-text {
	max-width: 960px;
}

.legal-text h2 {
	max-width: none;
	margin-top: 44px;
	font-size: 1.375rem;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

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

.legal-text p {
	margin-top: 14px;
}

.legal-list {
	display: grid;
	gap: 10px;
	margin-top: 14px;
	padding-left: 22px;
	list-style: disc;
}

.legal-list li::marker {
	color: var(--gray);
}
