/* ==========================================================================
   BMF Blue Mountain — main stylesheet
   ========================================================================== */

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--navy: #2b2b5e;
	--navy-700: #3a3a78;
	--navy-800: #222250;
	--navy-900: #18183b;
	--cyan: #00cde5;
	--cyan-soft: #6fe6f3;
	--green: #b5d334;
	--line: #e6e6ed;
	--soft: #f6f6f8;
	--muted: #6e6e82;
	--danger: #c42f3d;

	/* Contextual tokens (redefined on dark surfaces). */
	--ink: #1d1d40;
	--text: #525270;
	--accent: #007c8e;
	--surface: #fff;

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 28px;
	--shadow-sm: 0 10px 30px -16px rgba(24, 24, 59, 0.22);
	--shadow: 0 30px 70px -30px rgba(24, 24, 59, 0.35);
	--header-h: 72px;
	--gutter: clamp(16px, 4vw, 32px);
	--font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.on-dark,
.hero,
.page-hero,
.section--navy,
.service-card--dark,
.cta-final__panel,
.site-footer,
.site-header {
	--ink: #fff;
	--text: rgba(255, 255, 255, 0.8);
	--accent: var(--cyan);
	color: var(--text);
}

.form-card,
.float-card,
.quote-dialog,
.trust,
.aside-card {
	--ink: #1d1d40;
	--text: #525270;
	--accent: #007c8e;
	color: var(--text);
}

/* Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

html:has(dialog[open]),
body.nav-open {
	overflow: hidden;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

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

img {
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ink);
	text-wrap: balance;
}

h2 {
	font-size: clamp(1.8rem, 3.3vw, 2.7rem);
}

h3 {
	font-size: 1.22rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

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

a {
	color: var(--accent);
}

ul,
ol {
	margin: 0;
	padding: 0;
}

[hidden] {
	display: none !important;
}

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

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 12px 18px;
	border-radius: var(--radius-sm);
	background: var(--cyan);
	color: var(--navy-900);
	font-weight: 700;
	text-decoration: none;
}

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

.icon {
	width: 24px;
	height: 24px;
	flex: none;
}

.icon--sm {
	width: 18px;
	height: 18px;
}

.container {
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: 860px;
}

/* Decorative line art & dot grids (drawn in code, see bmf_lines())
   ========================================================================== */

.lines {
	display: block;
	overflow: visible;
	color: var(--cyan);
	pointer-events: none;
}

.lines path,
.lines circle {
	vector-effect: non-scaling-stroke;
}

@media (max-width: 1023.98px) {
	.hero__line {
		display: none;
	}
}

.dots {
	display: block;
	background-image: radial-gradient(circle, currentColor 1.6px, transparent 2px);
	background-size: 16px 16px;
	pointer-events: none;
}

/* Typography helpers
   ========================================================================== */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.eyebrow--light {
	color: var(--cyan);
}

.lead {
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.6;
	color: var(--text);
}

.answer {
	font-size: 1.08rem;
	color: var(--ink);
	padding-left: 18px;
	border-left: 3px solid var(--cyan);
}

.hl {
	color: var(--cyan);
}

.h1-kicker {
	display: block;
	margin-bottom: 14px;
	font-size: clamp(0.8rem, 1.2vw, 0.95rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--cyan);
}

.badge--new {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--green);
	color: #1b2400;
	font-size: 0.62rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	vertical-align: middle;
}

/* Buttons & links
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 26px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn .icon {
	transition: transform 0.2s;
}

.btn:hover .icon {
	transform: translateX(3px);
}

.btn--primary {
	background: var(--cyan);
	color: var(--navy-900);
}

.btn--primary:hover {
	background: #3adcee;
	box-shadow: 0 12px 26px -12px rgba(0, 205, 229, 0.8);
	transform: translateY(-1px);
}

.btn--navy {
	background: var(--navy);
	color: #fff;
}

.btn--navy:hover {
	background: var(--navy-700);
	transform: translateY(-1px);
}

.btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

.btn--ghost:hover {
	border-color: var(--cyan);
	color: var(--cyan);
}

.btn--sm {
	min-height: 44px;
	padding: 10px 18px;
	font-size: 0.92rem;
}

.btn--block {
	width: 100%;
}

.btn[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.btn-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 28px;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--cyan);
	color: var(--navy);
	font-weight: 700;
	text-decoration: none;
	transition: gap 0.2s, color 0.2s;
}

.link-arrow:hover {
	gap: 12px;
}

.link-arrow--light {
	color: #fff;
}

/* Lists
   ========================================================================== */

.checks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	list-style: none;
}

.checks li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: var(--ink);
}

