/*
 * Humanised Tech: main stylesheet.
 *
 * Phone first. One breakpoint does most of the work (1000px); the header
 * switches at 900px. Colours and type come from the tokens below; nothing in
 * the templates carries its own colour.
 *
 * Contents: fonts, tokens, base, layout, type, components, header, footer,
 * sections (hero, in-use, tiles, feature, chapter), pages, form, consent.
 */

/* ------------------------------- Fonts ---------------------------------- */
@font-face {
	font-family: "Clash Grotesk";
	src: url("../fonts/ClashGrotesk-Semibold.otf") format("opentype");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/InterVariable-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ------------------------------- Tokens --------------------------------- */
:root {
	--ink: #0b0f17;
	--body: #3f4b5b;
	--muted: #5b6472;
	--grey: #6e7581;      /* large type only */
	--accent: #ff4a1c;    /* rules, squares and underlines; never text or fills */
	--bg: #f7f5f0;
	--soft: #efece4;
	--line: #e2ded3;
	--edge: #d5d1c6;
	--field: #b9b4a8;
	--white: #fff;
	--on-ink: #c3cad5;
	--on-ink-soft: #9aa3b2;
	--error: #a3261b;

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Clash Grotesk", "Inter", system-ui, sans-serif;

	/* Same page width and side padding as the Humanised HR & Payroll site:
	   1180px of content, with gutters of 16px on a phone growing to 24px. */
	--content: 1180px;
	--gutter: clamp(16px, 4vw, 24px);
	--section-y: 48px;
	--radius: 12px;
}
@media (min-width: 900px) {
	:root {
		--section-y: 92px;
	}
}

/* -------------------------------- Base ---------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img {
	max-width: 100%;
	height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
	margin: 0;
}
ul,
ol {
	padding: 0;
	list-style: none;
}
a {
	color: inherit;
}
:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
	border-radius: 2px;
}
.section--ink :focus-visible,
.site-menu__panel :focus-visible {
	outline-color: var(--white);
}
.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	background: var(--ink);
	color: var(--white);
	padding: 12px 18px;
	border-radius: 6px;
	font-weight: 600;
}
.skip-link:focus {
	top: 16px;
}

/* ------------------------------- Layout --------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--content) + (var(--gutter) * 2));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow .prose,
.container--narrow .page-hero__title {
	max-width: 720px;
}
.section {
	padding-block: var(--section-y) calc(var(--section-y) + 6px);
}
.section > .container > * + * {
	margin-top: 24px;
}
.section--soft {
	background: var(--soft);
}
.section--ink {
	background: var(--ink);
	color: var(--white);
}
.section--tight {
	padding-block: 8px;
}
.section--flush-top {
	padding-top: 24px;
}
.grid {
	display: grid;
	gap: 14px;
}
.split {
	display: grid;
	gap: 20px;
}
@media (min-width: 1000px) {
	.section > .container > * + * {
		margin-top: 36px;
	}
	.section--flush-top {
		padding-top: 56px;
	}
	.grid {
		gap: 22px;
	}
	.grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.split {
		grid-template-columns: 320px minmax(0, 1fr);
		gap: 64px;
	}
	.split > * + * {
		margin-top: 0;
	}
}

/* -------------------------------- Type ---------------------------------- */
.hero__title,
.page-hero__title,
.h-xxl,
.h-xl,
.h-lg,
.h-md,
.h-sm,
.statement,
.card__title,
.steps__title,
.steps__num,
.tile__name,
.product-brand__name,
.closing__title,
.aside__title,
.names li,
.topics a,
.plate dd,
.big-email,
.site-menu__list a,
.facts dd,
.prose h2 {
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.h-xxl {
	font-size: clamp(34px, 5.6vw, 76px);
	line-height: 1.08;
	max-width: 1100px;
}
.h-xl {
	font-size: clamp(28px, 3.3vw, 46px);
	line-height: 1.12;
	max-width: 1000px;
}
.h-lg {
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.15;
}
.h-md {
	font-size: clamp(24px, 2.2vw, 30px);
	line-height: 1.15;
}
.h-sm {
	font-size: 20px;
	line-height: 1.2;
}
.lede {
	font-size: clamp(17px, 1.5vw, 20px);
	color: var(--body);
	max-width: 760px;
}
.lede--ink {
	color: var(--ink);
}
.lede--wide {
	max-width: 880px;
}
.section--ink .lede {
	color: var(--on-ink);
}
.soft {
	color: var(--grey);
}
.section--ink .soft {
	color: var(--on-ink-soft);
}
.muted {
	color: var(--body);
}
.caption {
	display: block;
	font-size: 15px;
	line-height: 1.45;
	color: var(--muted);
}
.caption--on-ink {
	color: var(--on-ink-soft);
}
.note {
	font-size: clamp(17px, 1.5vw, 20px);
	max-width: 760px;
}
.statement {
	font-size: clamp(25px, 3vw, 40px);
	line-height: 1.18;
	max-width: 1040px;
}

/* ----------------------------- Components ------------------------------- */
.marker {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--muted);
}
.marker::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	background: var(--accent);
}
.section--ink .marker {
	color: var(--on-ink);
}
.btn {
	display: inline-block;
	background: var(--ink);
	color: var(--white);
	border: 1.5px solid var(--ink);
	border-radius: 6px;
	padding: 15.5px 28px;
	font: 600 17px/1.4 var(--font-body);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.btn:hover {
	background: #1c2431;
}
.btn--light {
	background: var(--white);
	border-color: var(--white);
	color: var(--ink);
}
.btn--light:hover {
	background: var(--soft);
}
.btn--ghost {
	background: transparent;
	color: var(--ink);
}
.btn--ghost:hover {
	background: var(--soft);
}
.btn--small {
	padding: 10.5px 20px;
	font-size: 16px;
}
.btn--block {
	display: block;
}
.link {
	display: inline-block;
	padding: 11px 0;
	font-weight: 600;
	text-decoration: none;
}
.link > span {
	border-bottom: 2px solid var(--accent);
	padding-bottom: 4px;
}
.link:hover > span,
a.card--link:hover .link > span {
	border-bottom-width: 4px;
	padding-bottom: 2px;
}
.link-row {
	display: flex;
	gap: 28px;
}
.actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
}
.actions .link {
	text-align: center;
}
.dash {
	display: flex;
	align-items: baseline;
	gap: 12px;
	font-size: 16px;
	font-weight: 500;
	color: var(--body);
}
.dash::before {
	content: "";
	flex: none;
	width: 18px;
	height: 2px;
	background: var(--accent);
	transform: translateY(-5px);
}
.status {
	display: inline-block;
	align-self: flex-start;
	border: 1.5px solid currentColor;
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}
.card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	color: var(--ink);
}
.card--link {
	text-decoration: none;
}
.card--link:hover {
	border-color: var(--field);
}
.card__title {
	font-size: clamp(21px, 1.8vw, 23px);
	line-height: 1.2;
}
.card__text {
	flex-grow: 1;
	color: var(--body);
}
.ticks li {
	position: relative;
	padding: 14px 0 14px 34px;
	border-top: 1px solid var(--line);
	color: var(--body);
}
.ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 27px;
	width: 18px;
	height: 2px;
	background: var(--accent);
}
.section--soft .ticks li {
	border-top-color: var(--edge);
}
.steps {
	display: grid;
	gap: 26px;
}
.steps__item {
	border-top: 1.5px solid var(--ink);
	padding-top: 18px;
}
.steps__num {
	display: block;
	font-size: clamp(30px, 3.2vw, 44px);
	line-height: 1;
	color: var(--grey);
}
.steps__title {
	margin: 10px 0;
	font-size: clamp(22px, 2vw, 26px);
	line-height: 1.2;
}
.steps__item p {
	color: var(--body);
}
.screen {
	height: 433px;
	margin-right: calc(var(--gutter) * -1);
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--edge);
	border-right: 0;
	border-radius: 10px 0 0 10px;
}
.screen__img {
	display: block;
	width: 1000px;
	max-width: none;
	margin-left: calc(var(--screen-off, 0.161) * -1000px);
}
.screen--dark {
	border-color: #2a303b;
}
.phone {
	width: 230px;
	margin-inline: auto;
	overflow: hidden;
	background: var(--white);
	border: 9px solid var(--ink);
	border-radius: 34px;
	box-shadow: 0 40px 70px -34px rgb(11 15 23 / 45%);
}
.phone--dark {
	border-color: #2a303b;
}
.phone .screen__img {
	width: 100%;
	margin: 0;
}
.plate {
	display: inline-flex;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
}
.plate > div {
	padding: 10px 16px;
}
.plate > div + div {
	border-left: 1px solid var(--line);
}
.plate dt {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}
.plate dd {
	font-size: 16px;
}
.plate__you {
	color: var(--muted);
}
@media (min-width: 1000px) {
	.actions {
		flex-direction: row;
		align-items: center;
		gap: 28px;
	}
	.card {
		padding: 32px 30px;
	}
	.steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px;
	}
	.steps__item {
		padding-top: 24px;
	}
	.screen {
		height: auto;
		margin-right: 0;
		border-right: 1px solid var(--edge);
		border-radius: var(--radius);
		box-shadow: 0 40px 80px -34px rgb(11 15 23 / 40%);
	}
	.screen--dark {
		border-right-color: #2a303b;
		box-shadow: none;
	}
	.screen__img {
		width: 100%;
		margin-left: 0;
	}
	.phone {
		width: 280px;
	}
}

