/* Ambit System Software - one dark look: graphite surfaces, light text, Urbanist, a single orange accent (#ff5a00)
   for actions and focus. Contrast (WCAG): #f4f4f4 on #141414 17.2:1, #a3a3a3 on #141414 7.6:1, #141414 on #ff5a00
   5.9:1 (buttons: dark text on orange - white on orange would be 3.1:1), #ff7a33 on #141414 7.0:1 (links). */

@font-face {
	font-family: Urbanist;
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/fonts/urbanist-latin-500-normal.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;
}
@font-face {
	font-family: Urbanist;
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/fonts/urbanist-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: Urbanist;
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("/fonts/urbanist-latin-800-normal.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;
}
@font-face {
	font-family: Urbanist;
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("/fonts/urbanist-latin-ext-800-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--bg: #141414;
	--bg-2: #1a1a1a;
	--surface: #1e1e1e;
	--surface-2: #262626;
	--line: #2f2f2f;
	--line-strong: #3d3d3d;
	--text: #f4f4f4;
	--muted: #a3a3a3;
	--accent: #ff5a00;
	--accent-text: #ff7a33;
	--radius: 14px;
	--wrap: 1200px;
	--font: Urbanist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	color-scheme: dark;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-weight: 500;
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4,
.h3 {
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 0.6em;
	text-wrap: balance;
}
h1 {
	font-size: clamp(2.5rem, 5.6vw, 4.75rem);
	letter-spacing: -0.035em;
	line-height: 1.02;
}
h2 {
	font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}
h3,
.h3 {
	font-size: 1.3rem;
	letter-spacing: -0.01em;
}
h4 {
	font-size: 1.08rem;
	margin-bottom: 0.35em;
}
p {
	margin: 0 0 1em;
}
ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	color: var(--accent-text);
	text-underline-offset: 3px;
}
a:hover {
	color: #ff9a66;
}
:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 6px;
}

.wrap {
	width: min(100% - 2.5rem, var(--wrap));
	margin-inline: auto;
}
.muted {
	color: var(--muted);
}
.skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	background: var(--accent);
	color: var(--bg);
	padding: 0.6rem 1rem;
	border-radius: 8px;
	font-weight: 800;
}
.skip:focus {
	top: 1rem;
}

/* Buttons: dark text on orange (5.9:1). */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.8rem 1.5rem;
	border-radius: 999px;
	background: var(--accent);
	color: var(--bg);
	font: inherit;
	font-weight: 800;
	text-decoration: none;
	border: 2px solid var(--accent);
	cursor: pointer;
	transition:
		background 0.15s,
		color 0.15s,
		border-color 0.15s;
}
.btn:hover {
	background: #ff7a33;
	border-color: #ff7a33;
	color: var(--bg);
}
.btn-ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--line-strong);
}
.btn-ghost:hover {
	background: var(--surface-2);
	border-color: var(--muted);
	color: var(--text);
}
.btn-sm {
	min-height: 2.5rem;
	padding: 0.45rem 1.1rem;
	font-size: 0.95rem;
}

/* Header */
.top {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(20 20 20 / 0.88);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 4.25rem;
	gap: 1rem;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	font-size: 1.05rem;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
.brand:hover {
	color: var(--text);
}
.brand b {
	font-weight: 800;
}
.nav-desk {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.nav-desk a:not(.btn),
.nav-mob a:not(.btn) {
	color: var(--muted);
	text-decoration: none;
	padding: 0.5rem 0.8rem;
	border-radius: 8px;
}
.nav-desk a:not(.btn):hover,
.nav-mob a:not(.btn):hover,
.nav-desk a[aria-current="page"],
.nav-mob a[aria-current="page"] {
	color: var(--text);
}
.nav-desk .lang {
	border: 1px solid var(--line-strong);
	padding: 0.25rem 0.6rem;
	font-size: 0.85rem;
	margin-inline: 0.5rem;
}
.nav-desk .btn {
	margin-left: 0.25rem;
}
.nav-mob {
	display: none;
	position: relative;
}
.nav-mob summary {
	list-style: none;
	cursor: pointer;
	padding: 0.5rem 1rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-weight: 800;
}
.nav-mob summary::-webkit-details-marker {
	display: none;
}
.nav-mob nav {
	position: absolute;
	right: 0;
	top: calc(100% + 0.6rem);
	display: grid;
	gap: 0.2rem;
	min-width: 15rem;
	padding: 0.75rem;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	box-shadow: 0 20px 40px rgb(0 0 0 / 0.5);
}
.nav-mob .btn {
	justify-content: center;
	margin-top: 0.4rem;
}
@media (max-width: 960px) {
	.nav-desk {
		display: none;
	}
	.nav-mob {
		display: block;
	}
}

/* Hero */
.hero {
	position: relative;
	padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 5.5rem);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}
.hero > .wrap {
	position: relative;
	z-index: 1;
}
.hero h1 {
	max-width: 15ch;
}
.hero-lead {
	font-size: clamp(1.15rem, 1.6vw, 1.35rem);
	color: #d4d4d4;
	max-width: 44rem;
	margin-bottom: 2rem;
}
.hero-photo::before,
.hero-home::before {
	content: "";
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.55;
}
.hero-photo::after,
.hero-home::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, var(--bg) 0%, rgb(20 20 20 / 0.94) 38%, rgb(20 20 20 / 0.55) 75%, rgb(20 20 20 / 0.35) 100%),
		linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