.checks .icon {
	width: 22px;
	height: 22px;
	padding: 4px;
	border-radius: 50%;
	background: rgba(0, 124, 142, 0.12);
	color: var(--accent);
	stroke-width: 3;
}

.checks--light .icon {
	background: rgba(0, 205, 229, 0.16);
	color: var(--cyan);
}

.checks--lg li {
	font-size: 1.05rem;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 30px;
	list-style: none;
}

.chips li {
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font-size: 0.88rem;
	font-weight: 600;
}

.pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 0;
	list-style: none;
}

.pills li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
	font-size: 0.88rem;
	font-weight: 600;
}

.pills .icon {
	color: var(--cyan);
}

/* Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(24, 24, 59, 0.94);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	transition: box-shadow 0.2s;
}

.site-header.is-scrolled {
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
}

.site-logo img {
	width: auto;
	height: 50px;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.site-nav__list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.93rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s, background-color 0.2s;
}

.site-nav__list a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.site-nav__list a[aria-current="page"] {
	color: var(--cyan);
}

.site-nav__mail {
	display: none;
}

.nav-toggle {
	display: none;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 14px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.nav-toggle__close {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: block;
}

@media (min-width: 1080px) {
	.site-nav {
		display: flex;
		align-items: center;
		gap: 16px;
	}
}

@media (max-width: 1079.98px) {
	:root {
		--header-h: 66px;
	}

	.site-logo img {
		height: 42px;
	}

	.nav-toggle {
		display: grid;
	}

	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		z-index: 99;
		display: flex;
		flex-direction: column;
		gap: 28px;
		padding: 24px var(--gutter) 40px;
		background: var(--navy-900);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	}

	.site-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-nav__list a {
		justify-content: space-between;
		padding: 18px 4px;
		border-radius: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		font-size: 1.2rem;
	}

	.site-nav__list a:hover {
		background: transparent;
	}

	.site-nav__cta {
		display: grid;
		gap: 16px;
	}

	.site-nav__cta .btn {
		min-height: 54px;
		font-size: 1rem;
	}

	.site-nav__mail {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		color: rgba(255, 255, 255, 0.8);
		text-decoration: none;
	}
}

/* Hero
   ========================================================================== */

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(40px, 6vw, 88px) clamp(96px, 10vw, 136px);
	background:
		radial-gradient(900px 520px at 88% 12%, rgba(0, 205, 229, 0.16), transparent 60%),
		radial-gradient(700px 500px at 0% 100%, rgba(0, 120, 184, 0.22), transparent 60%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 55%, var(--navy-900) 100%);
}

.hero__decor {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hero__waves {
	position: absolute;
	right: -4%;
	bottom: -2%;
	width: min(1180px, 92%);
	height: auto;
	max-width: none;
	aspect-ratio: 600 / 340;
	opacity: 0.22;
	-webkit-mask-image: linear-gradient(to left, #000 35%, transparent 95%);
	mask-image: linear-gradient(to left, #000 35%, transparent 95%);
}

.hero__line {
	position: absolute;
	left: 41%;
	bottom: 150px;
	width: 170px;
	height: auto;
	aspect-ratio: 240 / 140;
	opacity: 0.35;
}

.hero__grid {
	position: relative;
	display: grid;
	gap: 48px;
	align-items: center;
}

.hero__title {
	font-size: clamp(2.1rem, 4.2vw, 3.4rem);
	line-height: 1.08;
	letter-spacing: -0.028em;
	margin-bottom: 20px;
}

.hero--service .hero__title {
	font-size: clamp(2rem, 4vw, 3.3rem);
}

.hero .lead {
	max-width: 620px;
	margin-bottom: 0;
}

.hero .checks {
	margin-top: 26px;
}

.hero__media {
	position: relative;
	width: 100%;
	max-width: 540px;
	margin-inline: auto;
}

.hero__img {
	width: 100%;
	filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

.hero__slides {
	position: relative;
}

.hero__slide--next {
	position: absolute;
	inset: 0;
	height: 100%;
	opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
	.hero__slide--next {
		animation: bmf-crossfade 6s ease-in-out infinite;
	}
}

@keyframes bmf-crossfade {
	0%,
	40% {
		opacity: 0;
	}

	50%,
	90% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

/* Restaurant page hero: kitchen photo under a navy wash. */
.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: 35% center;
	opacity: 0.75;
	mix-blend-mode: luminosity;
	pointer-events: none;
}

.hero--business .hero__decor {
	background: linear-gradient(90deg, rgba(34, 34, 80, 0.92) 0%, rgba(34, 34, 80, 0.62) 48%, rgba(24, 24, 59, 0.3) 100%);
}

.hero__mini-media {
	display: none;
}

.hero__sublabel {
	margin: 30px 0 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.hero__sublabel + .pills {
	margin-top: 12px;
}

@media (min-width: 1024px) {
	.hero__grid {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
		gap: 56px;
	}

	.hero__grid--form {
		grid-template-columns: minmax(0, 1fr) minmax(400px, 470px);
		align-items: start;
	}

	.hero__mini-media {
		display: block;
		width: 300px;
		margin-top: 36px;
		filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
	}
}

.path-cards {
	display: grid;
	gap: 12px;
	margin-top: 30px;
}

@media (min-width: 600px) {
	.path-cards {
		grid-template-columns: 1fr 1fr;
	}
}

.path-card {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.path-card:hover {
	background: rgba(255, 255, 255, 0.11);
	border-color: var(--cyan);
	transform: translateY(-2px);
}

.path-card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--cyan);
	color: var(--navy-900);
}

.path-card--featured {
	border-color: rgba(0, 205, 229, 0.6);
	background: rgba(0, 205, 229, 0.14);
}

.path-card:not(.path-card--featured) .path-card__icon {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.path-card__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	font-size: 0.86rem;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.75);
}

.path-card__body strong {
	font-size: 1.06rem;
	color: #fff;
}

.path-card__kicker {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cyan-soft);
}

.path-card__arrow {
	width: 20px;
	height: 20px;
	color: var(--cyan);
	transition: transform 0.2s;
}

.path-card:hover .path-card__arrow {
	transform: translateX(4px);
}

.float-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--shadow);
	line-height: 1.2;
}

