/* Inova Medical: landing page styles
   Palette: ink navy text, ceil blue (the color of hospital scrubs) for surfaces,
   valve orange (the catheter connector) as a sparing accent for focus and marks. */

:root {
	--ink: #10233a;
	--ink-2: #3a4d64;
	--ink-3: #5b6b80;
	--ceil: #92a8d1;
	--ceil-50: #f1f4fa;
	--ceil-100: #e2e9f5;
	--ceil-200: #c8d4ea;
	--paper: #fff;
	--panel: #f2f4f7;
	--line: #d8dfea;
	--valve: #f08a24;
	--ok: #1d7a4b;
	--err: #b42318;

	--font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--r-xl: 28px;
	--r-lg: 20px;
	--r-md: 14px;
	--r-sm: 10px;
	--header-h: 76px;
}

/* Base ------------------------------------------------------------------ */

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

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

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
	margin: 0;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

a[href^="tel:"] {
	white-space: nowrap;
}

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

::selection {
	background: var(--ceil-200);
}

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

.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: var(--r-sm);
	background: var(--ink);
	color: #fff;
	font-weight: 700;
}

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

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap--narrow {
	max-width: calc(760px + var(--gutter) * 2);
}

.img-missing {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 160px;
	background:
		radial-gradient(circle at 50% 45%, var(--ceil-100) 0 22%, transparent 23%),
		var(--panel);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 46px;
	padding: 0 20px;
	border: 2px solid transparent;
	border-radius: 12px;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn--lg {
	min-height: 54px;
	padding: 0 26px;
	font-size: 1.0625rem;
}

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

.btn--primary:hover {
	background: #1f3a5a;
}

.btn--ghost {
	border-color: var(--ink);
	color: var(--ink);
	background: transparent;
}

.btn--ghost:hover {
	background: var(--ink);
	color: #fff;
}

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

/* Header ---------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}

.site-header.is-scrolled {
	border-bottom-color: var(--line);
}

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

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ink);
	flex-shrink: 0;
}

.brand__mark {
	display: block;
	flex-shrink: 0;
}

.brand__word {
	font-size: 1.375rem;
	line-height: 1;
	letter-spacing: -0.01em;
	font-weight: 400;
}

.brand__word b {
	font-weight: 800;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-left: auto;
}

.site-nav__links {
	display: flex;
	gap: 4px;
}

.site-nav__links a {
	display: block;
	padding: 8px 12px;
	border-radius: var(--r-sm);
	font-size: 1rem;
	color: var(--ink-2);
	text-decoration: none;
}

.site-nav__links a:hover {
	color: var(--ink);
	background: var(--ceil-50);
}

.site-nav__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.site-nav__phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	white-space: nowrap;
}

.site-nav__phone svg {
	color: var(--ceil);
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	min-height: 44px;
	padding: 0 14px;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__bars::before {
	top: -6px;
}

.nav-toggle__bars::after {
	top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
	transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1080px) {
	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 12px var(--gutter) 24px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px -24px rgba(16, 35, 58, 0.35);
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav__links {
		flex-direction: column;
	}

	.site-nav__links a {
		padding: 12px 8px;
		font-size: 1.125rem;
		color: var(--ink);
		border-bottom: 1px solid var(--panel);
		border-radius: 0;
	}

	.site-nav__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.site-nav__phone {
		justify-content: center;
		min-height: 46px;
	}
}

/* Hero ------------------------------------------------------------------ */

.hero {
	background: var(--ceil-50);
	padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px);
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.hero__title {
	max-width: 15ch;
	font-size: clamp(2.5rem, 1.45rem + 3.6vw, 4.25rem);
	line-height: 1.04;
	letter-spacing: -0.025em;
	font-weight: 800;
	text-wrap: balance;
}

.hero__lead {
	max-width: 36rem;
	margin-top: 24px;
	font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
	line-height: 1.55;
	color: var(--ink-2);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin-top: 28px;
	font-size: 1rem;
	color: var(--ink-2);
}

.hero__facts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hero__facts li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--valve);
	flex-shrink: 0;
}

.hero__media {
	position: relative;
	aspect-ratio: 5 / 4;
	border-radius: var(--r-xl);
	overflow: hidden;
	background: var(--ceil-100);
}

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