.hero-home::before {
	background-image: url("/img/photos/servers.webp");
	background-position: right center;
}
.hero-code::before {
	background-image: url("/img/photos/code.webp");
}
.hero-consulting::before {
	background-image: url("/img/photos/consulting.webp");
}
.hero-training::before {
	background-image: url("/img/photos/training.webp");
}
.hero-plain {
	background:
		radial-gradient(60rem 30rem at 85% -10%, rgb(255 90 0 / 0.09), transparent 60%),
		var(--bg);
}
.hero-plain h1 {
	max-width: 20ch;
}
.hero-short {
	min-height: 60vh;
}
.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--muted);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}
.eyebrow::before {
	content: "";
	width: 1.75rem;
	height: 2px;
	background: var(--accent);
}
.facts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin-top: clamp(3rem, 7vw, 5rem);
	border-top: 1px solid var(--line-strong);
}
.facts li {
	padding: 1.4rem 1.5rem 0 0;
}
.facts li + li {
	padding-left: 1.5rem;
	border-left: 1px solid var(--line);
}
.facts strong {
	display: block;
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.facts span {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.4;
}
@media (max-width: 820px) {
	.facts {
		grid-template-columns: repeat(2, 1fr);
	}
	.facts li:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}
	.facts li:nth-child(n + 3) {
		border-top: 1px solid var(--line);
		margin-top: 1.4rem;
	}
}

/* Sections */
.section {
	padding: clamp(4rem, 9vw, 7rem) 0;
	border-bottom: 1px solid var(--line);
}
.section-tight {
	padding-top: clamp(2.5rem, 5vw, 4rem);
}
.lead {
	color: var(--muted);
	font-size: 1.15rem;
	max-width: 46rem;
	margin-bottom: 2.5rem;
}
.note {
	color: var(--muted);
	font-size: 0.95rem;
	margin: 2rem 0 0;
	padding-left: 1rem;
	border-left: 2px solid var(--accent);
}
.sub {
	margin-top: 3.5rem;
}
.grid2,
.grid3,
.grid4 {
	display: grid;
	gap: 1rem;
}
.grid2 {
	grid-template-columns: repeat(2, 1fr);
}
.grid3 {
	grid-template-columns: repeat(3, 1fr);
}
.grid4 {
	grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
	.grid3,
	.grid4 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 640px) {
	.grid2,
	.grid3,
	.grid4 {
		grid-template-columns: 1fr;
	}
}
.card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.6rem;
}
.card p:last-child {
	margin-bottom: 0;
}
.card p,
.ticks p {
	color: var(--muted);
}
.card-link {
	transition:
		border-color 0.15s,
		transform 0.15s;
}
.card-link:hover {
	border-color: var(--line-strong);
	transform: translateY(-2px);
}
.card-link h3 a,
.card-link .h3 a {
	color: var(--text);
	text-decoration: none;
}
.card-link h3 a::after,
.card-link .h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--radius);
}
.services .card {
	padding: 2rem;
	min-height: 17rem;
	display: flex;
	flex-direction: column;
}
.services h3 {
	font-size: 1.6rem;
	margin-top: 2.5rem;
}
.num {
	font-weight: 800;
	color: var(--accent-text);
	font-size: 0.95rem;
	letter-spacing: 0.08em;
}
.more {
	margin-top: auto;
	font-weight: 800;
	color: var(--text);
}
.ticks li {
	border-top: 2px solid var(--accent);
	padding-top: 1.1rem;
}
.ticks h3,
.ticks h4 {
	font-size: 1.1rem;
}