/* -------------------------------- Header -------------------------------- */
.site-header {
	position: relative;
	z-index: 20;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 18px;
}
.site-logo {
	display: inline-flex;
	padding: 6px 0;
}
.site-logo img {
	display: block;
	width: auto;
	height: 24px;
}
.site-nav {
	display: none;
}
.site-menu__toggle {
	display: inline-block;
	border: 1.5px solid var(--ink);
	border-radius: 6px;
	padding: 9px 14px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
}
.site-menu__toggle::-webkit-details-marker {
	display: none;
}
.site-menu__close,
.site-menu[open] .site-menu__open {
	display: none;
}
.site-menu[open] .site-menu__close {
	display: inline;
}
.site-menu__panel {
	position: absolute;
	inset: 100% 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-height: calc(100vh - 76px);
	padding: 8px var(--gutter) 40px;
	background: var(--ink);
	color: var(--white);
}
.site-menu__list a {
	display: block;
	padding: 16px 0;
	border-bottom: 1px solid rgb(255 255 255 / 14%);
	font-size: 26px;
	line-height: 1.2;
	text-decoration: none;
}
.site-menu__email {
	padding: 10px 0;
	color: var(--on-ink);
}
@media (min-width: 900px) {
	.site-header__inner {
		padding-block: 26px;
	}
	.site-logo img {
		height: 30px;
	}
	.site-menu {
		display: none;
	}
	.site-nav {
		display: flex;
		align-items: center;
		gap: 30px;
		font-size: 16px;
		font-weight: 500;
	}
	.site-nav__list {
		display: flex;
		gap: 30px;
	}
	.site-nav__list a {
		display: block;
		padding: 10px 0;
		text-decoration: none;
	}
	.site-nav__list a:hover,
	.site-nav__list .current-menu-item a {
		box-shadow: 0 2px 0 var(--accent);
	}
}