/* The one orchestrated moment: the hero settles in on load. */
@media (prefers-reduced-motion: no-preference) {
	.hero__copy > * {
		animation: inova-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.hero__copy > :nth-child(2) {
		animation-delay: 0.08s;
	}

	.hero__copy > :nth-child(3) {
		animation-delay: 0.16s;
	}

	.hero__copy > :nth-child(4) {
		animation-delay: 0.24s;
	}

	.hero__media {
		animation: inova-settle 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.doors {
		animation: inova-rise 0.8s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}
}

@keyframes inova-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes inova-settle {
	from {
		opacity: 0;
		transform: scale(0.97);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Doors: the two halves of the catalog */

.doors {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: clamp(40px, 5vw, 64px);
}

.door {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 16px 24px 16px 16px;
	border-radius: var(--r-xl);
	background: #fff;
	text-decoration: none;
	border: 1.5px solid transparent;
	transition: border-color 0.15s;
}

.door:hover {
	border-color: var(--ceil);
}

.door__media {
	flex: 0 0 132px;
	aspect-ratio: 1;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--panel);
}

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

.door__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.door__title {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.door__text {
	font-size: 1rem;
	color: var(--ink-2);
}

.door__link {
	margin-top: 4px;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	text-decoration-color: var(--ceil);
}

.door:hover .door__link {
	text-decoration-color: currentColor;
}

/* Sections ---------------------------------------------------------------- */

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

.section__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	align-items: end;
	gap: 16px 48px;
	margin-bottom: clamp(32px, 4vw, 48px);
}

.section__title {
	font-size: clamp(2rem, 1.4rem + 2vw, 2.875rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	font-weight: 800;
	text-wrap: balance;
}

.section__intro {
	max-width: 40rem;
	color: var(--ink-2);
}

/* Catalog --------------------------------------------------------------- */

.catalog + .catalog {
	padding-top: 0;
}

.catalog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.card {
	display: flex;
	flex-direction: column;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	transition: border-color 0.15s;
}

.card:hover {
	border-color: var(--ceil);
}

.card__media {
	aspect-ratio: 4 / 3;
	border-radius: var(--r-md);
	overflow: hidden;
	background: var(--panel);
}

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

.card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 18px 10px 8px;
}

.card__title {
	font-size: 1.25rem;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.005em;
}

.card__text {
	font-size: 1rem;
	line-height: 1.55;
	color: var(--ink-2);
}

.card__details {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.card__details li {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--ceil-50);
	font-size: 0.875rem;
	color: var(--ink-2);
}

.card__cta {
	align-self: flex-start;
	margin-top: auto;
	padding-top: 6px;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--ceil);
}

.card__cta:hover {
	text-decoration-color: currentColor;
}

.card--featured {
	grid-column: span 2;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: stretch;
	gap: 8px;
	background: var(--ceil-50);
	border-color: transparent;
}

.card--featured .card__media {
	aspect-ratio: auto;
	min-height: 320px;
	background: #fff;
}

.card--featured .card__body {
	justify-content: center;
	padding: 24px 20px 20px;
}

.card--featured .card__title {
	font-size: 1.625rem;
	font-weight: 800;
}

.card--featured .card__text {
	font-size: 1.0625rem;
}

.card--featured .card__details li {
	background: #fff;
}

.card--ask {
	justify-content: center;
	gap: 14px;
	padding: 28px;
	border-style: dashed;
	border-color: var(--ceil-200);
	background: transparent;
}

.card--ask .btn {
	align-self: flex-start;
}

/* Catheter size guide (dark band) -------------------------------------------- */

.sizes {
	background: var(--ink);
	color: #fff;
}

.sizes__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
	align-items: center;
	gap: clamp(40px, 6vw, 88px);
}

.sizes__copy p {
	max-width: 32rem;
	margin-top: 20px;
	color: #c9d3e3;
}

.sizes__copy .sizes__note {
	font-size: 0.9375rem;
	color: #9fb0c8;
}

.sizes__chart {
	display: grid;
	gap: 28px;
	padding: clamp(20px, 3vw, 36px);
	border-radius: var(--r-xl);
	background: #18304c;
}

.sizes__scale {
	--k: clamp(1.5px, 0.21vw, 2.7px);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 4px;
}

.size {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	min-width: 44px;
	padding: 8px 2px;
	border: 0;
	border-radius: var(--r-md);
	background: transparent;
	color: #c9d3e3;
	font: inherit;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s;
}

.size:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

/* Dot diameter is proportional to the French size. */
.size__dot {
	display: block;
	width: calc(var(--fr) * var(--k));
	height: calc(var(--fr) * var(--k));
	border-radius: 50%;
	background: var(--swatch);
	box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.35);
	transition: box-shadow 0.2s, transform 0.2s;
}

