/* AlmasWare public site. Logical properties throughout, so Kurdish and
   Arabic (dir="rtl") mirror without separate rules. No framework, no JS. */

@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url(/assets/fonts/newsreader-latin.woff2) format("woff2-variations");
	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: "Newsreader";
	font-style: italic;
	font-display: swap;
	font-weight: 200 800;
	src: url(/assets/fonts/newsreader-latin-italic.woff2)
		format("woff2-variations");
	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: "Schibsted Grotesk";
	font-style: normal;
	font-display: swap;
	font-weight: 400 900;
	src: url(/assets/fonts/schibsted-grotesk-latin.woff2)
		format("woff2-variations");
	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: "IBM Plex Mono";
	font-style: normal;
	font-display: swap;
	font-weight: 500;
	src: url(/assets/fonts/ibm-plex-mono-latin-500.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212;
}
@font-face {
	font-family: "Noto Kufi Arabic";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(/assets/fonts/noto-kufi-arabic.woff2) format("woff2-variations");
	unicode-range:
		U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(/assets/fonts/vazirmatn-arabic.woff2) format("woff2-variations");
	unicode-range:
		U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF;
}

/* Colours: the theme (settings > Look and feel) sets --bg, --ink and
   --accent; every other shade is mixed from them, so a section that swaps
   them (.tone-dark, .tone-brand) re-tints everything inside it. */
:root,
.ft,
.tone-default,
.tone-muted,
.tone-dark,
.tone-brand {
	--ink-2: color-mix(in oklab, var(--ink) 66%, var(--bg));
	--line: color-mix(in oklab, var(--ink) 15%, var(--bg));
	--line-2: color-mix(in oklab, var(--ink) 32%, var(--bg));
	--muted: color-mix(in oklab, var(--ink) 5%, var(--bg));
}
:root {
	--bg: #f6f6f4;
	--ink: #1f2224;
	--accent: #2e3235;
	/* The theme's accent, kept apart from --accent, which tones re-point. */
	--brand: #2e3235;
	--accent-ink: #fff;
	--dark: #1f2224;
	--paper: var(--bg);
	--r: 8px;
	--r-sm: 6px;
	--r-btn: 8px;
	/* The colourful panel behind the home hero and the call-to-action band.
	   Override these in custom CSS to change its colours. */
	--glow-base: #1a1024;
	--glow-1: #3d1bb0;
	--glow-2: #e8743a;
	--glow-3: #d0386b;
	--glow-4: #1f8a4c;
	--glow-5: #1d8fe0;
	--glow-6: #a74fe0;
	--glow-fields:
		radial-gradient(40% 50% at 22% 24%, var(--glow-1), transparent 70%),
		radial-gradient(32% 40% at 48% 52%, var(--glow-2), transparent 72%),
		radial-gradient(30% 36% at 64% 36%, var(--glow-3), transparent 70%),
		radial-gradient(30% 40% at 80% 22%, var(--glow-4), transparent 72%),
		radial-gradient(32% 42% at 78% 76%, var(--glow-5), transparent 72%),
		radial-gradient(32% 40% at 26% 78%, var(--glow-6), transparent 70%);
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--shadow: 0 1px 0 var(--line);
	--wrap: 1240px;
	--font-head:
		"Schibsted Grotesk", "Noto Kufi Arabic", ui-sans-serif, system-ui,
		sans-serif;
	--font:
		"Schibsted Grotesk", "Vazirmatn", ui-sans-serif, system-ui, -apple-system,
		"Segoe UI", Tahoma, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--head-w: 680;
	--head-ls: -0.035em;
	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;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px / 1.6 var(--font);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
[dir="rtl"] body {
	line-height: 1.85;
}
img,
picture,
svg,
iframe {
	display: block;
	max-width: 100%;
}
img {
	height: auto;
}
a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	line-height: 1.08;
	letter-spacing: -0.015em;
	font-weight: 650;
	text-wrap: balance;
}
h1,
h2 {
	font-family: var(--font-head);
	font-weight: var(--head-w);
	letter-spacing: var(--head-ls, -0.025em);
}
[dir="rtl"] :is(h1, h2, h3, h4) {
	letter-spacing: 0;
	line-height: 1.5;
}
[dir="rtl"] :is(h1, h2) {
	font-weight: max(600, var(--head-w));
}
h1 {
	font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem);
}
h2 {
	font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
}
h3 {
	font-size: 1.18rem;
}
p {
	margin: 0 0 1em;
	text-wrap: pretty;
}
::selection {
	background: var(--accent);
	color: var(--accent-ink);
}
:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	border-radius: 4px;
}
.ic {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}
[dir="rtl"] .flip {
	transform: scaleX(-1);
}

.skip {
	position: absolute;
	inset-inline-start: 12px;
	top: -100px;
	z-index: 100;
	background: var(--ink);
	color: var(--bg);
	padding: 10px 16px;
	border-radius: var(--r-sm);
}
.skip:focus {
	top: 12px;
}
.pv-bar {
	position: sticky;
	top: 0;
	z-index: 60;
	background: #fff4d6;
	color: #6b4e00;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	padding: 6px;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: 20px;
}
@media (min-width: 768px) {
	.wrap {
		padding-inline: 32px;
	}
}
.narrow {
	max-width: 800px;
}