/* -------------------------------- Footer -------------------------------- */
.site-footer {
	background: var(--bg);
	border-top: 1px solid var(--line);
	font-size: 16px;
	color: var(--body);
}
.site-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-block: 36px 44px;
}
.site-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.site-footer__brand .site-logo img {
	height: 24px;
}
.site-footer__links a {
	display: inline-block;
	padding: 10px 0;
	color: var(--ink);
}
@media (min-width: 900px) {
	.site-footer__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding-block: 48px 56px;
	}
	.site-footer__links {
		display: flex;
		gap: 28px;
	}
}

/* --------------------------------- Hero --------------------------------- */
.hero {
	overflow: hidden;
	padding-block: 28px 40px;
}
.hero__inner,
.hero__text {
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.hero__inner {
	gap: 36px;
}
.hero__title {
	font-size: clamp(35px, 4.2vw, 57px);
	line-height: 1.05;
}
.hero__title .soft {
	display: block;
}
.hero__caption {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin-top: 20px;
}
@media (min-width: 1000px) {
	.hero {
		padding-block: 40px 96px;
	}
	.hero__inner {
		flex-direction: row;
		align-items: flex-start;
		gap: 46px;
	}
	.hero__text {
		flex: 0 0 620px;
		gap: 26px;
		padding-top: 32px;
	}
	.hero__visual {
		flex: 0 0 900px;
	}
	.hero__caption {
		flex-direction: row;
		align-items: center;
		gap: 20px;
	}
	.hero__caption .caption {
		max-width: 300px;
	}
}

/* ------------------------------ Page hero ------------------------------- */
.page-hero {
	padding-block: 32px 44px;
}
.page-hero__title {
	font-size: clamp(36px, 4.7vw, 64px);
	line-height: 1.08;
}
.page-hero--tall {
	min-height: 52vh;
}
.jump li {
	border-top: 1px solid var(--line);
}
.jump li:last-child {
	border-bottom: 1px solid var(--line);
}
.jump a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-weight: 600;
	text-decoration: none;
}
.jump a::after {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	background: var(--accent);
}
@media (min-width: 1000px) {
	.page-hero {
		padding-block: 72px 88px;
	}
	.page-hero__split {
		display: grid;
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
		gap: 96px;
		align-items: end;
	}
	.page-hero__split > * + * {
		margin-top: 0;
	}
	.page-hero__split > div > * + * {
		margin-top: 28px;
	}
}
.page-hero__split > div > * + * {
	margin-top: 22px;
}

