@font-face {
	font-family:"Righteous";
	font-weight:400;
	font-style:normal;
	src:url("../fonts/righteous-plan.woff2") format("woff2");
	font-display:swap;
	unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family:"Righteous Fallback";
	src:local("Arial");
	size-adjust:105.0%;
	descent-override:24.8%;
	ascent-override:93.4%;
}
@font-face {
	font-family:"Nunito";
	font-weight:400 800;
	font-style:normal;
	src:url("../fonts/nunito-text.woff2") format("woff2");
	font-display:swap;
	unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family:"Nunito Fallback";
	src:local("Arial");
	size-adjust:100.7%;
	descent-override:34.8%;
	ascent-override:100.4%;
}

:root {
	--color-base: rgb(247,248,250);
	--color-plane: rgb(236,239,243);
	--color-field: rgb(252,253,254);
	--color-rule: rgb(205,211,220);
	--color-text: rgb(17,22,30);
	--color-text-soft: rgb(84,94,110);
	--color-cadastre: rgb(26,112,60);
	--color-cadastre-tint: rgb(224,238,230);
	--color-blueprint: rgb(37,76,160);
	--color-blueprint-tint: rgb(222,229,243);
	--color-alert: rgb(158,30,38);
	--color-shadow: rgb(17,22,30,0.07);
	--color-shadow-deep: rgb(17,22,30,0.12);
	--space-gutter: clamp(20px, 4vw, 48px);
	--space-edge: max(var(--space-gutter), calc(50vw - 620px));
	--space-section: clamp(64px, 7.5vw, 104px);
	--space-inner: clamp(24px, 3.6vw, 60px);
	--space-header: 72px;
	--space-sticky: 104px;
	--shadow-soft: 0 1px 2px var(--color-shadow), 0 18px 46px var(--color-shadow);
	--shadow-lift: 0 2px 4px var(--color-shadow), 0 28px 70px var(--color-shadow-deep);
	--radius-button: 8px;
	--radius-pill: 999px;
	--radius-bar: 12px;
	--font-display: "Righteous", "Righteous Fallback", Arial, sans-serif;
	--font-text: "Nunito", "Nunito Fallback", Arial, sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--space-header) + 20px); /* anchors land below the sticky header */
}

html.unfolded {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--color-base);
	color: var(--color-text);
	font-family: var(--font-text);
	font-size: 1.0625rem;
	line-height: 1.62;
	text-rendering: optimizeLegibility;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.1;
	hyphens: none;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.5rem, 4.6vw, 4.4rem);
	line-height: 1.04;
}

h2 {
	font-size: clamp(1.85rem, 2.9vw, 2.7rem);
}

h3 {
	font-size: 1.28rem;
	line-height: 1.22;
}

p,
ul,
ol,
dl,
figure {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

a {
	color: var(--color-cadastre);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--color-text);
}

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

[hidden] {
	display: none;
}

html:not(.enhanced) .js-only {
	display: none;
}

/* label with wide tracking */
.lbl {
	display: inline-block;
	color: var(--color-text-soft);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* skewed marker: brand sign, text inside is counter-skewed */
.mk {
	display: inline-block;
	padding: 3px 11px;
	background: var(--color-cadastre);
	color: rgb(255,255,255);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transform: skewX(-16deg);
}

.mk > span {
	display: inline-block;
	transform: skewX(16deg);
}

.eb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}

.lede {
	max-width: 36em;
	color: var(--color-text-soft);
	font-size: 1.14rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid var(--color-text);
	border-radius: var(--radius-button);
	background: var(--color-text);
	color: var(--color-base);
	font-family: var(--font-text);
	font-size: 1rem;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--shadow-soft);
	transition: background 0.2s, color 0.2s;
}

.btn::after {
	content: "";
	width: 18px;
	height: 10px;
	background: var(--color-cadastre);
	transform: skewX(-16deg);
}

.btn:hover {
	background: var(--color-cadastre);
	border-color: var(--color-cadastre);
	color: rgb(255,255,255);
}

.btn:hover::after {
	background: rgb(255,255,255);
}

.btn-lt {
	border-color: var(--color-base);
	background: var(--color-base);
	color: var(--color-text);
}

/* header */
.hd {
	position: sticky;
	top: 0;
	z-index: 500;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--space-header);
	padding: 0 var(--space-edge);
	border-bottom: 1px solid var(--color-rule);
	background: var(--color-base);
	transition: box-shadow 0.2s;
}

.hd.arrived {
	box-shadow: 0 10px 30px var(--color-shadow);
}

.lg {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 44px;
	color: var(--color-text);
	text-decoration: none;
}

.lg-mk {
	padding: 4px 12px;
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0.12em;
}

.lg-t {
	font-family: var(--font-display);
	font-size: 1.32rem;
	letter-spacing: 0.01em;
}

.hd-bg {
	display: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--color-rule);
	border-radius: var(--radius-button);
	background: var(--color-field);
	cursor: pointer;
}

.hd-bg > span,
.hd-bg > span::before,
.hd-bg > span::after {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: var(--color-text);
}