/* Header */
.top {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in oklab, var(--bg) 92%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line-2);
}
.top-in {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 68px;
}
.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
	text-decoration: none;
	flex: none;
}
.mnav-b,
.mnav-x {
	margin-inline-start: auto;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: var(--bg);
	color: var(--ink);
	cursor: pointer;
}
.mnav-x {
	position: absolute;
	inset-inline-end: 16px;
	top: 12px;
}
.mnav-p {
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	border: 0;
	padding: 72px 20px 32px;
	background: var(--bg);
	color: var(--ink);
	overflow-y: auto;
}
.mnav-p:popover-open {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.nav-a,
.dd summary {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border-radius: var(--r-sm);
	text-decoration: none;
	font-weight: 600;
	font-size: 15.5px;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}
.dd summary::-webkit-details-marker {
	display: none;
}
.nav-a:hover,
.dd summary:hover {
	background: var(--muted);
}
.dd-i {
	width: 16px;
	height: 16px;
	transition: transform 0.2s;
}
.dd[open] .dd-i {
	transform: rotate(180deg);
}
.dd-m {
	list-style: none;
	margin: 0;
	padding: 6px;
	display: grid;
	gap: 2px;
}
.dd-m li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px;
	border-radius: var(--r-sm);
	position: relative;
}
.dd-m li:hover {
	background: var(--muted);
}
.dd-m .ic {
	color: var(--accent);
	margin-top: 3px;
}
.dd-a {
	text-decoration: none;
	font-weight: 650;
	font-size: 15px;
	display: grid;
}
.dd-a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.dd-a small {
	font-weight: 400;
	color: var(--ink-2);
	font-size: 13.5px;
	line-height: 1.45;
}
.dd-top {
	display: none !important;
}
.top-act {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.langs ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 2px;
}
.langs a {
	display: block;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 14px;
	text-decoration: none;
	color: var(--ink-2);
}
.langs a[aria-current] {
	background: var(--muted);
	color: var(--ink);
	font-weight: 700;
}
@media (max-width: 1199px) {
	.top-act {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding-top: 20px;
		border-top: 1px solid var(--line);
	}
	.top-act .langs ul {
		justify-content: center;
	}
	.top-act .nav-a {
		justify-content: center;
		min-height: 48px;
		border: 1px solid var(--line);
		border-radius: 999px;
	}
	.top-act .btn {
		min-height: 48px;
	}
}
.lsw {
	display: none;
}
.lsw summary {
	font-size: 14.5px;
	color: var(--ink-2);
}
.lsw .dd-m {
	width: 180px;
}
.lsw .dd-a {
	padding: 8px 10px;
	border-radius: var(--r-sm);
}
.lsw .dd-a[aria-current] {
	background: var(--muted);
	font-weight: 750;
}
.lsw .dd-a::after {
	content: none;
}
.lsw .dd-m li {
	padding: 0;
}
@media (min-width: 1200px) {
	.mnav-b,
	.mnav-x {
		display: none;
	}
	.mnav-p,
	.mnav-p:popover-open {
		all: unset;
		display: flex;
		flex: 1;
		align-items: center;
		gap: 16px;
	}
	.mnav-p nav {
		flex: 1;
	}
	.nav {
		flex-direction: row;
		justify-content: center;
	}
	.has-dd {
		position: relative;
	}
	.dd-m {
		position: absolute;
		inset-inline-start: 0;
		top: calc(100% + 8px);
		width: 340px;
		background: var(--bg);
		border: 1px solid var(--line);
		border-radius: var(--r);
		box-shadow: var(--shadow);
	}
	.top-act {
		flex-wrap: nowrap;
		flex: none;
	}
	.top-act .langs {
		display: none;
	}
	.lsw {
		display: block;
		position: relative;
	}
	.lsw .dd-m {
		inset-inline-start: auto;
		inset-inline-end: 0;
	}
	.nav-a,
	.dd summary,
	.top .btn {
		white-space: nowrap;
	}
	.nav-a,
	.nav .dd summary {
		padding-inline: 10px;
	}
}

/* Buttons */
.btns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 32px;
}
.btns-c {
	justify-content: center;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 12px 24px;
	border-radius: var(--r-btn);
	border: 1px solid transparent;
	font: inherit;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.15s,
		color 0.15s,
		border-color 0.15s;
}
.btn .ic {
	width: 18px;
	height: 18px;
	transition: transform 0.15s;
}
.btn:hover .ic {
	transform: translateX(3px);
}
[dir="rtl"] .btn:hover .ic.flip {
	transform: scaleX(-1) translateX(3px);
}
.btn-p {
	position: relative;
	isolation: isolate;
	background: var(--ink);
	color: var(--bg);
}
/* On hover the main button lights up with the hero's colours, moving,
   with the same grain over them. */
.btn-p::before {
	content: "";
	position: absolute;
	/* Over the border too, so no dark edge is left around the colours. */
	inset: -1px;
	border-radius: inherit;
	z-index: -1;
	opacity: 0;
	background-image:
		var(--grain),
		linear-gradient(
			115deg,
			var(--glow-1),
			var(--glow-6),
			var(--glow-3),
			var(--glow-2),
			var(--glow-5),
			var(--glow-4),
			var(--glow-1)
		);
	background-size:
		160px 160px,
		400% 100%;
	background-blend-mode: overlay, normal;
	transition: opacity 0.3s;
}
.btn-p:is(:hover, :focus-visible) {
	color: #fff;
	border-color: transparent;
}
.btn-p:is(:hover, :focus-visible)::before {
	opacity: 1;
	animation: btn-flow 2.8s ease-in-out infinite alternate;
}
@keyframes btn-flow {
	from {
		background-position:
			0 0,
			0% 50%;
	}
	to {
		background-position:
			160px 80px,
			100% 50%;
	}
}
.btn-s {
	background: transparent;
	color: var(--ink);
	border-color: var(--line-2);
}
.btn-s:hover {
	border-color: var(--ink);
	background: var(--muted);
}
.btn-sm {
	min-height: 40px;
	padding: 8px 16px;
	font-size: 15px;
}
.btn-w {
	width: 100%;
}
.more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 15px;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}
.more:hover {
	color: var(--accent);
}
.more .ic {
	width: 16px;
	height: 16px;
}