.float-card--stat {
	left: 0;
	bottom: 10%;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.float-card--stat strong {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	color: var(--navy);
}

.float-card--stat span {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.float-card--time {
	right: 0;
	top: 8%;
	max-width: 220px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text);
}

.float-card--time strong {
	display: block;
	font-size: 1.2rem;
	color: var(--navy);
}

.float-card__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: none;
	border-radius: 12px;
	background: var(--cyan);
	color: var(--navy-900);
}

@media (prefers-reduced-motion: no-preference) {
	.float-card {
		animation: bmf-float 6s ease-in-out infinite;
	}

	.float-card--time {
		animation-delay: -3s;
	}
}

@keyframes bmf-float {
	50% {
		transform: translateY(-8px);
	}
}

.hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0 0;
}

.hero-stat {
	flex: 1 1 110px;
	max-width: 170px;
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 0.8rem;
	line-height: 1.3;
}

.hero-stat strong {
	display: block;
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--cyan);
}

/* Breadcrumb */

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
	list-style: none;
	font-size: 0.84rem;
	color: rgba(255, 255, 255, 0.65);
}

.breadcrumb li + li::before {
	content: "/";
	margin-right: 8px;
	opacity: 0.5;
}

.breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--cyan);
}

/* Page hero (inner pages) */

.page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(40px, 6vw, 80px);
	background:
		radial-gradient(800px 460px at 90% 0%, rgba(0, 205, 229, 0.15), transparent 60%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
}

.page-hero .container {
	position: relative;
}

.page-hero__waves {
	position: absolute;
	right: -6%;
	bottom: -30%;
	width: min(980px, 80%);
	height: auto;
	max-width: none;
	aspect-ratio: 600 / 340;
	opacity: 0.2;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to left, #000 35%, transparent 95%);
	mask-image: linear-gradient(to left, #000 35%, transparent 95%);
}

.page-hero__title {
	max-width: 900px;
	font-size: clamp(2rem, 4.2vw, 3.3rem);
	line-height: 1.1;
}

.page-hero .lead {
	max-width: 700px;
}

.page-hero--404 {
	padding-block: clamp(80px, 12vw, 160px);
}

/* Trust strip
   ========================================================================== */

.trust {
	position: relative;
	z-index: 3;
	margin-top: calc(-1 * clamp(48px, 5vw, 64px));
}

.trust__list {
	display: grid;
	gap: 4px;
	padding: 10px;
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--shadow);
	list-style: none;
}

.trust__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--muted);
}

.trust__item strong {
	display: block;
	font-size: 0.96rem;
	color: var(--ink);
}

.trust__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 14px;
	background: var(--soft);
	color: var(--navy);
}

@media (min-width: 620px) {
	.trust__list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1080px) {
	.trust__list {
		grid-template-columns: repeat(4, 1fr);
	}

	.trust__item + .trust__item {
		border-left: 1px solid var(--line);
	}
}

/* Sections
   ========================================================================== */