/* -------------------------- Software in use ----------------------------- */
.in-use__text > * + * {
	margin-top: 22px;
}
.in-use__visual > * + * {
	margin-top: 24px;
}
@media (min-width: 1000px) {
	.in-use__visual {
		position: relative;
		padding-right: 252px;
	}
	.in-use__visual .phone {
		position: absolute;
		right: 0;
		top: -50px;
		margin: 0;
	}
}

/* ------------------------------- Tiles ---------------------------------- */
.tiles {
	gap: 16px;
}
.tile {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
}
.tile:hover {
	border-color: var(--field);
}
.tile__thumb {
	height: 200px;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}
.tile__thumb .screen__img {
	width: 760px;
	margin-left: calc(var(--screen-off, 0.161) * -760px);
}
.tile__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 12px;
	padding: 20px 22px 24px;
}
.tile__name {
	font-size: clamp(22px, 1.9vw, 24px);
	line-height: 1.2;
}
.tile__body p {
	color: var(--body);
}
.tiles__more {
	align-self: start;
	border-top: 1.5px solid var(--ink);
	padding-top: 20px;
}
.tiles__more .link {
	margin-top: 8px;
}
@media (min-width: 1000px) {
	.tiles {
		gap: 24px;
	}
	.tile__body {
		padding: 24px 26px 28px;
	}
}