.size__label {
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1;
}

.size[aria-pressed="true"] {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.size[aria-pressed="true"] .size__dot {
	box-shadow: 0 0 0 3px #18304c, 0 0 0 5px var(--valve);
}

.sizes__detail {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.sizes__swatch {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--swatch);
	box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.35);
	transition: background-color 0.2s;
}

.sizes__fr {
	font-size: 3.5rem;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.sizes__facts {
	font-size: 1rem;
	line-height: 1.5;
	color: #c9d3e3;
}

/* Who we supply --------------------------------------------------------- */

.who__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(40px, 6vw, 96px);
}

.who__media {
	aspect-ratio: 4 / 5;
	border-radius: var(--r-xl);
	overflow: hidden;
	background: var(--ceil-50);
}

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

.who__list {
	margin-top: 28px;
	border-top: 1px solid var(--line);
}

.who__list > div {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 4px 24px;
	padding-block: 18px;
	border-bottom: 1px solid var(--line);
}

.who__list dt {
	font-weight: 700;
	line-height: 1.4;
}

.who__list dd {
	font-size: 1rem;
	color: var(--ink-2);
}

/* Ordering steps (a real sequence, so numbered) --------------------------- */

.ordering {
	background: var(--ceil-50);
}

.ordering .section__head {
	grid-template-columns: 1fr;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	counter-reset: step;
}

.step {
	position: relative;
	padding: 28px 28px 32px;
	border-radius: var(--r-lg);
	background: #fff;
	counter-increment: step;
}

.step::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	font-weight: 800;
	font-size: 1.125rem;
}

.step__title {
	margin-bottom: 8px;
	font-size: 1.3125rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.step p {
	font-size: 1rem;
	color: var(--ink-2);
}

/* FAQ ------------------------------------------------------------------- */

.faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

.faq__intro p {
	max-width: 28rem;
	margin-top: 16px;
	color: var(--ink-2);
}

.faq__list {
	border-top: 1px solid var(--line);
}

.faq__item {
	border-bottom: 1px solid var(--line);
}

.faq__item summary {
	position: relative;
	padding: 22px 48px 22px 0;
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item summary::before,
.faq__item summary::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
	transition: transform 0.2s;
}

.faq__item summary::after {
	transform: rotate(90deg);
}

.faq__item[open] summary::after {
	transform: rotate(0deg);
}

.faq__item p {
	max-width: 44rem;
	padding-bottom: 24px;
	color: var(--ink-2);
}

/* Quote ----------------------------------------------------------------- */

.quote {
	background: var(--ceil-50);
}

.quote__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}

.quote__intro > p {
	max-width: 28rem;
	margin-top: 16px;
	color: var(--ink-2);
}

.quote__contact {
	margin-top: 32px;
	border-top: 1px solid var(--ceil-200);
}

.quote__contact li {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 16px;
	padding-block: 14px;
	border-bottom: 1px solid var(--ceil-200);
	font-size: 1.0625rem;
}

.quote__contact span {
	color: var(--ink-3);
	font-size: 0.9375rem;
	padding-top: 2px;
}

.quote__contact a {
	font-weight: 700;
}

.quote-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	padding: clamp(24px, 3.5vw, 40px);
	border-radius: var(--r-xl);
	background: #fff;
}

.quote-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.field--wide {
	grid-column: 1 / -1;
}

.field label {
	font-size: 1rem;
	font-weight: 700;
}