.section {
	position: relative;
	padding-block: clamp(64px, 8vw, 112px);
}

.section--soft {
	background: var(--soft);
}

.section--navy {
	overflow: hidden;
	background:
		radial-gradient(900px 520px at 8% 0%, rgba(0, 205, 229, 0.14), transparent 60%),
		linear-gradient(180deg, var(--navy-800), var(--navy-900));
}

.section--tight {
	padding-block: clamp(24px, 4vw, 48px);
}

.section--tight-top {
	padding-top: clamp(40px, 5vw, 64px);
}

.section-head {
	max-width: 780px;
	margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-head .lead {
	margin-bottom: 0;
}

.split {
	display: grid;
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}

@media (min-width: 960px) {
	.split {
		grid-template-columns: 1fr 1fr;
	}
}

.split__copy > .btn,
.split__copy > .link-arrow {
	margin-top: 8px;
}

/* Services
   ========================================================================== */

.service-grid {
	display: grid;
	gap: 28px;
}

@media (min-width: 920px) {
	.service-grid {
		grid-template-columns: 1.15fr 1fr;
	}
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.service-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.service-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.service-card__tag {
	position: absolute;
	left: 18px;
	top: 18px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font-size: 0.8rem;
	font-weight: 700;
}

.service-card__tag--new {
	background: var(--green);
	color: #1b2400;
}

.service-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(24px, 3vw, 36px);
}

.service-card__body h3 {
	font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}

.service-card .checks {
	flex-direction: column;
	margin: 6px 0 0;
}

.service-card .btn-group {
	margin-top: auto;
	padding-top: 28px;
}

.service-card--dark {
	border: 0;
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
}

.service-card__waves {
	position: absolute;
	right: -40px;
	top: -40px;
	width: 300px;
	height: auto;
	aspect-ratio: 1;
	opacity: 0.28;
	pointer-events: none;
}

.service-card__stats {
	position: absolute;
	inset: auto 0 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	padding: 64px clamp(20px, 3vw, 32px) 20px;
	background: linear-gradient(180deg, transparent, rgba(24, 24, 59, 0.94) 60%);
}

/* Featured restaurant card on small screens */
@media (max-width: 599.98px) {
	.service-card--featured .service-card__media {
		aspect-ratio: 4 / 3.6;
	}

	.service-card__stats .stat span {
		font-size: 0.62rem;
	}
}

.service-card--dark .service-card__body {
	position: relative;
}

.service-card--dark .service-card__body > :not(.lines) {
	position: relative;
	z-index: 1;
}

.stat strong {
	display: block;
	font-size: clamp(1.5rem, 3vw, 2.4rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--cyan);
}

.stat span {
	display: block;
	margin-top: 8px;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

/* Collage & photo stack
   ========================================================================== */

.collage {
	position: relative;
	width: 100%;
	max-width: 520px;
	margin-inline: auto;
	padding-bottom: 56px;
}

.collage__main {
	position: relative;
	width: 78%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.collage__sub {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 48%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border: 6px solid var(--soft);
	border-radius: 24px;
	box-shadow: var(--shadow);
}

.collage__dots {
	position: absolute;
	left: -22px;
	top: 32px;
	width: 50px;
	height: 196px;
	color: var(--navy);
	opacity: 0.22;
}

.collage__badge {
	position: absolute;
	left: -8px;
	bottom: 110px;
	padding: 14px 20px;
	border-radius: 20px;
	background: var(--cyan);
	color: var(--navy-900);
	box-shadow: var(--shadow);
	line-height: 1.15;
}

.collage__badge strong {
	display: block;
	font-size: 2rem;
	font-weight: 800;
}

.collage__badge span {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.collage--single {
	padding-bottom: 0;
}

.collage--single .collage__main {
	width: 100%;
}

.collage--single .collage__badge {
	bottom: 28px;
}

@media (max-width: 599.98px) {
	.collage__dots {
		left: -8px;
	}

	.collage__badge {
		left: 0;
	}
}

.photo-stack {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.photo-stack img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 16px;
}

@media (min-width: 960px) {
	.photo-stack {
		position: relative;
		display: block;
		aspect-ratio: 1 / 1.02;
	}

	.photo-stack img {
		position: absolute;
		border: 6px solid #fff;
		border-radius: 26px;
		box-shadow: var(--shadow);
	}

	.photo-stack__a {
		left: 0;
		top: 0;
		width: 54% !important;
	}

	.photo-stack__b {
		right: 0;
		top: 10%;
		width: 44% !important;
	}

	.photo-stack__c {
		left: 34%;
		bottom: 0;
		width: 38% !important;
	}
}

/* Q&A list */

.qa-list {
	display: grid;
	gap: 12px;
	margin: 26px 0 28px;
}

.qa {
	padding: 18px 22px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
}

.section:not(.section--soft) .qa {
	background: var(--soft);
	border-color: transparent;
}

.qa dt {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.06rem;
	font-weight: 700;
	color: var(--ink);
}

.qa dd {
	margin: 8px 0 0;
}

.qa__num {
	padding: 4px 8px;
	border-radius: 8px;
	background: var(--navy);
	color: var(--cyan);
	font-size: 0.72rem;
	font-weight: 800;
}

/* Business band
   ========================================================================== */

.biz-band__line {
	position: absolute;
	right: 4%;
	top: 48px;
	width: 200px;
	height: auto;
	aspect-ratio: 240 / 140;
	opacity: 0.3;
	pointer-events: none;
}

.biz-band .container {
	position: relative;
}

.biz-band__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	opacity: 0.14;
	mix-blend-mode: luminosity;
	pointer-events: none;
}

.biz-band__head {
	display: grid;
	gap: 16px 48px;
	align-items: end;
	margin-bottom: 44px;
}

.biz-band__head h2 {
	margin: 0;
}

.biz-band__head .lead {
	margin: 0;
}

@media (min-width: 960px) {
	.biz-band__head {
		grid-template-columns: 1.1fr 0.9fr;
	}
}

.stat-row {
	display: grid;
	gap: 14px;
	margin-bottom: 48px;
}

@media (min-width: 720px) {
	.stat-row {
		grid-template-columns: repeat(3, 1fr);
	}
}

.stat-tile {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.05);
}

.stat-tile .icon {
	width: 32px;
	height: 32px;
	margin-bottom: 10px;
	color: var(--cyan);
}

.stat-tile strong {
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #fff;
}

.stat-row--cards {
	margin-bottom: 0;
}

.stat-row--cards .stat-tile strong {
	margin-bottom: 6px;
	font-size: 1.2rem;
}

.uses-title {
	margin-bottom: 16px;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cyan);
}

.uses {
	display: grid;
	gap: 10px;
	list-style: none;
}

@media (min-width: 600px) {
	.uses {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 980px) {
	.uses {
		grid-template-columns: repeat(3, 1fr);
	}
}

.uses li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1px dashed rgba(255, 255, 255, 0.18);
	border-radius: 14px;
	color: #fff;
	font-weight: 600;
}

.uses .icon {
	color: var(--cyan);
}

/* Use grid (restaurant page) */

.use-grid {
	display: grid;
	gap: 16px;
	list-style: none;
}

@media (min-width: 600px) {
	.use-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.use-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.use-card {
	padding: 26px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.use-card:hover {
	border-color: rgba(0, 205, 229, 0.6);
	box-shadow: var(--shadow-sm);
	transform: translateY(-2px);
}

.use-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 16px;
	background: var(--navy);
	color: var(--cyan);
}

.use-card h3 {
	font-size: 1.08rem;
	margin-bottom: 6px;
}

.use-card p {
	margin: 0;
	font-size: 0.93rem;
}

.use-note {
	margin: 32px 0 0;
	text-align: center;
	font-weight: 600;
	color: var(--ink);
}

/* Mini cards, requirements, features
   ========================================================================== */

.mini-cards {
	display: grid;
	gap: 12px;
	margin: 26px 0 0;
}

@media (min-width: 600px) {
	.mini-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

.mini-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--line);
	font-size: 0.88rem;
	line-height: 1.45;
}

.mini-card .icon {
	margin-bottom: 8px;
	color: var(--accent);
}

.mini-card strong {
	color: var(--ink);
}

.req-grid {
	display: grid;
	gap: 18px;
	list-style: none;
}

@media (min-width: 760px) {
	.req-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.req {
	position: relative;
	padding: 30px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
	text-align: center;
}

.req__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 20px;
	background: var(--soft);
	color: var(--navy);
}

.req__icon .icon {
	width: 30px;
	height: 30px;
}

.req p {
	margin: 0;
}

.feature-list {
	display: grid;
	gap: 18px;
	margin: 26px 0 30px;
	list-style: none;
}

.feature-list li {
	display: flex;
	gap: 16px;
}

.feature-list h3 {
	margin-bottom: 2px;
	font-size: 1.05rem;
}

.feature-list p {
	margin: 0;
}

.feature-list__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex: none;
	border-radius: 14px;
	background: var(--navy);
	color: var(--cyan);
}