.split-row {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}
@media (max-width: 900px) {
	.split-row {
		grid-template-columns: 1fr;
	}
}
.steps {
	counter-reset: step;
	display: grid;
	gap: 0;
}
.steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 3.25rem 1fr;
	padding: 1.25rem 0;
	border-top: 1px solid var(--line);
}
.steps li::before {
	content: counter(step, decimal-leading-zero);
	grid-row: span 2;
	font-weight: 800;
	color: var(--accent-text);
}
.steps h3 {
	font-size: 1.2rem;
	margin-bottom: 0.3rem;
}
.steps p {
	color: var(--muted);
	margin: 0;
}
.photo {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	position: sticky;
	top: 6rem;
}
.photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media (max-width: 900px) {
	.photo-tall {
		position: static;
		max-height: 22rem;
	}
}

.care {
	background: var(--bg-2);
}
.care-row {
	display: grid;
	grid-template-columns: 1fr 22rem;
	gap: 1rem;
	align-items: stretch;
}
@media (max-width: 900px) {
	.care-row {
		grid-template-columns: 1fr;
	}
}
.sla {
	background: var(--surface-2);
	border: 1px solid var(--line-strong);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: 2rem;
	display: flex;
	flex-direction: column;
}
.sla-value {
	font-size: clamp(4rem, 8vw, 6rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	margin-bottom: 1rem;
}
.sla p {
	color: var(--muted);
}
.sla a {
	margin-top: auto;
	font-weight: 800;
}
.callout {
	margin-top: 2rem;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: 1.5rem 1.75rem;
	color: #d4d4d4;
}
.exit h3 {
	margin-bottom: 0.4rem;
}
.exit p {
	margin: 0;
	color: var(--muted);
}
.callout-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}
.callout-row > div {
	flex: 1 1 28rem;
}
.callout-row p {
	color: var(--muted);
	margin: 0;
}

.photo-band {
	position: relative;
	overflow: hidden;
}
.photo-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("/img/photos/servers.webp") center / cover;
	opacity: 0.16;
}
.photo-band > .wrap {
	position: relative;
}

.band {
	padding: clamp(4rem, 9vw, 7rem) 0;
	border-bottom: 1px solid var(--line);
}

.team-row {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}
.team-value {
	font-size: clamp(7rem, 18vw, 14rem);
	font-weight: 800;
	line-height: 0.85;
	letter-spacing: -0.06em;
	margin: 0;
	color: transparent;
	-webkit-text-stroke: 2px var(--line-strong);
}
.team .lead {
	margin-bottom: 0;
}
@media (max-width: 760px) {
	.team-row {
		grid-template-columns: 1fr;
	}
}

.head-row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}
.head-row .lead {
	margin-bottom: 0;
}

/* Screenshots in a window frame */
.shot {
	display: block;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
}
.shot-bar {
	display: flex;
	gap: 6px;
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	background: var(--surface-2);
}
.shot-bar i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--line-strong);
}
.shot img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: top;
}
a.shot {
	transition: transform 0.2s;
}
a.shot:hover {
	transform: translateY(-3px);
}
.work h3 {
	margin-top: 1rem;
	font-size: 1.15rem;
}

.projects {
	display: grid;
	gap: clamp(3rem, 6vw, 5rem);
}
.project {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}
.project:nth-child(even) .shot {
	order: 2;
}
.project-text p {
	color: var(--muted);
}
.project-text h2 {
	font-size: 1.8rem;
}
@media (max-width: 860px) {
	.project {
		grid-template-columns: 1fr;
	}
	.project:nth-child(even) .shot {
		order: 0;
	}
}
.badge {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text) !important;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	padding: 0.2rem 0.7rem;
}
.link {
	font-weight: 800;
	text-decoration: none;
}
.link .muted {
	font-weight: 500;
	margin-left: 0.4rem;
}
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.big {
	font-size: 1.35rem;
}

.areas .area {
	padding: 2rem;
}
.dash {
	display: grid;
	gap: 0.55rem;
	margin-top: 1.25rem;
}
.dash li {
	position: relative;
	padding-left: 1.4rem;
	color: #d4d4d4;
}
.dash li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75em;
	width: 0.7rem;
	height: 2px;
	background: var(--accent);
}
.prose-cols p {
	color: var(--muted);
}
.timeline .card h3 {
	font-size: 1.15rem;
}