/* Sections */
.sec {
	padding-block: 88px;
}
.sp-none {
	padding-block: 0;
}
.sp-sm {
	padding-block: 44px;
}
.sp-lg {
	padding-block: 128px;
}
@media (max-width: 767px) {
	.sec {
		padding-block: 56px;
	}
	.sp-sm {
		padding-block: 28px;
	}
	.sp-lg {
		padding-block: 80px;
	}
	.hide-mobile {
		display: none;
	}
}
@media (min-width: 768px) {
	.hide-desktop {
		display: none;
	}
}
/* Section tones swap the base colours; everything inside follows. */
.tone-default,
.tone-muted,
.tone-dark,
.tone-brand {
	background: var(--bg);
	color: var(--ink);
}
.tone-muted {
	--bg: color-mix(in oklab, var(--paper) 93%, #000);
}
.tone-dark {
	--bg: var(--dark);
	--ink: color-mix(in oklab, var(--paper) 94%, #fff);
	--accent: color-mix(in oklab, var(--brand) 35%, #fff);
}
/* The brand band is the colourful panel (see .glow), full width. */
.tone-brand {
	--bg: var(--glow-base);
	--ink: #fff;
	--ink-2: rgb(255 255 255 / 0.86);
	--accent: #fff;
	color: var(--ink);
}
.tone-brand .cta {
	border-top-color: rgb(255 255 255 / 0.4);
}

/* Section headings sit on a rule, heading left and the introduction to
   its side, like a ledger page. */
.sh {
	margin-bottom: 48px;
	padding-top: 22px;
	border-top: 1px solid var(--ink);
	display: grid;
	gap: 14px 64px;
	align-items: end;
}
.sh > * {
	margin: 0;
}
.sh .eyebrow {
	grid-column: 1 / -1;
	align-self: start;
}
@media (min-width: 900px) {
	.sh:has(.sh-t):has(.sh-p) {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
}
.sh-p {
	color: var(--ink-2);
	font-size: 1.1rem;
	max-width: 46ch;
}
.sh-t {
	max-width: 20ch;
}
.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	color: var(--ink-2);
	font-family: var(--mono);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.02em;
}
.eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--accent);
	flex: none;
}
[dir="rtl"] .eyebrow {
	font-family: var(--font);
	font-size: 15px;
	font-weight: 600;
}

/* Hero */
.hero {
	display: grid;
	gap: 56px;
	align-items: end;
}
.hero-t {
	font-size: clamp(2.8rem, 1.3rem + 5.4vw, 6rem);
	line-height: 0.98;
	margin-bottom: 28px;
	max-width: 16ch;
}
[dir="rtl"] .hero-t {
	line-height: 1.35;
	font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.4rem);
}
.hero-p {
	font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);
	color: var(--ink-2);
	max-width: 56ch;
}
/* The colourful panel: soft colour fields over a dark base, with a film
   grain on top so the gradient doesn't look like a flat vector blur. */
.glow,
.tone-brand {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--glow-base);
}
/* The colour fields sit on a layer larger than the panel and drift slowly,
   so the light moves the way it does through a window. */
.glow::before,
.tone-brand::before {
	content: "";
	position: absolute;
	inset: -25%;
	z-index: -2;
	pointer-events: none;
	background: var(--glow-fields);
	animation: glow-drift 22s ease-in-out infinite alternate;
}
.glow::after,
.tone-brand::after {
	content: "";
	position: absolute;
	inset: -40px;
	z-index: -1;
	pointer-events: none;
	opacity: 0.5;
	mix-blend-mode: overlay;
	background-image: var(--grain);
	animation: grain 0.9s steps(5) infinite;
}
@keyframes glow-drift {
	0% {
		transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1);
	}
	50% {
		transform: translate3d(4%, 3%, 0) rotate(7deg) scale(1.08);
	}
	100% {
		transform: translate3d(-2%, 4%, 0) rotate(-5deg) scale(1.03);
	}
}
/* Film grain: the noise jumps a few pixels each frame, like real grain. */
@keyframes grain {
	0% {
		transform: translate(0, 0);
	}
	20% {
		transform: translate(-14px, 9px);
	}
	40% {
		transform: translate(11px, -17px);
	}
	60% {
		transform: translate(-7px, 21px);
	}
	80% {
		transform: translate(19px, 4px);
	}
	100% {
		transform: translate(0, 0);
	}
}
:where(.glow, .tone-brand) > * {
	position: relative;
	z-index: 1;
}
.glow {
	--ink: #fff;
	--ink-2: rgb(255 255 255 / 0.86);
	--accent: #fff;
	--line: rgb(255 255 255 / 0.28);
	color: var(--ink);
	border-radius: calc(var(--r) * 2.5);
	overflow: hidden;
	padding: clamp(36px, 2.5vw + 24px, 64px) clamp(20px, 4vw, 56px) 0;
}
.glow .btn-p,
.tone-brand .btn-p {
	background: #141414;
	color: #fff;
	border-color: #141414;
	box-shadow: 0 0 0 4px rgb(255 255 255 / 0.18);
}

.glow .btn-s,
.tone-brand .btn-s {
	background: #fff;
	color: #141414;
	border-color: #fff;
	box-shadow: 0 0 0 4px rgb(255 255 255 / 0.18);
}
.glow .btn-s:hover,
.tone-brand .btn-s:hover {
	background: rgb(255 255 255 / 0.88);
}
.hero-g {
	display: block;
	text-align: center;
}
.hero-g .hero-copy {
	max-width: 980px;
	margin-inline: auto;
}
.hero-g .hero-t {
	max-width: 18ch;
	margin-inline: auto;
	margin-bottom: 18px;
	font-size: clamp(2.2rem, 1rem + 3.4vw, 4.25rem);
	line-height: 1;
	text-shadow: 0 2px 30px rgb(0 0 0 / 0.12);
}
[dir="rtl"] .hero-g .hero-t {
	font-size: clamp(1.9rem, 1rem + 2.6vw, 3.3rem);
	line-height: 1.35;
}
.hero-g .hero-p {
	margin-inline: auto;
	max-width: 62ch;
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
	color: var(--ink-2);
}
.hero-g .btns {
	margin-top: 24px;
}
.hero-g .eyebrow {
	margin-bottom: 14px;
}
.hero-g .eyebrow,
.hero-g .btns,
.hero-g .pts {
	justify-content: center;
}
.hero-g .eyebrow::before {
	display: none;
}
.hero-g .pts {
	margin-top: 20px;
	font-size: 14px;
	border-top: 0;
	padding-top: 0;
}
/* The picture peeks out of the bottom of the panel and fades away before
   the edge, so the cut reads as a preview rather than a clipped box. */
.glow-media {
	max-width: 560px;
	height: clamp(170px, 17vw, 250px);
	margin: clamp(28px, 3vw, 44px) auto 0;
	overflow: hidden;
	border-radius: var(--r) var(--r) 0 0;
	-webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
}
.glow-media:has(picture) {
	max-width: 880px;
	height: clamp(180px, 22vw, 320px);
}
.glow-media picture {
	border-radius: var(--r);
	overflow: hidden;
	box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
}
.glow-media img {
	width: 100%;
}
.glow .inv,
[dir="rtl"] .glow .inv {
	transform: none;
	border-color: transparent;
	box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
	text-align: start;
	color: #1f2224;
	--accent: #1f2224;
}
.sec.bk-hero:first-child:has(.glow) {
	padding-block: 16px 56px;
}
@media (max-width: 767px) {
	.glow {
		margin-inline: -8px;
	}
}
@media (max-width: 639px) {
	.hero-g .btns {
		flex-wrap: nowrap;
		gap: 8px;
	}
	.hero-g .btn {
		flex: 1 1 0;
		min-width: 0;
		min-height: 46px;
		padding-inline: 12px;
		font-size: 15px;
	}
	.hero-g .pts {
		display: none;
	}
	.glow-media {
		height: 150px;
	}
}