/* Tabs & steps
   ========================================================================== */

.tabs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto 40px;
	padding: 6px;
	border-radius: 999px;
	background: var(--soft);
}

.tabs__tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--navy);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.tabs__tab[aria-selected="true"] {
	background: var(--navy);
	color: #fff;
}

.tabs__tab[aria-selected="true"] .icon {
	color: var(--cyan);
}

@media (max-width: 479.98px) {
	.tabs__list {
		border-radius: 20px;
	}

	.tabs__tab {
		flex: 1 1 100%;
		justify-content: center;
	}
}

.steps {
	display: grid;
	gap: 24px;
	list-style: none;
}

@media (min-width: 920px) {
	.steps {
		grid-template-columns: repeat(3, 1fr);
		gap: 56px;
	}
}

.step {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.step__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 23px 23px 0 0;
}

.step__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.step__body {
	padding: 24px 26px 28px;
}

.step__body p:last-child {
	margin: 0;
}

.step__num {
	margin: 0 0 6px;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.step__title {
	margin-bottom: 8px;
	font-size: 1.3rem;
}

.step__arrow {
	display: none;
}

@media (min-width: 920px) {
	.step__arrow {
		position: absolute;
		top: 38%;
		right: -50px;
		z-index: 2;
		display: block;
		width: 44px;
		height: auto;
		aspect-ratio: 72 / 24;
	}

}

.step__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: var(--navy);
	color: var(--cyan);
}

