/*
 * The whole marketing site's stylesheet. The pages ship as static HTML with no client bundle, so
 * there is no CSS-in-JS runtime here and nothing is scoped by a generated class name. Every
 * interaction is CSS — hover lifts and transitions, never a script.
 *
 * Palette values are COPIED from services/hours-fe/src/theme/themeDetails.js (customTeal /
 * statusColorsTeal) on the same footing as src/demo/demoTheme.js: the marketing service imports
 * nothing from the application, so an app theme change never silently reshapes the shop window.
 */

:root {
	--teal-50: #e9fbf6;
	--teal-100: #d1f7ee;
	--teal-200: #a8f0de;
	--teal-400: #4ecca3;
	--teal-500: #36b893;
	--teal-700: #1f8d6f;
	--teal-800: #1a775e;
	--teal-1000: #0d4a3a;

	--ink: #101917;
	--ink-soft: #46534f;
	--ink-muted: #788883;

	--page: #ffffff;
	--page-alt: #f4f9f7;
	--line: rgba(26, 119, 94, 0.16);
	--line-soft: rgba(16, 25, 23, 0.07);

	/* Layered rather than one blur: a single large shadow reads as fog, two read as a raised
	   surface with a contact edge. */
	--shadow-raised: 0 1px 1px rgba(13, 74, 58, 0.04), 0 2px 6px rgba(13, 74, 58, 0.05);
	--shadow-lifted: 0 2px 4px rgba(13, 74, 58, 0.05), 0 12px 32px -8px rgba(13, 74, 58, 0.14);
	--shadow-deep: 0 4px 8px rgba(13, 74, 58, 0.05), 0 24px 56px -12px rgba(13, 74, 58, 0.2);

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--radius-pill: 999px;

	--font: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
		sans-serif;

	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	--gutter: 24px;
	--max: 1180px;
}

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

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

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* `height: auto` is what lets the `aspect-ratio` boxes below work: an <img> carries its width and
   height attributes into CSS as presentational hints, and an explicit height beats aspect-ratio. */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--teal-800);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* Large type needs negative tracking to hold together; body text does not. */
h1,
h2,
h3 {
	margin: 0;
	line-height: 1.12;
	letter-spacing: -0.028em;
	font-weight: 600;
}

p {
	margin: 0;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.shell {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* ── Skip link ─────────────────────────────────────────────────────────── */

.skip {
	position: absolute;
	left: -9999px;
	top: 0;
	padding: 10px 16px;
	background: var(--teal-800);
	color: #fff;
	border-radius: 0 0 var(--radius-sm) 0;
	z-index: 100;
}

.skip:focus {
	left: 0;
}

/* ── Header ────────────────────────────────────────────────────────────── */

/* Opaque, not the translucent-and-blurred bar the app uses. The logo file has a white background
   of its own, so over a tinted section a see-through bar showed the logo's rectangle as a visible
   outline. */
.header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--page);
	border-bottom: 1px solid var(--line-soft);
}

/* The demo pins the product's own top bar directly below this one, and two bars fixed to the same
   edge fight each other. Only the pinning changes: the header keeps the page's centred column so
   it reads as the same bar the rest of the site has. */
.header-static {
	position: static;
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 64px;
	padding-top: 8px;
	padding-bottom: 8px;
	flex-wrap: wrap;
}

.brand {
	display: flex;
	align-items: center;
	margin-right: 12px;
}

.brand:hover {
	text-decoration: none;
}

.brand img {
	height: 26px;
	width: auto;
}

.header-nav {
	display: flex;
	align-items: center;
	gap: 2px;
	flex: 1;
	flex-wrap: wrap;
}

.header-link {
	padding: 8px 12px;
	border-radius: var(--radius-sm);
	font-size: 14.5px;
	font-weight: 500;
	color: var(--ink-soft);
	transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.header-link:hover {
	background: var(--teal-50);
	color: var(--teal-1000);
	text-decoration: none;
}

.header-link[aria-current='page'] {
	color: var(--teal-800);
	font-weight: 600;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: var(--radius-pill);
	border: 1px solid transparent;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease),
		box-shadow 0.16s var(--ease), transform 0.16s var(--ease);
}

.btn:hover {
	text-decoration: none;
}

.btn:active {
	transform: translateY(1px);
}

/* The inset highlight is what stops a flat fill reading as a coloured rectangle. */
.btn-primary {
	background: linear-gradient(180deg, var(--teal-700) 0%, var(--teal-800) 100%);
	color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), var(--shadow-raised);
}