/* Final call to action */
.final {
	padding: clamp(4rem, 9vw, 7rem) 0;
}
.final-box {
	background:
		radial-gradient(40rem 20rem at 100% 0%, rgb(255 90 0 / 0.16), transparent 70%),
		var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: 24px;
	padding: clamp(2.5rem, 6vw, 4.5rem);
}
.final-box h2 {
	max-width: 18ch;
}
.final-box p {
	color: #d4d4d4;
	max-width: 40rem;
	font-size: 1.15rem;
	margin-bottom: 2rem;
}

/* Contact */
.contact-row {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}
@media (max-width: 900px) {
	.contact-row {
		grid-template-columns: 1fr;
	}
}
.form {
	display: grid;
	gap: 1.25rem;
}
.field {
	display: grid;
	gap: 0.4rem;
}
.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.field-row-3 {
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 640px) {
	.field-row,
	.field-row-3 {
		grid-template-columns: 1fr;
	}
}
label {
	font-weight: 800;
	font-size: 0.95rem;
}
.opt {
	font-weight: 500;
	color: var(--muted);
}
input,
textarea {
	width: 100%;
	font: inherit;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	padding: 0.8rem 0.95rem;
}
textarea {
	resize: vertical;
	min-height: 9rem;
}
input:focus,
textarea:focus {
	outline: 3px solid var(--accent);
	outline-offset: 1px;
	border-color: var(--accent);
}
[aria-invalid="true"] {
	border-color: #ff6b6b;
}
.hint {
	color: var(--muted);
	font-size: 0.9rem;
	margin: 0;
}
.error {
	color: #ff8a8a;
	font-size: 0.92rem;
	font-weight: 800;
	margin: 0;
}
.alert {
	background: rgb(255 107 107 / 0.1);
	border: 1px solid #ff6b6b;
	color: #ffb3b3;
	border-radius: 10px;
	padding: 0.9rem 1rem;
	margin: 0;
}
.form .btn {
	justify-self: start;
}
.hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.contact-side {
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: 2rem;
}
.promise {
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.35;
}

/* Footer */
.foot {
	padding: 3.5rem 0 2rem;
	background: var(--bg-2);
}
.foot-row {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 2rem;
}
@media (max-width: 760px) {
	.foot-row {
		grid-template-columns: 1fr;
	}
}
.foot-row .muted {
	max-width: 26rem;
	font-size: 0.95rem;
}
.brand-foot {
	margin-bottom: 0.75rem;
}
.foot-links {
	display: grid;
	gap: 0.5rem;
	align-content: start;
}
.foot-links a {
	color: var(--text);
	text-decoration: none;
}
.foot-links a:hover {
	color: var(--accent-text);
}
.foot-legal {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-size: 0.9rem;
}

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

/* CRM screen design (portfolio sub-page) */
.eyebrow a {
	color: inherit;
	text-decoration: none;
}
.crm-look {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
}
.crm-look li {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.25rem 1.4rem;
}
.crm-look h3 {
	font-size: 1.1rem;
	margin: 0 0 0.4rem;
}
.crm-look p,
.crm-screens p,
.crm-phones p {
	color: var(--muted);
	margin: 0;
}
.crm-screens {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
}
.crm-screens figure,
.crm-phones figure {
	margin: 0;
}
.crm-shot img {
	aspect-ratio: auto;
	height: auto;
}
.crm-screens figcaption {
	margin-top: 1rem;
	max-width: 62ch;
}
.crm-screens h3,
.crm-phones h3 {
	font-size: 1.2rem;
	margin: 0 0 0.3rem;
}
.crm-phones {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1.5rem, 5vw, 4rem);
}
.crm-phones li {
	width: min(300px, 100%);
}
.crm-phones .phone {
	width: 100%;
	height: auto;
	border: 1px solid var(--line-strong);
	border-radius: 28px;
	box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
	margin-bottom: 1rem;
}
.crm-note {
	margin: 2.5rem 0 1rem;
}

/* Who is behind it: the profile */
.profile {
	display: grid;
	grid-template-columns: minmax(180px, 260px) 1fr;
	gap: clamp(1.5rem, 5vw, 4rem);
	align-items: center;
	margin-top: clamp(3rem, 6vw, 4.5rem);
	padding-top: clamp(2.5rem, 5vw, 3.5rem);
	border-top: 1px solid var(--line);
}
.profile-photo {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	border: 1px solid var(--line-strong);
}
.profile p {
	color: var(--muted);
	max-width: 62ch;
}
.profile-name {
	font-size: 1.6rem;
	margin: 0;
}
.profile .profile-role {
	color: var(--accent-text);
	font-weight: 800;
	margin-top: 0.2rem;
}
.profile-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 2rem;
}
@media (max-width: 760px) {
	.profile {
		grid-template-columns: 1fr;
	}
	.profile-photo {
		max-width: 240px;
	}
}