/* ----------------------------- Product feature -------------------------- */
.features {
	display: grid;
	gap: 16px;
}
.features > * + * {
	margin-top: 0;
}
.feature {
	display: flex;
	flex-direction: column;
	gap: 26px;
	overflow: hidden;
	padding: 28px 22px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	scroll-margin-top: 24px;
}
.feature .screen {
	margin-right: -22px;
}
.feature__text,
.feature__head {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.feature__text {
	gap: 20px;
}
.feature__head .link {
	align-self: flex-start;
}
.feature__visual--phone .phone {
	margin-top: 24px;
}
.product-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}
.product-brand--stacked {
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
.product-brand__logo {
	display: block;
	width: auto;
	height: 32px;
}
.product-brand__name {
	font-size: clamp(26px, 2.8vw, 36px);
	line-height: 1.15;
}
.ask-row {
	border-top: 1.5px solid var(--ink);
	padding-top: 24px;
}
@media (min-width: 1000px) {
	.features {
		gap: 28px;
	}
	.feature {
		display: grid;
		grid-template-columns: 400px minmax(0, 1fr);
		gap: 48px;
		padding: 56px 0 56px 52px;
		border-radius: 16px;
	}
	.feature__text {
		justify-content: space-between;
		gap: 32px;
		padding-top: 8px;
	}
	.feature__head {
		gap: 20px;
	}
	.feature__visual {
		position: relative;
		min-height: 480px;
	}
	.feature .screen {
		width: 860px;
		margin-right: 0;
	}
	.feature__visual--phone .phone {
		position: absolute;
		left: 480px;
		top: 110px;
		width: 214px;
		margin: 0;
	}
	.ask-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 40px;
		padding-top: 32px;
	}
	.ask-row > * + * {
		margin-top: 0;
	}
}

/* ---------------------------- Partner chapters -------------------------- */
.chapter {
	scroll-margin-top: 0;
}
.chapter__cols,
.chapter__main {
	display: grid;
	gap: 28px;
}
.chapter__main {
	align-content: start;
}
.aside {
	border-left: 2px solid var(--accent);
	padding: 4px 0 4px 20px;
}
.aside__title {
	margin-bottom: 8px;
	font-size: 21px;
	line-height: 1.2;
}
.aside p {
	color: var(--body);
}
.chapter__figure > * + *,
.chapter__phone > * + * {
	margin-top: 14px;
}
.chapter__phone .caption {
	text-align: center;
}
.ways .card {
	gap: 10px;
}
@media (min-width: 1000px) {
	.chapter__cols {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		gap: 72px;
	}
	.chapter__cols--phone {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
	.chapter__figure .screen {
		max-height: 571px;
	}
}
.pair {
	gap: 40px;
}
.pair h2 {
	margin-bottom: 18px;
}
@media (min-width: 1000px) {
	.pair {
		gap: 72px;
	}
}

/* ------------------------------ Other pages ----------------------------- */
.facts__row {
	display: grid;
	gap: 10px;
	padding-block: 26px;
	border-top: 1.5px solid var(--ink);
}
.facts dd {
	font-size: clamp(20px, 2.1vw, 28px);
	line-height: 1.2;
}
.names li {
	padding: 16px 0;
	border-top: 1.5px solid var(--ink);
	font-size: clamp(26px, 2.5vw, 34px);
	line-height: 1.2;
}
.names li:last-child {
	border-bottom: 1.5px solid var(--ink);
}
.topics li {
	border-top: 1.5px solid var(--ink);
}
.topics li:last-child {
	border-bottom: 1.5px solid var(--ink);
}
.topics a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.2;
	text-decoration: none;
}
.topics a span {
	font-family: var(--font-body);
	color: var(--accent);
}
.topics a:hover span {
	transform: translateX(4px);
}
.big-email {
	display: inline-block;
	padding: 6px 0;
	font-size: clamp(24px, 4.2vw, 52px);
	line-height: 1.15;
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 3px;
	text-underline-offset: 8px;
	overflow-wrap: anywhere;
}
@media (min-width: 1000px) {
	.facts__row {
		grid-template-columns: 320px minmax(0, 1fr);
		align-items: center;
		padding-block: 40px;
	}
	.facts dd {
		max-width: 620px;
	}
	.names {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0 32px;
	}
	.names li,
	.names li:last-child {
		padding: 22px 0;
		border-bottom: 0;
	}
}