.btn-primary:hover {
	background: linear-gradient(180deg, var(--teal-800) 0%, var(--teal-1000) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), var(--shadow-lifted);
}

.btn-secondary {
	background: #fff;
	color: var(--teal-800);
	border-color: var(--line);
	box-shadow: var(--shadow-raised);
}

.btn-secondary:hover {
	background: var(--teal-50);
	border-color: var(--teal-400);
}

.btn-quiet {
	padding: 9px 14px;
	background: transparent;
	color: var(--ink-soft);
	font-weight: 500;
}

.btn-quiet:hover {
	background: var(--teal-50);
	color: var(--ink);
}

.btn-lg {
	padding: 14px 26px;
	font-size: 16px;
}

.btn-block {
	width: 100%;
}

/* ── Sections ──────────────────────────────────────────────────────────── */

.section {
	padding: 88px 0;
}

.section-tight {
	padding: 0 0 8px;
}

.section-alt {
	background: var(--page-alt);
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
}

.eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--teal-700);
	margin-bottom: 14px;
}

.section-head {
	max-width: 680px;
	margin-bottom: 44px;
}

.section-head h2 {
	font-size: clamp(28px, 3.6vw, 40px);
}

.section-head p {
	margin-top: 14px;
	font-size: 17.5px;
	line-height: 1.5;
	color: var(--ink-soft);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */

/* Two radial washes instead of a top-to-bottom band: the colour pools behind the headline and
   behind the image and fades to page white between them, so the section has a centre of gravity
   rather than a horizon line across it. */
.hero {
	position: relative;
	padding: 84px 0 56px;
	background:
		radial-gradient(60% 70% at 12% 8%, rgba(78, 204, 163, 0.16) 0%, rgba(78, 204, 163, 0) 62%),
		radial-gradient(50% 60% at 88% 22%, rgba(26, 119, 94, 0.12) 0%, rgba(26, 119, 94, 0) 60%),
		linear-gradient(180deg, var(--teal-50) 0%, rgba(233, 251, 246, 0) 70%);
	overflow: hidden;
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 22px;
	padding: 6px 14px 6px 10px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.75);
	box-shadow: var(--shadow-raised);
	font-size: 13px;
	font-weight: 600;
	color: var(--teal-1000);
}

.hero-badge .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--teal-500);
	box-shadow: 0 0 0 3px rgba(78, 204, 163, 0.25);
}

.hero h1 {
	font-size: clamp(36px, 5.2vw, 58px);
	letter-spacing: -0.034em;
}

.hero-lede {
	margin-top: 20px;
	font-size: 19px;
	line-height: 1.52;
	color: var(--ink-soft);
	max-width: 34em;
}

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

/* Price in the hero, not only on the pricing page: at $17 the number is an argument, and a
   visitor who has to hunt for it assumes it is an enterprise quote. Composed from the catalogue
   rather than written into the copy, so a reprice moves it. */
.hero-prices {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.hero-prices li {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 9px 16px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.72);
	box-shadow: var(--shadow-raised);
}

.hero-prices .label {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--ink-soft);
}

.hero-prices .amount {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
	color: var(--teal-1000);
}

.hero-prices .per {
	font-size: 12.5px;
	color: var(--ink-muted);
}

.hero-note {
	margin-top: 18px;
	font-size: 14px;
	color: var(--ink-muted);
}

/* The image sits on an offset tinted plate. It gives the photo a shadow to land on and keeps the
   right-hand column from being a bare rectangle. */
.hero-art {
	position: relative;
}

.hero-art::before {
	content: '';
	position: absolute;
	inset: 22px -22px -22px 22px;
	border-radius: var(--radius-lg);
	background: linear-gradient(140deg, var(--teal-200) 0%, var(--teal-400) 100%);
	opacity: 0.4;
}

.hero-art img {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-deep);
	border: 1px solid rgba(255, 255, 255, 0.7);
}

/* ── OmniMLS band ──────────────────────────────────────────────────────── */

/* Two columns, not one centred block. The claim is short and the band is a full page column wide,
   so centring it left a wide tinted margin down both sides with nothing in it. A label beside the
   explanation fills the width on purpose, and the body text can range left where it reads. */