/* Articles and the SSO guide */
.article-meta {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.5rem;
}
.guide-updated {
	margin-top: 1rem;
	font-size: 0.95rem;
}
.guide code {
	font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
	font-size: 0.9em;
	color: var(--text);
	background: var(--surface-2);
	border-radius: 6px;
	padding: 0.1rem 0.35rem;
	overflow-wrap: anywhere;
}
.guide h3 {
	font-size: 1.15rem;
	margin: 2.5rem 0 1rem;
}
.guide .card h3 {
	margin-top: 0;
}
.guide-toc {
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 2px solid var(--accent);
	border-radius: var(--radius);
	padding: 1.25rem 1.5rem;
	margin-bottom: 3rem;
	max-width: 46rem;
}
.guide-toc ol {
	margin: 0;
	padding-left: 1.25rem;
	display: grid;
	gap: 0.35rem;
}
.guide-label {
	font-weight: 800;
	margin: 0 0 0.6rem;
}
.guide-facts,
.guide-keep,
.guide-errors {
	display: grid;
	gap: 1rem;
	margin: 0;
}
.guide-facts {
	max-width: 46rem;
}
.guide-facts dt,
.guide-errors dt {
	font-weight: 800;
	margin-bottom: 0.25rem;
}
.guide-facts dd,
.guide-keep dd,
.guide-errors dd {
	margin: 0;
	color: var(--muted);
}
.guide-keep dt {
	margin-bottom: 0.2rem;
}
.guide-errors > div {
	border-top: 1px solid var(--line);
	padding-top: 1rem;
	max-width: 46rem;
}
.guide-steps {
	list-style: none;
	counter-reset: step;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.9rem;
	max-width: 46rem;
}
.guide-steps li {
	counter-increment: step;
	position: relative;
	padding-left: 2.6rem;
	color: #d4d4d4;
}
.guide-steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 50%;
	background: var(--surface-2);
	border: 1px solid var(--line-strong);
	color: var(--accent-text);
	font-weight: 800;
	font-size: 0.9rem;
	display: grid;
	place-items: center;
}
.guide-pair {
	margin-top: 2.5rem;
}
.guide .note code {
	background: none;
	padding: 0;
}
.guide-code {
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.1rem 1.3rem;
	margin: 2rem 0 0;
	overflow-x: auto;
	line-height: 1.6;
}
.guide .guide-code code {
	background: none;
	padding: 0;
	font-size: 0.88rem;
	overflow-wrap: normal;
	white-space: pre;
}
.guide-points {
	margin-top: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.guide-points p {
	overflow-wrap: anywhere;
}
.guide-docs {
	margin-top: 2rem;
	max-width: 46rem;
}
.guide-docs ul {
	margin: 0;
	padding-left: 1.25rem;
	display: grid;
	gap: 0.35rem;
	font-size: 0.95rem;
}

/* Example prices */
.prices {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
	gap: 1rem;
}
.price {
	display: flex;
	flex-direction: column;
	padding: 2rem;
}
.price h2 {
	margin-bottom: 1.2rem;
}
.price-amount {
	font-size: clamp(1.8rem, 3vw, 2.3rem);
	font-weight: 800;
	color: var(--text) !important;
	line-height: 1.1;
	margin: 0;
}
.price-unit {
	color: var(--accent-text) !important;
	font-weight: 700;
	font-size: 0.95rem;
	margin: 0.35rem 0 1.2rem;
}
.price-note {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
	font-size: 0.95rem;
}

/* Banner to the example prices, above the header on every page but the pricing page */
.promo {
	display: block;
	background: var(--accent);
	color: #141414;
	text-decoration: none;
	font-size: 0.95rem;
}
.promo:hover {
	background: var(--accent-text);
	color: #141414;
}
.promo-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem 1rem;
	flex-wrap: wrap;
	min-height: 2.6rem;
	padding-block: 0.4rem;
	text-align: center;
}
.promo b {
	font-weight: 800;
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 3px;
}
@media (max-width: 640px) {
	.promo-row > span {
		display: none;
	}
}

.foot-legal a {
	color: var(--muted);
}
.foot-legal a:hover,
.foot-legal a:focus-visible {
	color: var(--text);
}