.field__optional {
	font-weight: 400;
	color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--r-sm);
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.field select {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2310233a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

.field textarea {
	resize: vertical;
	min-height: 120px;
}

.field input::placeholder,
.field textarea::placeholder {
	color: #8a97a8;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
	border-color: var(--ceil);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 3px var(--ceil-100);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
	border-color: var(--err);
}

.field__error {
	font-size: 0.9375rem;
	color: var(--err);
}

.quote-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 4px;
}

.quote-form__privacy {
	font-size: 0.9375rem;
	color: var(--ink-3);
}

.quote-form__status {
	font-weight: 700;
}

.quote-form__status:empty {
	display: none;
}

.quote-form__status.is-sent {
	padding: 14px 16px;
	border-radius: var(--r-sm);
	background: #e7f4ec;
	color: var(--ok);
}

.quote-form__status.is-error {
	padding: 14px 16px;
	border-radius: var(--r-sm);
	background: #fdecea;
	color: var(--err);
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
	padding-block: 64px 32px;
	background: var(--ink);
	color: #c9d3e3;
	font-size: 1rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
}

.brand--light {
	color: #fff;
}

.site-footer__brand p {
	max-width: 22rem;
	margin-top: 16px;
}

.site-footer__heading {
	margin-bottom: 12px;
	font-weight: 700;
	color: #fff;
}

.site-footer__col ul {
	display: grid;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.site-footer a {
	text-decoration-color: rgba(255, 255, 255, 0.3);
}

.site-footer a:hover {
	color: #fff;
	text-decoration-color: currentColor;
}

.site-footer__col a {
	text-decoration: none;
}

.site-footer__col a:hover {
	text-decoration: underline;
}

.site-footer__legal {
	display: grid;
	gap: 8px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.875rem;
	color: #9fb0c8;
}

/* Inner pages ------------------------------------------------------------ */

.page {
	padding-block: clamp(48px, 7vw, 96px);
}

.page__article + .page__article {
	margin-top: 48px;
}

.page__title {
	font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 800;
}

.page__content {
	margin-top: 24px;
}

.page__content > * + * {
	margin-top: 1em;
}

.page__content h2,
.page__content h3 {
	margin-top: 1.6em;
	line-height: 1.25;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 960px) {
	.hero__grid,
	.who__grid,
	.faq__grid,
	.quote__grid,
	.sizes__grid {
		grid-template-columns: 1fr;
	}

	.hero__media {
		order: -1;
		aspect-ratio: 16 / 10;
	}

	.section__head {
		grid-template-columns: 1fr;
	}

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

	.card--featured {
		grid-column: 1 / -1;
		align-items: center;
	}

	.card--featured .card__media {
		aspect-ratio: 1;
		min-height: 0;
	}

	.card--ask {
		grid-column: 1 / -1;
	}

	.who__media {
		aspect-ratio: 16 / 10;
	}

	.steps {
		grid-template-columns: 1fr;
	}

	.site-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 720px) {
	.doors {
		grid-template-columns: 1fr;
	}

	.sizes__scale {
		--k: 1.1px;
		gap: 2px;
	}

	.size {
		min-width: 26px;
		padding: 8px 0;
	}

	.size__label {
		font-size: 0.8125rem;
	}

	.sizes__fr {
		font-size: 2.75rem;
	}

	.who__list > div {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 1.0625rem;
	}

	.catalog__grid {
		grid-template-columns: 1fr;
	}

	.card--featured {
		display: flex;
	}

	.card--featured .card__media {
		flex: none;
		aspect-ratio: 4 / 3;
	}

	.card--featured .card__body {
		padding: 18px 10px 8px;
	}

	/* Compact side-by-side cards on phones. */
	.card:not(.card--featured):not(.card--ask) {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		align-items: start;
		gap: 4px;
	}

	.card:not(.card--featured):not(.card--ask) .card__media {
		aspect-ratio: 1;
	}

	.card:not(.card--featured):not(.card--ask) .card__body {
		padding: 4px 4px 4px 12px;
		gap: 6px;
	}

	.card:not(.card--featured):not(.card--ask) .card__title {
		font-size: 1.125rem;
	}

	.door {
		padding: 12px 16px 12px 12px;
	}

	.door__media {
		flex-basis: 96px;
	}

	.door__title {
		font-size: 1.25rem;
	}

	.quote-form {
		grid-template-columns: 1fr;
	}

	.quote-form__footer .btn {
		width: 100%;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}