.mls-band {
	display: grid;
	/* `auto` sizes the label column to the label, so the gap between the two halves stays the gap
	   and does not grow into a gutter when the wording is short. */
	grid-template-columns: auto minmax(0, 1fr);
	gap: 20px 40px;
	align-items: center;
	padding: 28px 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(120deg, var(--teal-50) 0%, rgba(233, 251, 246, 0.35) 100%);
}

.mls-band-head {
	display: flex;
	align-items: center;
	gap: 14px;
}

/* White tile rather than a bare glyph: on a tinted ground a lone stroke icon reads as an artefact.
   The same shape the roadmap cards use, so the two sections belong to one system. */
.mls-band-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 13px;
	border: 1px solid var(--line);
	background: var(--page);
	color: var(--teal-700);
	box-shadow: var(--shadow-raised);
}

.mls-band-icon svg {
	width: 22px;
	height: 22px;
}

.mls-band h2 {
	font-size: 19px;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.mls-band p {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--ink-soft);
}

/* ── Product rows ──────────────────────────────────────────────────────── */

.product-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.product-row + .product-row {
	margin-top: 88px;
}

.product-row-reverse .product-art {
	order: -1;
}

.product-art {
	position: relative;
}

.product-art::before {
	content: '';
	position: absolute;
	inset: 20px -20px -20px 20px;
	border-radius: var(--radius-lg);
	background: linear-gradient(140deg, var(--teal-100) 0%, var(--teal-400) 100%);
	opacity: 0.32;
}

.product-row-reverse .product-art::before {
	inset: 20px 20px -20px -20px;
}

.product-art img {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lifted);
	border: 1px solid rgba(255, 255, 255, 0.7);
}

.product-copy h3 {
	font-size: clamp(24px, 2.9vw, 32px);
}

.product-copy > p {
	margin-top: 14px;
	font-size: 16.5px;
	line-height: 1.55;
	color: var(--ink-soft);
}

/* The price reads as a fact about the product, so it sits on a chip rather than floating in the
   paragraph flow. */
.price-line {
	display: inline-flex;
	align-items: baseline;
	gap: 9px;
	margin-top: 24px;
	padding: 10px 18px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--line);
	background: var(--teal-50);
}

.price-line .amount {
	font-size: 27px;
	font-weight: 600;
	letter-spacing: -0.035em;
	font-variant-numeric: tabular-nums;
	color: var(--teal-1000);
}

.price-line .per {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--teal-800);
}

.checklist {
	margin-top: 24px;
	display: grid;
	gap: 11px;
}

.checklist li {
	position: relative;
	padding-left: 30px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink-soft);
}

/* A tinted disc behind the tick, so the list has a repeating shape rather than nine loose marks. */
.checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 1px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--teal-100);
}

.checklist li::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 7px;
	width: 8px;
	height: 4px;
	border-left: 1.8px solid var(--teal-700);
	border-bottom: 1.8px solid var(--teal-700);
	transform: rotate(-45deg);
}

.product-actions {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ── Roadmap grid ──────────────────────────────────────────────────────── */

/* Four columns for eight cards — a full 2x4 block, no orphan on the last row. Recount when a tool
   leaves the roadmap: contacts did, when it moved into the website product. */
.soon-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

/* A column so the marker can be pushed to the bottom: the grid stretches every card to the
   tallest in its row, and markers floating at three different heights read as misalignment. */
.soon-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 24px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	background: var(--page);
	box-shadow: var(--shadow-raised);
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}

.soon-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lifted);
	border-color: var(--line);
}

.soon-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: linear-gradient(140deg, var(--teal-50) 0%, var(--teal-100) 100%);
	color: var(--teal-800);
}

.soon-icon svg {
	width: 20px;
	height: 20px;
}

.soon-card h3 {
	font-size: 16px;
	letter-spacing: -0.015em;
}

.soon-card p {
	margin-top: 9px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--ink-soft);
}

/* One quiet marker per card. Nine loud uppercase badges made the section read as a warning
   notice rather than a roadmap. */
.soon-flag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	padding-top: 16px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-muted);
}

.soon-flag::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--teal-400);
}

.badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--line);
	background: var(--teal-50);
	color: var(--teal-800);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

/* ── Pricing plans ─────────────────────────────────────────────────────── */

.plan-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 22px;
	max-width: 860px;
}

.plan {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--page);
	box-shadow: var(--shadow-raised);
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.plan:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lifted);
}

.plan h3 {
	font-size: 20px;
}

.plan-desc {
	margin-top: 12px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink-soft);
	min-height: 3em;
}