/* ----------------------------- Closing band ----------------------------- */
.closing__inner {
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.closing__inner > * + * {
	margin-top: 0;
}
.closing__title {
	font-size: clamp(30px, 3.3vw, 44px);
	line-height: 1.12;
}
.closing__text {
	margin-top: 12px;
	font-size: clamp(17px, 1.5vw, 20px);
	color: var(--on-ink);
}
@media (min-width: 1000px) {
	.closing__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 64px;
	}
}

/* --------------------------------- Prose -------------------------------- */
.prose {
	font-size: clamp(17px, 1.5vw, 19px);
	color: var(--body);
}
.prose > * + * {
	margin-top: 18px;
}
.prose h2 {
	margin-top: 44px;
	font-size: clamp(24px, 2.3vw, 30px);
	line-height: 1.2;
	color: var(--ink);
}
.prose ul {
	padding-left: 22px;
	list-style: disc;
}
.prose li + li {
	margin-top: 6px;
}
.prose a {
	color: var(--ink);
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

/* --------------------------------- Form --------------------------------- */
.form-section {
	display: grid;
	gap: 28px;
}
.form-section > * + * {
	margin-top: 0;
}
.form-section > div > * + * {
	margin-top: 20px;
}
.form {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 24px 20px 28px;
}
.form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.form__hint {
	font-size: 15px;
	color: var(--muted);
}
.form__grid {
	display: grid;
	gap: 20px;
	margin-top: 20px;
}
.form__field {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
}
.form__field label {
	font-weight: 600;
	line-height: 1.35;
}
.form__optional {
	font-weight: 400;
	color: var(--muted);
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	background: var(--white);
	border: 1px solid var(--field);
	border-radius: 8px;
	color: var(--ink);
	font: 400 17px/1.4 var(--font-body);
}
.form select {
	appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%230b0f17' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}
.form textarea {
	min-height: 150px;
	resize: vertical;
}
.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 1px;
	border-color: var(--ink);
}
.has-error input,
.has-error select {
	border-color: var(--error);
	border-width: 2px;
}
.form__error {
	font-size: 15px;
	font-weight: 500;
	color: var(--error);
}
.form-notice {
	padding: 14px 18px;
	background: var(--white);
	border: 2px solid var(--error);
	border-radius: 8px;
	font-weight: 500;
}
.form__submit {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 28px;
}
.form__consent,
.form-after {
	font-size: 16px;
	color: var(--body);
}
.form-after {
	font-size: clamp(17px, 1.4vw, 19px);
}
.form-after a,
.form__consent a {
	color: var(--ink);
	font-weight: 600;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
@media (min-width: 1000px) {
	.form-section {
		grid-template-columns: 348px minmax(0, 1fr);
		gap: 64px;
	}
	.form {
		padding: 44px 48px 48px;
	}
	.form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px 28px;
	}
	.form__field--wide {
		grid-column: 1 / -1;
	}
	.form__submit {
		flex-direction: row;
		align-items: center;
		gap: 28px;
	}
}

/* -------------------------------- Consent ------------------------------- */
.consent {
	position: fixed;
	inset: auto 16px 16px;
	z-index: 50;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 560px;
	padding: 18px 20px;
	background: var(--white);
	border: 1px solid var(--field);
	border-radius: var(--radius);
	box-shadow: 0 20px 50px -20px rgb(11 15 23 / 40%);
	font-size: 16px;
}
.consent[hidden] {
	display: none;
}
.consent__actions {
	display: flex;
	gap: 12px;
}