.step__icon .icon {
	width: 30px;
	height: 30px;
}

/* FAQ
   ========================================================================== */

.faq-layout {
	display: grid;
	gap: 36px 64px;
	align-items: start;
}

@media (min-width: 980px) {
	.faq-layout {
		grid-template-columns: 340px 1fr;
	}

	.faq-layout__intro {
		position: sticky;
		top: calc(var(--header-h) + 32px);
	}
}

.faq-layout__intro h2 {
	font-size: clamp(1.8rem, 2.8vw, 2.3rem);
}

.faq-layout__intro .btn,
.faq-layout__intro .link-arrow {
	margin-top: 8px;
}

.faq-list {
	display: grid;
	gap: 12px;
}

.faq-item {
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	scroll-margin-top: calc(var(--header-h) + 24px);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
	border-color: rgba(0, 205, 229, 0.65);
	box-shadow: var(--shadow-sm);
}

.faq-item__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px 18px 22px;
	list-style: none;
	cursor: pointer;
}

.faq-item__q::-webkit-details-marker {
	display: none;
}

.faq-item__q h3 {
	margin: 0;
	font-size: 1.03rem;
	line-height: 1.4;
	letter-spacing: 0;
}

.faq-item__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 50%;
	background: var(--soft);
	color: var(--navy);
	transition: transform 0.25s, background-color 0.2s;
}

.faq-item__icon .icon {
	width: 18px;
	height: 18px;
}

.faq-item[open] .faq-item__icon {
	transform: rotate(45deg);
	background: var(--cyan);
	color: var(--navy-900);
}

.faq-item__a {
	padding: 0 22px 22px;
}

.faq-item__a p {
	margin: 0;
}

.faq-search {
	position: relative;
	max-width: 580px;
	margin-top: 30px;
}

.faq-search .icon {
	position: absolute;
	left: 18px;
	top: 50%;
	color: var(--navy);
	transform: translateY(-50%);
}

.faq-search input {
	width: 100%;
	padding: 16px 20px 16px 52px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--shadow);
	color: #1d1d40;
	font: inherit;
	font-size: 1rem;
}

.faq-search input::placeholder {
	color: #8a8aa0;
}

.faq-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
	list-style: none;
}

.faq-jump a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
}

.faq-jump a:hover {
	border-color: var(--cyan);
}

.faq-jump span {
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--cyan);
	color: var(--navy-900);
	font-size: 0.72rem;
	font-weight: 800;
}

.faq-page {
	display: grid;
	gap: 48px;
	align-items: start;
}

@media (min-width: 1024px) {
	.faq-page {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	.faq-page__aside {
		position: sticky;
		top: calc(var(--header-h) + 32px);
	}
}

.faq-group {
	scroll-margin-top: calc(var(--header-h) + 24px);
}

.faq-group + .faq-group {
	margin-top: 56px;
}

.faq-group__title {
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
	margin-bottom: 18px;
}

.faq-empty {
	padding: 22px;
	border-radius: 16px;
	background: var(--soft);
}

.aside-card {
	display: grid;
	gap: 10px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--soft);
}

.aside-card .eyebrow,
.aside-card__title,
.aside-card p {
	margin-bottom: 0;
}

.aside-card__title {
	font-size: 1.35rem;
}