.plan-price {
	margin-top: 24px;
	display: flex;
	align-items: baseline;
	gap: 9px;
}

.plan-price .amount {
	font-size: 46px;
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.plan-price .per {
	font-size: 14.5px;
	color: var(--ink-muted);
}

.plan-unit {
	margin-top: 10px;
	font-size: 13.5px;
	color: var(--ink-muted);
}

.plan .checklist {
	margin-bottom: 30px;
}

.plan-cta {
	margin-top: auto;
}

.plan-foot {
	margin-top: 14px;
	font-size: 13px;
	color: var(--ink-muted);
	text-align: center;
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 32px 48px;
}

.faq-item h3 {
	font-size: 16.5px;
	letter-spacing: -0.015em;
}

.faq-item p {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink-soft);
}

/* ── Call to action band ───────────────────────────────────────────────── */

.cta {
	position: relative;
	overflow: hidden;
	padding: 56px;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-1000) 100%);
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	box-shadow: var(--shadow-deep);
}

/* A single light source in the corner, so the band is not a flat slab of green. */
.cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(70% 120% at 88% 0%, rgba(78, 204, 163, 0.34) 0%, rgba(78, 204, 163, 0) 60%);
	pointer-events: none;
}

.cta > * {
	position: relative;
}

.cta h2 {
	font-size: clamp(26px, 3.2vw, 36px);
	max-width: 22ch;
}

.cta p {
	margin-top: 12px;
	font-size: 16.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.84);
	max-width: 46ch;
}

.cta .btn-primary {
	background: #fff;
	color: var(--teal-1000);
	box-shadow: var(--shadow-lifted);
}

.cta .btn-primary:hover {
	background: var(--teal-100);
}

.cta .btn-secondary {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.42);
	box-shadow: none;
}

.cta .btn-secondary:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: #fff;
}

/* ── Footer ────────────────────────────────────────────────────────────── */

.footer {
	padding: 56px 0 40px;
	border-top: 1px solid var(--line-soft);
	background: var(--page-alt);
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 40px;
	align-items: start;
}

.footer-brand img {
	height: 26px;
	width: auto;
	margin-bottom: 14px;
}

.footer-brand p {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--ink-soft);
	max-width: 34ch;
}

.footer-col h2 {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin-bottom: 14px;
}

.footer-links {
	display: grid;
	gap: 10px;
	font-size: 14.5px;
}

.footer-links a {
	color: var(--ink-soft);
}

.footer-links a:hover {
	color: var(--teal-800);
}

.lang-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lang-link {
	padding: 6px 13px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--line);
	background: var(--page);
	font-size: 13.5px;
	color: var(--ink-soft);
	transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.lang-link:hover {
	border-color: var(--teal-400);
	text-decoration: none;
}

.lang-link[aria-current='true'] {
	background: var(--teal-800);
	border-color: var(--teal-800);
	color: #fff;
}

.footer-legal {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--line-soft);
	font-size: 13px;
	color: var(--ink-muted);
}

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
	.soon-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.hero-grid,
	.product-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.product-row-reverse .product-art {
		order: 0;
	}

	/* The offset plate needs room the narrow layout does not have. */
	.hero-art::before,
	.product-art::before,
	.product-row-reverse .product-art::before {
		inset: 16px -12px -16px 12px;
	}

	.section {
		padding: 64px 0;
	}

	.hero {
		padding: 52px 0 56px;
	}

	.product-row + .product-row {
		margin-top: 64px;
	}

	.cta {
		padding: 36px 28px;
	}

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

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 820px) {
	.mls-band {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
}

@media (max-width: 620px) {
	:root {
		--gutter: 18px;
	}

	.header-inner {
		min-height: 58px;
	}

	/* `flex: 0 0 100%` and not `width: 100%`: the base rule gives the nav `flex: 1`, which keeps it
	   on the brand's line and stacks its own links into a column instead. */
	.header-nav {
		order: 3;
		flex: 0 0 100%;
		gap: 2px;
		margin-left: -12px;
	}

	.header-actions {
		margin-left: auto;
	}

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

	.hero-actions .btn,
	.product-actions .btn {
		flex: 1 1 220px;
	}

	.mls-band {
		padding: 22px 20px;
	}

	.plan {
		padding: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition: none !important;
	}

	.soon-card:hover,
	.plan:hover,
	.btn:active {
		transform: none;
	}
}