/* "Centred" heroes on inner pages: the heading runs wide, the text and
   buttons sit under it on the start side. */
.hero-c .hero-t {
	max-width: 22ch;
}
.hero-media picture,
.split-media picture,
.fig picture {
	border-radius: var(--r);
	overflow: hidden;
}
.hero-media img,
.split-media img {
	width: 100%;
}
.pts {
	list-style: none;
	margin: 36px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	font-size: 15px;
	color: var(--ink-2);
}
.pts li {
	display: flex;
	align-items: center;
	gap: 8px;
}
.pts .ic {
	color: var(--accent);
	width: 16px;
	height: 16px;
}
@media (min-width: 1024px) {
	.hero-s {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 72px;
	}
	.sec.bk-hero:first-child {
		padding-block: 72px 104px;
	}
}

/* The sample invoice beside the home page heading: the product's own
   paperwork, in dinars and dollars, rather than a stock picture. */
.inv {
	position: relative;
	background: color-mix(in oklab, var(--paper) 40%, #fff);
	color: #1b1a17;
	border: 1px solid var(--line-2);
	border-radius: var(--r);
	padding: 28px 28px 22px;
	font-size: 14.5px;
	box-shadow:
		0 1px 0 var(--line),
		12px 12px 0 -1px var(--muted),
		12px 12px 0 0 var(--line-2);
	transform: rotate(-1.2deg);
}
[dir="rtl"] .inv {
	transform: rotate(1.2deg);
	box-shadow:
		0 1px 0 var(--line),
		-12px 12px 0 -1px var(--muted),
		-12px 12px 0 0 var(--line-2);
}
.inv-h {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: start;
	padding-bottom: 14px;
	border-bottom: 2px solid #1b1a17;
}
.inv-h strong {
	font-family: var(--font-head);
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1;
}
.inv-h span,
.inv-to {
	font-family: var(--mono);
	font-size: 12.5px;
	color: #6b665d;
}
[dir="rtl"] :is(.inv-h span, .inv-to) {
	font-family: var(--font);
	font-size: 13.5px;
}
.inv-to {
	margin: 12px 0 6px;
}
.inv table {
	width: 100%;
	border-collapse: collapse;
}
.inv td {
	padding: 9px 0;
	border-bottom: 1px dashed #cfc7b8;
	vertical-align: top;
}
.inv td:last-child,
.price-v,
.stats dd {
	font-variant-numeric: tabular-nums;
}
.inv td:last-child {
	text-align: end;
	font-family: var(--mono);
	white-space: nowrap;
	padding-inline-start: 16px;
}
.inv tfoot td {
	border-bottom: 0;
	padding-top: 12px;
	font-weight: 700;
}
.inv tfoot tr + tr td {
	padding-top: 2px;
	font-weight: 500;
	color: #6b665d;
}
.inv-stamp {
	position: absolute;
	inset-inline-start: 26px;
	bottom: 16px;
	padding: 4px 12px;
	border: 2.5px solid var(--accent);
	color: var(--accent);
	font-family: var(--mono);
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transform: rotate(-9deg);
	opacity: 0.88;
	mix-blend-mode: multiply;
}
[dir="rtl"] .inv-stamp {
	font-family: var(--font);
	letter-spacing: 0;
	font-weight: 800;
}
@media (max-width: 1023px) {
	.inv {
		max-width: 480px;
	}
}

/* Logos */
.logos-t {
	color: var(--ink-2);
	font-family: var(--mono);
	font-size: 13px;
	margin-bottom: 18px;
}
[dir="rtl"] .logos-t {
	font-family: var(--font);
	font-size: 15px;
}
.logos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	background: var(--line);
	border-block: 1px solid var(--line);
}
.logos li {
	display: grid;
	place-items: center;
	min-height: 84px;
	padding: 12px 16px;
	background: var(--bg);
}
.logos img {
	max-height: 40px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.8;
}
.logos span {
	font-family: var(--font-head);
	font-size: 1.15rem;
	font-weight: 500;
	color: var(--ink-2);
	text-align: center;
}