.aside-card__mail {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 6px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

/* Cross-sell & final CTA
   ========================================================================== */

.crosssell {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 16px 22px;
	padding: 22px 26px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: linear-gradient(90deg, var(--soft), #fff);
	color: var(--text);
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.crosssell:hover {
	border-color: var(--cyan);
	box-shadow: var(--shadow-sm);
}

.crosssell__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--navy);
	color: var(--cyan);
}

.crosssell__copy strong {
	display: block;
	margin: 4px 0 2px;
	font-size: 1.15rem;
	color: var(--ink);
}

.crosssell__media {
	display: block;
	width: 96px;
	height: 72px;
	overflow: hidden;
	border-radius: 14px;
}

.crosssell__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.crosssell--feature {
	border: 0;
	background: linear-gradient(110deg, var(--navy) 0%, var(--navy-900) 100%);
	color: rgba(255, 255, 255, 0.8);
}

.crosssell--feature .crosssell__copy strong {
	color: #fff;
}

.crosssell--feature .crosssell__cta {
	color: var(--cyan);
}

@media (min-width: 760px) {
	.crosssell--feature .crosssell__media {
		width: 170px;
		height: 104px;
	}
}

.crosssell__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	grid-column: 1 / -1;
	color: var(--navy);
	font-weight: 700;
}

@media (min-width: 760px) {
	.crosssell {
		grid-template-columns: auto 1fr auto;
	}

	.crosssell__cta {
		grid-column: auto;
	}
}

.cta-final__panel {
	position: relative;
	display: grid;
	gap: 24px;
	align-items: center;
	overflow: hidden;
	padding: clamp(32px, 5vw, 64px);
	border-radius: 32px;
	background:
		radial-gradient(700px 400px at 100% 0%, rgba(0, 205, 229, 0.2), transparent 60%),
		linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
}

.cta-final__waves {
	position: absolute;
	left: 18%;
	bottom: -16%;
	width: 95%;
	height: auto;
	max-width: none;
	aspect-ratio: 600 / 340;
	opacity: 0.26;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
	mask-image: linear-gradient(to right, transparent 0%, #000 45%);
}

.cta-final__copy {
	position: relative;
}

.cta-final__copy h2 {
	font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

.cta-final__mail {
	margin: 20px 0 0;
	font-size: 0.9rem;
}

.cta-final__media {
	position: relative;
	width: 100%;
	max-width: 420px;
	margin-inline: auto;
}

.cta-final__media > img:last-child {
	position: relative;
	width: 100%;
}

.cta-final__money {
	position: absolute;
	right: -20px;
	top: -30px;
	width: 55%;
	opacity: 0.55;
}

@media (min-width: 900px) {
	.cta-final__panel {
		grid-template-columns: 1.15fr 0.85fr;
		gap: 40px;
	}
}

/* Forms
   ========================================================================== */

.form-card {
	position: relative;
	z-index: 2;
	padding: clamp(22px, 3vw, 34px);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.6);
	scroll-margin-top: calc(var(--header-h) + 16px);
}

.form-card__title {
	margin: 0 0 6px;
	font-size: 1.7rem;
}

.form-card__lead {
	margin: 0 0 18px;
	font-size: 0.94rem;
}

.quote-form {
	container-type: inline-size;
	display: grid;
	gap: 14px;
}

.quote-form > [data-for] {
	display: grid;
	gap: 14px;
}

.hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.loan-switch {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.loan-switch legend {
	margin-bottom: 8px;
	padding: 0;
}

.loan-switch__options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.loan-switch__option {
	position: relative;
}

.loan-switch__option input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.loan-switch__option span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 100%;
	padding: 12px 10px;
	border: 1.5px solid var(--line);
	border-radius: 14px;
	color: var(--navy);
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.loan-switch__option .icon {
	width: 20px;
	height: 20px;
}

.loan-switch__option input:checked + span {
	border-color: var(--navy);
	background: var(--navy);
	color: #fff;
}

.loan-switch__option input:checked + span .icon {
	color: var(--cyan);
}

.loan-switch__option input:focus-visible + span {
	outline: 3px solid var(--cyan);
	outline-offset: 2px;
}

.field {
	display: grid;
	gap: 6px;
}

.field-row {
	display: grid;
	gap: 14px;
}

@container (min-width: 400px) {
	.field-row {
		grid-template-columns: 1fr 1fr;
	}
}

.field__label {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--ink);
}

.field__label span[aria-hidden] {
	color: var(--accent);
}

.field__optional {
	font-weight: 500;
	color: var(--muted);
}

.field__input {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fbfbfd;
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field__input::placeholder {
	color: #9a9aae;
}

.field__input:focus {
	outline: none;
	border-color: var(--cyan);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(0, 205, 229, 0.18);
}

.field__input[aria-invalid="true"] {
	border-color: var(--danger);
}

textarea.field__input {
	min-height: 88px;
	resize: vertical;
}

select.field__input {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%232b2b5e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.field__error {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--danger);
}

.form-note {
	display: flex;
	gap: 8px;
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--muted);
}

.form-note .icon {
	margin-top: 1px;
	color: var(--accent);
}

.form-status {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--danger);
}