.hd-bg > span {
	position: relative;
}

.hd-bg > span::before,
.hd-bg > span::after {
	content: "";
	position: absolute;
	left: 0;
}

.hd-bg > span::before {
	top: -6px;
}

.hd-bg > span::after {
	top: 6px;
	width: 13px; /* short stroke echoes the skew marker */
}

/* nav lives after the header; on desktop it sits over the header bar */
.nv {
	position: fixed;
	top: 0;
	right: var(--space-edge);
	z-index: 510;
	display: flex;
	align-items: center;
	height: var(--space-header);
}

.nv-top {
	display: none;
}

.nv-l {
	display: flex;
	align-items: center;
	gap: 4px;
}

.nv-l a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 13px;
	color: var(--color-text);
	font-size: 0.98rem;
	font-weight: 700;
	text-decoration: none;
}

.nv-l a:hover,
.nv-l a[aria-current="page"] {
	color: var(--color-cadastre);
}

.nv-l .nv-cta {
	margin-left: 10px;
	border: 1px solid var(--color-text);
	border-radius: var(--radius-button);
}

.nv-l .nv-cta:hover {
	background: var(--color-text);
	color: var(--color-base);
}

#content {
	display: block;
}

/* sections: thin dividing rules, even step */
.sec {
	border-top: 1px solid var(--color-rule);
}

.sp {
	display: grid;
	grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
}

.sp-l {
	padding: var(--space-section) var(--space-inner) var(--space-section) var(--space-edge);
	border-right: 1px solid var(--color-rule);
	background: var(--color-plane);
}

.sp-l-in {
	position: sticky;
	top: var(--space-sticky);
}

.sp-l h2 {
	margin-bottom: 20px;
}

.sp-l p + p {
	margin-top: 14px;
}

.sp-r {
	min-width: 0;
	padding: var(--space-section) var(--space-edge) var(--space-section) var(--space-inner);
}

/* footer, two columns */
.ft {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 48px;
	padding: 56px var(--space-edge) 32px;
	border-top: 1px solid var(--color-rule);
	background: var(--color-plane);
}

.ft-c > p {
	max-width: 30em;
	margin-top: 14px;
	color: var(--color-text-soft);
	font-size: 0.98rem;
}

.ft-l {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 24px;
	margin-top: 10px;
}

.ft-l a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--color-text);
	font-weight: 700;
	text-decoration: none;
}

.ft-l a:hover {
	color: var(--color-cadastre);
}

.ft-cp {
	grid-column: 1 / -1;
	padding-top: 22px;
	border-top: 1px solid var(--color-rule);
	color: var(--color-text-soft);
	font-size: 0.92rem;
}

@media (max-width: 959px) {
	.hd {
		padding: 0 var(--space-gutter);
	}

	.enhanced .hd-bg {
		display: block;
	}

	.nv {
		position: static;
		display: block;
		height: auto;
		padding: 8px var(--space-gutter) 16px;
		border-bottom: 1px solid var(--color-rule);
		background: var(--color-plane);
	}

	.nv-l {
		flex-direction: column;
		align-items: stretch;
	}

	.nv-l a {
		padding: 0;
		font-size: 1.1rem;
	}

	.nv-l .nv-cta {
		margin: 8px 0 0;
		justify-content: center;
	}

	.enhanced .nv {
		position: fixed;
		inset: 0;
		z-index: 700;
		padding: 0 var(--space-gutter) 32px;
		border: 0;
		background: var(--color-base);
		overflow-y: auto;
		visibility: hidden;
	}

	.enhanced .nv.unfolded {
		visibility: visible;
	}

	.enhanced .nv-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: var(--space-header);
		margin-bottom: 16px;
		border-bottom: 1px solid var(--color-rule);
	}

	.enhanced .nv-l a {
		display: flex;
		min-height: 56px;
		border-bottom: 1px solid var(--color-rule);
		font-family: var(--font-display);
		font-size: 1.5rem;
		font-weight: 400;
	}

	.enhanced .nv-l .nv-cta {
		justify-content: center;
		margin-top: 20px;
		padding: 0 16px;
		border: 1px solid var(--color-text);
	}

	.nv-x {
		min-height: 48px;
		padding: 0 18px;
		border: 1px solid var(--color-rule);
		border-radius: var(--radius-button);
		background: var(--color-field);
		color: var(--color-text);
		font-family: var(--font-text);
		font-size: 1rem;
		font-weight: 800;
		cursor: pointer;
	}

	.sp {
		grid-template-columns: minmax(0, 1fr);
	}

	.sp-l {
		padding: 56px var(--space-gutter) 40px;
		border-right: 0;
		border-bottom: 1px solid var(--color-rule);
	}

	.sp-l-in {
		position: static;
	}

	.sp-r {
		padding: 48px var(--space-gutter) 64px;
	}
}

@media (max-width: 640px) {
	.ft {
		grid-template-columns: minmax(0, 1fr);
		padding: 44px var(--space-gutter) 28px;
	}
}