/* Grids */
.grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 20px;
}
@media (min-width: 640px) {
	.cols-2,
	.cols-3,
	.cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1024px) {
	.cols-3 {
		grid-template-columns: repeat(3, 1fr);
	}
	.cols-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Features read like a ledger: cells divided by hairlines, a small
   accent mark instead of an icon in a tinted tile. */
.feat {
	gap: 0;
	overflow: hidden;
	border-top: 1px solid var(--line);
}
.feat-i {
	padding: 26px 28px 30px;
	border-bottom: 1px solid var(--line);
	border-inline-start: 1px solid var(--line);
	margin-inline-start: -1px;
}
@media (max-width: 639px) {
	.feat-i {
		padding-inline: 0;
		border-inline-start: 0;
		margin-inline-start: 0;
	}
}
.feat-i h3 {
	font-size: 1.12rem;
	margin-bottom: 0.4em;
}
.feat-i h3 a {
	text-decoration: none;
}
.feat-i h3 a:hover {
	text-decoration: underline;
	text-decoration-color: var(--accent);
}
.feat-i p {
	color: var(--ink-2);
	margin-bottom: 0.8em;
	font-size: 15.5px;
}
.feat-cards {
	gap: 16px;
	border-top: 0;
	overflow: visible;
}
.feat-cards .feat-i {
	margin: 0;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: color-mix(in oklab, var(--bg) 60%, #fff);
}
.ic-b {
	display: block;
	width: 26px;
	height: 26px;
	margin-bottom: 18px;
	color: var(--accent);
}
.ic-b .ic {
	width: 26px;
	height: 26px;
	stroke-width: 1.6;
}
.num {
	display: block;
	margin-bottom: 18px;
	font-family: var(--mono);
	font-weight: 500;
	font-size: 14px;
	color: var(--accent);
}

/* Grid block: cells span columns and rows as the editor sets them. */
.gx {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-auto-flow: row dense;
	grid-auto-rows: minmax(150px, auto);
}
.gap-none {
	gap: 0;
}
.gap-sm {
	gap: 8px;
}
.gap-md {
	gap: 16px;
}
.gap-lg {
	gap: 32px;
}
@media (min-width: 640px) {
	.gx {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.gx :is(.s-2, .s-3, .s-4, .s-6) {
		grid-column: span 2;
	}
}
@media (min-width: 1024px) {
	.gx-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.gx-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.gx-6 {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	.gx .s-3 {
		grid-column: span 3;
	}
	.gx .s-4 {
		grid-column: span 4;
	}
	.gx .s-6 {
		grid-column: 1 / -1;
	}
	.gx .r-2 {
		grid-row: span 2;
	}
	.gx .r-3 {
		grid-row: span 3;
	}
}
.cell {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--r);
}
.gx-boxed .cell {
	border: 1px solid var(--line);
}
.gx-boxed .cell.tone-default {
	background: color-mix(in oklab, var(--bg) 60%, #fff);
}
.gx-ruled {
	border-top: 1px solid var(--ink);
}
.gx-ruled .cell {
	border-radius: 0;
	border-bottom: 1px solid var(--line);
}
.cell-b {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.gx-plain .cell-b,
.gx-ruled .cell-b {
	padding-inline: 0;
}
.gx-plain .cell:not(.tone-default) .cell-b,
.gx-ruled .cell:not(.tone-default) .cell-b {
	padding-inline: 24px;
}
.cell-b > :last-child {
	margin-bottom: 0;
}
.cell-b .more {
	margin-top: auto;
	padding-top: 12px;
}
.cell-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cell-img.r-2 .cell-media,
.cell-img.r-3 .cell-media {
	flex: 1;
}
.cell-ic .ic {
	width: 26px;
	height: 26px;
	stroke-width: 1.6;
	color: var(--accent);
	margin-bottom: 16px;
}
.cell-l {
	font-family: var(--mono);
	font-size: 13px;
	color: var(--ink-2);
	margin-bottom: 10px;
}
[dir="rtl"] .cell-l {
	font-family: var(--font);
}
.cell h3 {
	font-size: 1.25rem;
}
.cell .prose {
	font-size: 15.5px;
	color: var(--ink-2);
}

/* A grid with fewer items than columns keeps its card width and centres them
   instead of leaving the end of the row empty. */
@media (min-width: 640px) {
	.grid:is(.cols-2, .cols-3, .cols-4):not(:has(> :nth-child(2))) {
		grid-template-columns: minmax(0, calc((100% - 20px) / 2));
		justify-content: center;
	}
}
@media (min-width: 1024px) {
	.grid.cols-3:not(:has(> :nth-child(3))) {
		grid-template-columns: repeat(auto-fit, minmax(0, calc((100% - 40px) / 3)));
		justify-content: center;
	}
	.grid.cols-4:not(:has(> :nth-child(4))) {
		grid-template-columns: repeat(auto-fit, minmax(0, calc((100% - 60px) / 4)));
		justify-content: center;
	}
}
/* Text blocks that follow one another read as one piece. */
.bk-text.tone-default + .bk-text.tone-default,
.bk-text.tone-muted + .bk-text.tone-muted {
	padding-top: 0;
}

/* Split */
.split {
	display: grid;
	gap: 40px;
	align-items: center;
}
@media (min-width: 1024px) {
	.split:not(.split-solo) {
		grid-template-columns: 1fr 1fr;
		gap: 72px;
	}
	.split-rev .split-media {
		order: -1;
	}
	/* Without an image the checklist takes the second column, as a panel. */
	.split-solo:has(.checks) .split-copy {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		column-gap: 72px;
		align-items: start;
	}
	.split-solo:has(.checks) .split-copy > * {
		grid-column: 1;
	}
	.split-solo:has(.checks) .split-copy > .checks {
		grid-column: 2;
		grid-row: 1 / span 6;
		align-self: center;
		margin: 0;
		padding: 28px;
		background: var(--bg);
		border: 1px solid var(--line);
		border-radius: var(--r);
	}
	.split-solo:has(.checks) .split-copy > .btn {
		justify-self: start;
		margin-top: 8px;
	}
}
.checks {
	list-style: none;
	margin: 20px 0 24px;
	padding: 0;
	display: grid;
	gap: 10px;
}
.checks li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.checks .ic {
	color: var(--accent);
	margin-top: 0.22em;
	width: 20px;
	height: 20px;
}

/* Prose */
.prose {
	font-size: 1.05rem;
}
.prose > :first-child {
	margin-top: 0;
}
.prose > :last-child {
	margin-bottom: 0;
}
.prose :is(h2, h3, h4) {
	margin-top: 1.6em;
}
.prose h2 {
	font-size: 1.7rem;
}
.prose h3 {
	font-size: 1.3rem;
}
.prose :is(ul, ol) {
	padding-inline-start: 1.3em;
	margin: 0 0 1em;
}
.prose li {
	margin-bottom: 0.35em;
}
.prose blockquote {
	margin: 1.5em 0;
	padding-inline-start: 18px;
	border-inline-start: 3px solid var(--accent);
	color: var(--ink-2);
	font-size: 1.1rem;
}
.prose code {
	background: var(--muted);
	padding: 2px 6px;
	border-radius: 6px;
	font-size: 0.92em;
}
.prose hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2em 0;
}
.prose a {
	color: var(--accent);
	font-weight: 600;
}

/* Stats */
.stats {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	border-top: 1px solid var(--ink);
}
.stats div {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 10px;
	padding: 22px 24px 8px 0;
}
.stats div + div {
	padding-inline-start: 24px;
	border-inline-start: 1px solid var(--line);
}
.stats dd {
	margin: 0;
	font-family: var(--font-head);
	font-size: clamp(2.8rem, 1.8rem + 3vw, 4.6rem);
	font-weight: var(--head-w);
	letter-spacing: -0.03em;
	line-height: 1;
}
.stats dt {
	color: var(--ink-2);
	font-size: 15px;
	max-width: 24ch;
}
@media (max-width: 639px) {
	.stats div + div {
		padding-inline-start: 0;
		border-inline-start: 0;
		border-top: 1px solid var(--line);
	}
}

/* Cards */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: color-mix(in oklab, var(--bg) 60%, #fff);
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
	transition: border-color 0.15s;
}
.card:has(.card-a):hover {
	border-color: var(--ink);
}
.card:has(.card-a):hover h3 {
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
.card-img img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.card-b {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.card-b p {
	color: var(--ink-2);
	font-size: 15.5px;
}
.card-b .more {
	margin-top: auto;
	text-decoration: none;
	color: var(--ink-2);
	font-size: 14px;
}
.card-m {
	font-family: var(--mono);
	font-size: 13px;
	color: var(--ink-2);
	margin-bottom: 10px;
}
[dir="rtl"] .card-m {
	font-family: var(--font);
}
.card-a {
	text-decoration: none;
}
.card-a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.empty {
	color: var(--ink-2);
}

/* Pricing */
.plans {
	align-items: stretch;
	gap: 0;
	border: 1px solid var(--ink);
	border-radius: var(--r);
}
.plan {
	position: relative;
	min-width: 0;
	overflow-wrap: break-word;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 32px 28px;
}
.plan + .plan {
	border-inline-start: 1px solid var(--line-2);
}
@media (max-width: 639px) {
	.plan + .plan {
		border-inline-start: 0;
		border-top: 1px solid var(--line-2);
	}
}
.plan-hi {
	background: var(--ink);
	color: var(--bg);
	--ink-2: color-mix(in oklab, var(--bg) 70%, var(--ink));
	--line: color-mix(in oklab, var(--bg) 22%, var(--ink));
}
.plan-hi .btn-p {
	background: var(--bg);
	color: var(--ink);
}
.plan-hi .btn-p:hover {
	color: #fff;
}
.plan-hi .checks .ic {
	color: color-mix(in oklab, var(--accent) 70%, #fff);
}
.badge {
	align-self: flex-start;
	margin: 0 0 10px;
	padding: 3px 10px;
	border: 1px solid currentColor;
	border-radius: var(--r-sm);
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
[dir="rtl"] .badge {
	font-family: var(--font);
	text-transform: none;
	letter-spacing: 0;
	font-size: 13px;
}
.plan h3 {
	margin: 0;
	font-size: 1.3rem;
}
.plan-d {
	color: var(--ink-2);
	font-size: 15px;
	min-height: 2.6em;
}
.price {
	margin: 14px 0 22px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}
.price-v {
	font-family: var(--font-head);
	font-size: 3.2rem;
	font-weight: var(--head-w);
	letter-spacing: -0.03em;
	line-height: 1;
}
/* A price in words ("Contact us") is set smaller than a figure. */
.price-w {
	font-size: 2rem;
	letter-spacing: -0.02em;
	line-height: 1.15;
}
[dir="rtl"] .price-v {
	letter-spacing: 0;
	line-height: 1.3;
}
.price-p {
	color: var(--ink-2);
	font-size: 15px;
}
.plan .checks {
	margin-top: 24px;
	font-size: 15px;
}
.note {
	color: var(--ink-2);
	font-size: 14.5px;
	margin-top: 22px;
}

/* Quotes */
/* The first quote leads, large; the rest follow beside each other. */
.quotes {
	gap: 40px 32px;
}
.quote {
	margin: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-top: 22px;
	border-top: 1px solid var(--line-2);
}
.quote blockquote {
	margin: 0;
	font-family: var(--font-head);
	font-size: 1.3rem;
	line-height: 1.4;
}
[dir="rtl"] .quote blockquote {
	font-family: var(--font);
	font-size: 1.15rem;
	line-height: 1.8;
}
.quotes > li:first-child:not(:only-child) {
	grid-column: 1 / -1;
}
.quotes > li:first-child:not(:only-child) .quote {
	border-top: 1px solid var(--ink);
}
.quotes > li:first-child:not(:only-child) blockquote {
	font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem);
	line-height: 1.2;
	letter-spacing: -0.015em;
	max-width: 30ch;
	font-style: italic;
}
[dir="rtl"] .quotes > li:first-child:not(:only-child) blockquote {
	font-style: normal;
	line-height: 1.6;
	font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
}
.quote blockquote p::before {
	content: "“";
}
.quote blockquote p::after {
	content: "”";
}
[dir="rtl"] .quote blockquote p::before {
	content: "«";
}
[dir="rtl"] .quote blockquote p::after {
	content: "»";
}
.quote figcaption {
	margin-top: auto;
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: 15px;
}
.quote figcaption > span {
	display: grid;
}
.quote figcaption > span span {
	color: var(--ink-2);
}
.avatar img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(1);
}
@media (min-width: 1024px) {
	.quotes:has(> li:nth-child(3)) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.quotes:has(> li:nth-child(4)) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* FAQ */
.faq {
	display: grid;
	border-top: 1px solid var(--ink);
}
.faq details {
	border-bottom: 1px solid var(--line-2);
}
.faq summary {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	padding: 22px 0;
	font-weight: 600;
	font-size: 1.08rem;
	cursor: pointer;
	list-style: none;
}
.faq summary:hover {
	color: var(--accent);
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq-i {
	transition: transform 0.2s;
	color: var(--accent);
}
.faq details[open] .faq-i {
	transform: rotate(45deg);
}
.faq .prose {
	padding-bottom: 24px;
	color: var(--ink-2);
	max-width: 68ch;
}

/* CTA */
.cta {
	display: grid;
	gap: 32px;
	align-items: end;
	padding-top: 32px;
	border-top: 1px solid var(--ink);
}
@media (min-width: 900px) {
	.cta {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}
.cta .sh {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
}
.cta .sh-t {
	font-size: clamp(2.2rem, 1.4rem + 3vw, 4.2rem);
	max-width: 18ch;
	margin-bottom: 14px;
}
.cta .btns {
	margin: 0;
}

/* Figures and video */
.fig {
	margin-block: 0;
}
.fig img {
	width: 100%;
}
.fig figcaption {
	margin-top: 12px;
	text-align: center;
	color: var(--ink-2);
	font-size: 15px;
}
.fig-full picture {
	border-radius: 0;
	box-shadow: none;
}
.video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--r);
	overflow: hidden;
	background: #000;
	box-shadow: var(--shadow);
}
.video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Page and article headers */
.crumbs {
	padding-top: 20px;
	font-size: 14px;
	color: var(--ink-2);
}
.crumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.crumbs li + li::before {
	content: "/";
	margin-inline-end: 6px;
	opacity: 0.5;
}
.crumbs a {
	text-decoration: none;
}
.crumbs a:hover {
	text-decoration: underline;
}
.pg-h,
.art-h {
	padding-top: 40px;
	padding-bottom: 8px;
	text-align: center;
}
.pg-h p,
.art-d {
	color: var(--ink-2);
	font-size: 1.15rem;
	max-width: 680px;
	margin-inline: auto;
}
.art-h {
	max-width: 960px;
}
.art-m {
	color: var(--ink-2);
	font-size: 15px;
}
.art-cover {
	margin-top: 32px;
	border-radius: var(--r);
	overflow: hidden;
}
.art-cover img {
	width: 100%;
}

/* Forms */
.form-2 {
	display: grid;
	gap: 40px;
}
@media (min-width: 1024px) {
	.form-2 {
		grid-template-columns: 1.4fr 1fr;
		gap: 64px;
	}
}
.form {
	display: grid;
	gap: 16px;
}
@media (min-width: 640px) {
	.form {
		grid-template-columns: 1fr 1fr;
	}
}
.fld {
	display: grid;
	gap: 6px;
}
.fld-w {
	grid-column: 1 / -1;
}
.fld label {
	font-weight: 650;
	font-size: 15px;
}
.req {
	color: #b42318;
}
.fld :is(input, select, textarea) {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-sm);
	background: color-mix(in oklab, var(--bg) 45%, #fff);
	color: var(--ink);
	font: inherit;
	font-size: 16px;
}
.fld textarea {
	resize: vertical;
	min-height: 130px;
}
.fld :is(input, select, textarea):focus {
	border-color: var(--accent);
	outline: 3px solid color-mix(in oklab, var(--accent) 25%, transparent);
	outline-offset: 0;
}
.fld ::placeholder {
	color: color-mix(in oklab, var(--ink) 40%, var(--bg));
}
/* Email and phone fields are left-to-right, but their hint is in the page's language. */
[dir="rtl"] .fld input[dir="ltr"]:placeholder-shown {
	direction: rtl;
}
.fine {
	margin: 4px 0 0;
	font-size: 13.5px;
	color: var(--ink-2);
}
.fld .btn {
	justify-self: start;
}
.hp {
	position: absolute;
	inset-inline-start: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.alert {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 18px 20px;
	border-radius: var(--r);
	margin-bottom: 18px;
}
.alert p {
	margin: 0;
}
.alert.ok {
	background: #e7f6ef;
	color: #0b5a3b;
}
.alert.err {
	background: #fdecea;
	color: #8a1c13;
}
.form-side,
.contact-card {
	padding: 28px;
	background: var(--muted);
	border-radius: var(--r);
}
.tone-muted :is(.form-side, .contact-card) {
	background: var(--bg);
}
.contact-card {
	max-width: 760px;
	margin-inline: auto;
}
.contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 22px;
}
.contact > li {
	display: flex;
	gap: 14px;
}
.contact > li > .ic {
	color: var(--accent);
	margin-top: 4px;
}
.contact strong {
	display: block;
	font-size: 14px;
	color: var(--ink-2);
	font-weight: 600;
}
.contact address {
	font-style: normal;
}
.contact a {
	font-weight: 650;
}
.hours {
	list-style: none;
	margin: 0;
	padding: 0;
}
[dir="rtl"] [dir="ltr"] {
	unicode-bidi: isolate;
}

/* Free layout: positions scale with the canvas width (designed at 1200px,
   phones at 390px) through container query units. */
.cv-wrap {
	container-type: inline-size;
}
.cv {
	position: relative;
	height: calc(var(--ch) / 12 * 1cqw);
}
.cv-el {
	position: absolute;
	inset-inline-start: calc(var(--x) * 1%);
	top: calc(var(--y) / 12 * 1cqw);
	width: calc(var(--w) * 1%);
	height: calc(var(--h) / 12 * 1cqw);
	font-size: max(13px, calc(var(--fs) / 12 * 1cqw));
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}
.cv-nomirror .cv-el {
	inset-inline-start: auto;
	left: calc(var(--x) * 1%);
}
.cv-el h2 {
	font-size: 1em;
	margin: 0;
}
.cv-el .prose {
	font-size: 1em;
}
.cv-el.b {
	font-weight: 750;
}
.cv-el.a-center {
	text-align: center;
	align-items: center;
}
.cv-el.a-end {
	text-align: end;
	align-items: flex-end;
}
.cv-el.c-muted {
	color: var(--ink-2);
}
.cv-el.c-accent {
	color: var(--accent);
}
.cv-el.c-inverse {
	color: #fff;
}
.cv-el.f-surface {
	background: var(--muted);
}
.cv-el.f-brand {
	background: var(--ink);
}
.cv-el.f-accent {
	background: var(--accent);
}
.cv-el.f-dark {
	background: var(--dark);
}
.cv-el.r-md {
	border-radius: var(--r);
}
.cv-el.r-full {
	border-radius: 999px;
}
.cv-el:is(.f-surface, .f-brand, .f-accent, .f-dark):not(.k-box, .k-image) {
	padding: 0.6em 0.9em;
}
.cv-el.k-image picture,
.cv-el.k-image img,
.cv-a {
	width: 100%;
	height: 100%;
}
.cv-el .fit-cover img {
	object-fit: cover;
}
.cv-el .fit-contain img {
	object-fit: contain;
}
.cv-el .btn {
	font-size: max(14px, 0.8em);
}
@media (max-width: 767px) {
	.cv:not(.cv-m) {
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 16px;
	}
	.cv:not(.cv-m) .cv-el {
		position: static;
		width: 100%;
		height: auto;
		font-size: calc(var(--mfs) * 1px);
	}
	.cv:not(.cv-m) .cv-el.k-image,
	.cv:not(.cv-m) .cv-el.k-box {
		aspect-ratio: var(--w) / calc(var(--h) / 12);
	}
	.cv:not(.cv-m) .cv-el.k-box {
		display: none;
	}
	.cv-m {
		height: calc(var(--mch) / 3.9 * 1cqw);
	}
	.cv-m .cv-el {
		inset-inline-start: calc(var(--mx, var(--x)) * 1%);
		top: calc(var(--my, var(--y)) / 3.9 * 1cqw);
		width: calc(var(--mw, var(--w)) * 1%);
		height: calc(var(--mh, var(--h)) / 3.9 * 1cqw);
		font-size: max(12px, calc(var(--mfs) / 3.9 * 1cqw));
	}
	.cv-m.cv-nomirror .cv-el {
		left: calc(var(--mx, var(--x)) * 1%);
	}
}

/* Footer */
.ft {
	--bg: var(--dark);
	--ink: color-mix(in oklab, var(--paper) 94%, #fff);
	background: var(--bg);
	color: var(--ink-2);
	font-size: 15px;
	padding-top: 72px;
}
.ft a {
	color: var(--ink);
	text-decoration: none;
}
.ft a:hover {
	text-decoration: underline;
}
.ft-in {
	display: grid;
	gap: 36px;
	grid-template-columns: repeat(2, 1fr);
}
.ft-brand {
	grid-column: 1 / -1;
}
.ft-brand .logo {
	color: var(--ink);
	margin-bottom: 14px;
}
.ft-brand address {
	font-style: normal;
	margin-bottom: 8px;
}
.ft-brand p {
	margin-bottom: 6px;
}
@media (min-width: 900px) {
	.ft-in {
		grid-template-columns: 1.6fr repeat(4, 1fr);
	}
	.ft-brand {
		grid-column: auto;
	}
}
.ft-h {
	font-family: var(--mono);
	font-size: 12.5px;
	font-weight: 500;
	color: var(--ink-2);
	letter-spacing: 0.02em;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}
[dir="rtl"] .ft-h {
	font-family: var(--font);
	font-size: 14px;
}
.ft ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.ft a,
.ft-h {
	overflow-wrap: anywhere;
}
.social {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px 16px !important;
	margin-top: 16px !important;
}
.ft-b {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	align-items: center;
	margin-top: 48px;
	padding-block: 22px;
	border-top: 1px solid var(--line);
}
.ft-b p {
	margin: 0;
}
.ft .langs ul {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}
.ft .langs a {
	color: var(--ink-2);
}
.ft .langs a[aria-current] {
	background: var(--line);
	color: var(--ink);
}

.pv-empty {
	margin: 0;
	padding: 28px;
	border: 2px dashed var(--line);
	border-radius: var(--r);
	color: var(--ink-2);
	text-align: center;
	font-size: 15px;
}

/* WhatsApp button */
.wa {
	position: fixed;
	inset-inline-end: 20px;
	bottom: 20px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--brand);
	color: var(--accent-ink);
	box-shadow: 0 8px 24px -6px rgb(0 0 0 / 0.35);
	transition: transform 0.15s;
}
.wa:hover {
	transform: scale(1.06);
}
.wa .ic {
	width: 28px;
	height: 28px;
}

/* 404 */
.nf {
	text-align: center;
}
.nf-c {
	font-size: 5rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	margin: 0;
	color: var(--line);
	line-height: 1;
}

@media print {
	.top,
	.ft,
	.wa,
	.skip {
		display: none;
	}
}

/* Motion. Everything here is decoration: without it (old browsers, or
   "reduce motion", which the rule near the top turns off) the page is
   complete and still. */

/* The hero settles in on load: copy first, then the invoice slides up. */
.hero-g .hero-copy > * {
	animation: settle 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-g .hero-copy > :nth-child(2) {
	animation-delay: 0.06s;
}
.hero-g .hero-copy > :nth-child(3) {
	animation-delay: 0.14s;
}
.hero-g .hero-copy > :nth-child(4) {
	animation-delay: 0.22s;
}
.hero-g .hero-copy > :nth-child(5) {
	animation-delay: 0.3s;
}
.glow-media > * {
	animation: slide-up 1.1s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes settle {
	from {
		opacity: 0;
		transform: translateY(18px);
		filter: blur(6px);
	}
}
@keyframes slide-up {
	from {
		opacity: 0;
		transform: translateY(70px);
	}
}

/* Small things that answer the pointer. */
.feat-i .ic-b,
.card .ic-b {
	transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.feat-i:hover .ic-b,
.card:hover .ic-b {
	transform: rotate(-8deg) scale(1.15);
}
.card:has(.card-a) {
	transition:
		border-color 0.15s,
		transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card:has(.card-a):hover {
	transform: translateY(-4px);
}
.logos li {
	transition: color 0.2s;
}
.logos li:hover {
	color: var(--ink);
}
.wa::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	z-index: -1;
	opacity: 0;
	background:
		var(--grain),
		conic-gradient(
			var(--glow-1),
			var(--glow-3),
			var(--glow-2),
			var(--glow-4),
			var(--glow-5),
			var(--glow-6),
			var(--glow-1)
		);
	background-blend-mode: overlay, normal;
	transition: opacity 0.3s;
}
.wa {
	isolation: isolate;
}
.wa:hover::before {
	opacity: 1;
	animation: spin 4s linear infinite;
}
@keyframes spin {
	to {
		transform: rotate(1turn);
	}
}

/* As you scroll: each section's rule draws across like a pen on a ledger,
   then what is under it rises into place, a beat apart. Only where the
   browser can tie animations to scrolling; elsewhere it is all just there. */
@supports (animation-timeline: view()) {
	.sh {
		border-top-color: transparent;
		background:
			linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / 100% 1px;
		animation: rule linear both;
		animation-timeline: view();
		animation-range: entry 10% cover 35%;
	}
	[dir="rtl"] .sh {
		background-position: 100% 0;
	}
	.cta .sh {
		background: none;
		animation: none;
	}
	:is(
		.sh > *,
		.feat-i,
		.card,
		.plan,
		.quote,
		.stats > div,
		.logos li,
		.split-copy,
		.split-media,
		.faq details,
		.cta > *,
		.cell,
		.prose > *
	) {
		animation: rise linear both;
		animation-timeline: view();
		animation-range: entry 0% cover 22%;
	}
	:is(.feat-i, .card, .plan, .quote, .stats > div, .logos li, .cell):nth-child(
		3n + 2
	) {
		animation-range: entry 6% cover 28%;
	}
	:is(.feat-i, .card, .plan, .quote, .stats > div, .logos li, .cell):nth-child(
		3n
	) {
		animation-range: entry 12% cover 34%;
	}
}
@keyframes rule {
	from {
		background-size: 0% 1px;
	}
}
@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(32px);
	}
}