.form-status:empty {
	display: none;
}

.form-alert {
	margin: 0;
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	font-size: 0.9rem;
}

.form-alert--ok {
	background: #e7f8ec;
	color: #17602e;
}

.form-alert--error {
	background: #fdecee;
	color: #9e2231;
}

.quote-success {
	padding: 28px 8px 12px;
	text-align: center;
}

.quote-success:focus {
	outline: none;
}

.quote-success__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--cyan);
	color: var(--navy-900);
}

.quote-success__icon .icon {
	width: 34px;
	height: 34px;
	stroke-width: 2.6;
}

.quote-success h3 {
	font-size: 1.5rem;
}

/* Dialog */

.quote-dialog {
	width: 100%;
	max-width: min(540px, calc(100vw - 24px));
	max-height: calc(100dvh - 24px);
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}

.quote-dialog::backdrop {
	background: rgba(12, 12, 36, 0.62);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.quote-dialog__panel {
	position: relative;
	max-height: calc(100dvh - 24px);
	padding: clamp(22px, 4vw, 34px);
	overflow-y: auto;
	border-radius: 26px;
	background: #fff;
	box-shadow: var(--shadow);
	overscroll-behavior: contain;
}

@media (prefers-reduced-motion: no-preference) {
	.quote-dialog[open] .quote-dialog__panel {
		animation: bmf-pop 0.25s ease-out;
	}
}

@keyframes bmf-pop {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
}

.quote-dialog__close {
	position: absolute;
	right: 14px;
	top: 14px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: var(--soft);
	color: var(--navy);
	cursor: pointer;
}

.quote-dialog__close:hover {
	background: var(--line);
}

.quote-dialog__title {
	margin: 0 0 4px;
	font-size: 1.8rem;
}

.quote-dialog__lead {
	margin: 0 0 18px;
	padding-right: 24px;
	font-size: 0.94rem;
}

/* Prose (legal pages)
   ========================================================================== */

.prose {
	font-size: 1.02rem;
}

.prose h2 {
	margin: 2em 0 0.6em;
	font-size: 1.45rem;
}

.prose ul,
.prose ol {
	margin: 0 0 1.2em;
	padding-left: 1.3em;
}

.prose li {
	margin: 0.45em 0;
}

.prose strong {
	color: var(--ink);
}

.prose__intro {
	font-size: 1.15rem;
	color: var(--ink);
}

/* Footer
   ========================================================================== */

.site-footer {
	position: relative;
	overflow: hidden;
	padding-top: clamp(56px, 7vw, 88px);
	background: #141434;
	font-size: 0.94rem;
	--text: rgba(255, 255, 255, 0.72);
}

.site-footer__waves {
	position: absolute;
	right: -4%;
	bottom: -6%;
	width: min(900px, 75%);
	height: auto;
	max-width: none;
	aspect-ratio: 600 / 340;
	opacity: 0.1;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to left, #000 35%, transparent 95%);
	mask-image: linear-gradient(to left, #000 35%, transparent 95%);
}

.site-footer .container {
	position: relative;
}

.site-footer__grid {
	display: grid;
	gap: 40px;
}

@media (min-width: 640px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	}
}

.site-logo--footer img {
	height: 64px;
}

.site-footer__brand p {
	max-width: 320px;
	margin: 18px 0 16px;
}

.licence-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
}

.licence-chip:hover {
	border-color: var(--cyan);
}

.licence-chip .icon {
	color: var(--cyan);
}

.site-footer__title {
	margin: 0 0 16px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cyan);
}

.site-footer__col ul {
	list-style: none;
}

.site-footer__col li {
	margin: 10px 0;
}

.site-footer__col a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.site-footer__col a:hover {
	color: #fff;
}

.site-footer__small {
	margin: 20px 0 10px;
	font-size: 0.85rem;
}

.site-footer .social-link {
	padding: 8px 16px 8px 10px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	color: #fff;
	font-weight: 600;
}

.site-footer .social-link:hover {
	border-color: var(--cyan);
	color: var(--cyan);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 56px;
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.82rem;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__credit a {
	color: var(--cyan);
}

/* Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
