/* FORK FILE. BlueWhiteNile landing. Every part follows the theme; the closing band is navy in both. Ideas: RESEARCH.md. */

@font-face {
	font-family: "BWN Arabic";
	src: url("/fonts/noto-sans-arabic.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range:
		U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
	font-family: "BWN Inter";
	src: url("/fonts/inter.woff2") format("woff2");
	font-weight: 400 900;
	font-display: swap;
}
@font-face {
	font-family: "BWN Mono";
	src: url("/fonts/geist-mono.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

:root {
	color-scheme: light;
	--navy: #030c1d;
	--blue: #0569f5;
	--blue-hi: #3b8bff;
	--bg: #ffffff;
	--bg-2: #f7f9fc;
	--surface: #ffffff;
	--ink: #0b1220;
	--muted: #3f4b62;
	--line: #e5e9f0;
	--hover: #f3f6fa;
	--link: #0453c7;
	--accent: #0569f5;
	--btn-bg: #030c1d;
	--btn-fg: #ffffff;
	--btn-hover: #14233f;
	--code-bg: #fbfcfe;
	--code-ink: #1d2740;
	--code-k: #0a58d0;
	--code-s: #0d7a4c;
	--code-c: #8a94a8;
	--nile-white-a: #b8c9e8;
	--nile-white-b: #7f9ccc;
	--nile-op: 0.6;
	--radius: 12px;
	--font:
		"BWN Inter", "BWN Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "BWN Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		color-scheme: dark;
		--bg: #030c1d;
		--bg-2: #050f24;
		--surface: #06142e;
		--ink: #eaf2ff;
		--muted: #b8c5da;
		--line: #15284b;
		--hover: #0a1d40;
		--link: #6aa6ff;
		--accent: #3b8bff;
		--btn-bg: #ffffff;
		--btn-fg: #030c1d;
		--btn-hover: #dfe8f8;
		--code-bg: rgba(2, 9, 24, 0.88);
		--code-ink: #dbe6fa;
		--code-k: #7fb3ff;
		--code-s: #a7e3c4;
		--code-c: #627aa3;
		--nile-white-a: #dde9ff;
		--nile-white-b: #ffffff;
		--nile-op: 1;
	}
}
:root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #030c1d;
	--bg-2: #050f24;
	--surface: #06142e;
	--ink: #eaf2ff;
	--muted: #b8c5da;
	--line: #15284b;
	--hover: #0a1d40;
	--link: #6aa6ff;
	--accent: #3b8bff;
	--btn-bg: #ffffff;
	--btn-fg: #030c1d;
	--btn-hover: #dfe8f8;
	--code-bg: rgba(2, 9, 24, 0.88);
	--code-ink: #dbe6fa;
	--code-k: #7fb3ff;
	--code-s: #a7e3c4;
	--code-c: #627aa3;
	--nile-white-a: #dde9ff;
	--nile-white-b: #ffffff;
	--nile-op: 1;
}

* {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
:lang(ar) body {
	font-family: "BWN Arabic", "BWN Inter", system-ui, sans-serif;
}
a {
	color: inherit;
}
h1,
h2,
h3 {
	margin: 0;
	line-height: 1.12;
	letter-spacing: -0.03em;
	font-weight: 700;
}
:lang(ar) h1,
:lang(ar) h2,
:lang(ar) h3 {
	letter-spacing: 0;
	line-height: 1.35;
}
svg {
	flex-shrink: 0;
}
:dir(rtl) .flip,
[dir="rtl"] .flip {
	transform: scaleX(-1);
}
code,
pre {
	font-family: var(--mono);
}
:focus-visible {
	outline: 2px solid var(--blue-hi);
	outline-offset: 2px;
}
.wrap {
	width: min(1200px, 100% - 32px);
	margin-inline: auto;
}
.skip {
	position: absolute;
	inset-inline-start: 16px;
	top: -60px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	padding: 8px 14px;
	border-radius: 8px;
	z-index: 50;
}
.skip:focus {
	top: 12px;
}

/* ---------- wordmark ---------- */
.wordmark {
	height: 30px;
	width: auto;
	display: block;
}
.wm-sq {
	fill: var(--navy);
	stroke: #2c4f8c;
	stroke-width: 1.5;
}
.wm-l {
	fill: #fff;
}
.wm-b {
	fill: var(--accent);
}
.wm-i {
	fill: currentColor;
}
.closer .wm-b {
	fill: var(--blue-hi);
}

/* ---------- header (follows the theme, hairline under it) ---------- */
.top {
	position: sticky;
	top: 0;
	z-index: 20;
	background: color-mix(in srgb, var(--bg) 86%, transparent);
	backdrop-filter: blur(14px) saturate(1.4);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	border-bottom: 1px solid var(--line);
}
.top-row {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 64px;
}
.brand {
	display: flex;
	color: inherit;
	text-decoration: none;
	direction: ltr;
}
/* «Beta» beside the wordmark: hairline, ink text, no colour; tip below the logo on hover/focus. */
.brand-box {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}
.beta {
	padding: 1px 6px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--surface);
	color: var(--ink);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 16px;
	cursor: default;
	white-space: nowrap;
}
.beta:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}
.beta::after {
	content: attr(data-tip);
	display: none;
	position: absolute;
	inset-inline-start: 0;
	top: calc(100% + 8px);
	z-index: 60;
	padding: 6px 10px;
	border-radius: 6px;
	background: var(--ink);
	color: var(--bg);
	font-size: 12.5px;
	font-weight: 500;
	white-space: nowrap;
	pointer-events: none;
}
/* Hidden with display, not opacity: a hidden tip must not widen a phone page. */
.beta:hover::after,
.beta:focus::after {
	display: block;
}
.nav {
	display: flex;
	gap: 24px;
	font-size: 14.5px;
}
.nav a {
	color: var(--muted);
	text-decoration: none;
	padding-block: 6px;
	border-bottom: 2px solid transparent;
}
.nav a:hover {
	color: var(--ink);
}
.nav a[aria-current="true"] {
	color: var(--ink);
	border-bottom-color: var(--accent);
}
.tools {
	margin-inline-start: auto;
	display: flex;
	align-items: center;
	gap: 6px;
}
.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	border: 1px solid transparent;
	background: transparent;
	color: var(--muted);
	font: 600 14px/1 var(--font);
	text-decoration: none;
	cursor: pointer;
}
.icon-btn:hover {
	background: var(--hover);
	color: var(--ink);
}
.icon-btn svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.lang {
	font-family: "BWN Arabic", "BWN Inter", sans-serif;
	font-size: 15px;
}
/* The theme button shows the theme it is in. */
.theme svg:nth-child(2) {
	display: none;
}
:root[data-theme="dark"] .theme svg:nth-child(1) {
	display: none;
}
:root[data-theme="dark"] .theme svg:nth-child(2) {
	display: block;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme svg:nth-child(1) {
		display: none;
	}
	:root:not([data-theme="light"]) .theme svg:nth-child(2) {
		display: block;
	}
}
.signin {
	color: var(--ink);
	text-decoration: none;
	font-size: 14.5px;
	padding: 7px 12px;
	border-radius: 8px;
}
.signin:hover {
	background: var(--hover);
}

/* ---------- buttons: ink primary, as on the sites in RESEARCH.md ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 36px;
	padding-inline: 14px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14.5px;
	text-decoration: none;
	white-space: nowrap;
	border: 1px solid transparent;
	transition: background 0.15s;
}
.btn svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.btn-primary {
	background: var(--btn-bg);
	color: var(--btn-fg);
}
.btn-primary:hover {
	background: var(--btn-hover);
}
/* White on the navy closing band in both themes. */
.btn-invert {
	background: #fff;
	color: var(--navy);
}
.btn-invert:hover {
	background: #dfe8f8;
}
.btn-lg {
	height: 48px;
	padding-inline: 22px;
	font-size: 16px;
	border-radius: 10px;
}

/* ---------- hero ---------- */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: 104px 112px;
	border-bottom: 1px solid var(--line);
}
.nile {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}
.hero .nile {
	opacity: var(--nile-op);
}
/* The words side stays calm; the rivers show on the far side. */
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		90deg,
		var(--bg) 0%,
		color-mix(in srgb, var(--bg) 70%, transparent) 42%,
		color-mix(in srgb, var(--bg) 10%, transparent) 100%
	);
}
[dir="rtl"] .hero::after {
	background: linear-gradient(
		270deg,
		var(--bg) 0%,
		color-mix(in srgb, var(--bg) 70%, transparent) 42%,
		color-mix(in srgb, var(--bg) 10%, transparent) 100%
	);
}
.nw-glow {
	stroke: var(--nile-white-a);
}
.flow {
	stroke-width: 2.6;
	stroke-dasharray: 1.5 26;
	animation: flow 5.5s linear infinite;
}
.fb {
	stroke: #9cc8ff;
}
.fw {
	stroke: var(--nile-white-b);
}
.f2 {
	animation-duration: 8s;
	stroke-dasharray: 1.5 41;
	opacity: 0.7;
}
@keyframes flow {
	to {
		stroke-dashoffset: -330;
	}
}
@media (prefers-reduced-motion: reduce) {
	.flow {
		animation: none;
	}
	html {
		scroll-behavior: auto;
	}
}
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
	gap: 64px;
	align-items: center;
}
.hero h1 {
	font-size: clamp(44px, 6vw, 80px);
	display: flex;
	flex-direction: column;
}
.hero h1 .accent {
	color: var(--accent);
}
.sub {
	font-size: 19px;
	color: var(--muted);
	margin: 20px 0 32px;
	max-width: 34ch;
}
.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.stats {
	list-style: none;
	padding: 0;
	margin: 48px 0 0;
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}
.stats li {
	display: flex;
	flex-direction: column;
	color: var(--muted);
	font-size: 13.5px;
}
.stats b {
	font-size: 28px;
	color: var(--ink);
	font-weight: 650;
	line-height: 1.2;
	font-family: "BWN Inter", sans-serif;
	letter-spacing: -0.02em;
}

/* ---------- code panel (follows the theme) ---------- */
.code {
	background: var(--code-bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 24px 60px -32px rgba(3, 12, 29, 0.35);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	min-width: 0;
	direction: ltr;
	overflow: hidden;
}
.code-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 6px 0 12px;
	border-bottom: 1px solid var(--line);
}
.code-tabs {
	display: flex;
	gap: 2px;
	flex: 1;
}
.code-tabs button,
.code-models button {
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	color: var(--muted);
	font: 500 13.5px/1 var(--font);
	padding: 12px 10px 11px;
	cursor: pointer;
}
.code-tabs button:hover,
.code-models button:hover {
	color: var(--ink);
}
.code-tabs button[aria-selected="true"],
.code-models button[aria-pressed="true"] {
	color: var(--ink);
	border-bottom-color: var(--accent);
}
.code-panel pre {
	margin: 0;
	padding: 20px 22px 24px;
	/* Scrolls sideways on a phone; the empty space past the end lets the last character clear the edge. */
	overflow-x: auto;
	font-size: 13px;
	line-height: 1.75;
	color: var(--code-ink);
	scrollbar-color: var(--line) transparent;
}
.code-panel code {
	display: inline-block;
	padding-inline-end: 30%;
}
.code .k {
	color: var(--code-k);
}
.code .s {
	color: var(--code-s);
}
.code .c {
	color: var(--code-c);
}
.code-models {
	display: flex;
	gap: 2px;
	padding: 0 12px;
	border-top: 1px solid var(--line);
}
.code-models button {
	border-bottom: 0;
	border-top: 2px solid transparent;
	padding: 11px 10px 12px;
}
.code-models button[aria-pressed="true"] {
	border-top-color: var(--accent);
}
/* Copy buttons show a check after copying. */
.icon-btn svg:nth-child(2),
.copy-state svg:nth-child(2) {
	display: none;
}
.done svg:nth-child(1),
.done .copy-state svg:nth-child(1) {
	display: none;
}
.done svg:nth-child(2),
.done .copy-state svg:nth-child(2) {
	display: block;
}
/* ---------- bands ---------- */
.band {
	padding-block: 96px;
}
.band-alt {
	background: var(--bg-2);
	border-block: 1px solid var(--line);
}
.band h2,
.pricing h2 {
	font-size: clamp(28px, 3.2vw, 38px);
}
.band-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}
.unit {
	margin: 14px 0 0;
	color: var(--muted);
	font-size: 13px;
}

/* ---------- model list: hairline rows, the whole row copies the model id ---------- */
.mlist ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
}
.mhead,
.mrow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 110px 90px 90px 90px 28px;
	align-items: center;
	gap: 16px;
	padding-inline: 14px;
}
.mhead {
	padding-block: 0 10px;
	font-size: 13px;
	color: var(--muted);
}
.mhead span:nth-child(n + 3),
.mrow .num-cell {
	text-align: end;
}
.mlist li {
	border-bottom: 1px solid var(--line);
}
.mrow {
	all: unset;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 110px 90px 90px 90px 28px;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 18px 14px;
	cursor: copy;
	text-align: start;
	transition: background 0.15s;
}
.mrow:hover {
	background: var(--hover);
}
.mrow:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: -2px;
}
.mrow.done {
	background: var(--hover);
	box-shadow: inset 3px 0 0 var(--accent);
}
[dir="rtl"] .mrow.done {
	box-shadow: inset -3px 0 0 var(--accent);
}
.mname {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	column-gap: 12px;
	min-width: 0;
}
.mname .name {
	font-size: 17px;
	font-weight: 650;
}
.mname code {
	font-size: 12.5px;
	color: var(--muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.prov {
	color: var(--muted);
	font-size: 14px;
}
.num-cell {
	font-weight: 600;
	font-size: 15.5px;
	font-variant-numeric: tabular-nums;
}
.copy-state {
	display: grid;
	place-items: center;
	color: var(--muted);
}
.copy-state svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.mrow.done .copy-state {
	color: var(--accent);
}
.more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--link);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}
.more svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.more:hover {
	text-decoration: underline;
}

/* ---------- steps: numbers on one line, no boxes ---------- */
.steps {
	list-style: none;
	padding: 0;
	margin: 40px 0 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	position: relative;
}
.steps::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 17px;
	border-top: 1px solid var(--line);
}
.steps li {
	position: relative;
}
.num {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--bg-2);
	border: 1px solid var(--line);
	color: var(--accent);
	font:
		650 15px/1 "BWN Inter",
		sans-serif;
	margin-bottom: 22px;
	box-shadow: 0 0 0 8px var(--bg-2);
}
.steps h3,
.feats h3 {
	font-size: 18px;
	font-weight: 650;
	letter-spacing: -0.01em;
}
.steps p,
.feats p {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 15px;
}

/* features */
.feats {
	list-style: none;
	padding: 0;
	margin: 40px 0 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}
.feats li {
	padding-top: 22px;
	border-top: 1px solid var(--line);
}
.feat-icon {
	display: block;
	color: var(--accent);
	margin-bottom: 14px;
}
.feat-icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* closing band: navy in both themes */
.closer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--navy);
	color: #fff;
	padding-block: 104px;
	--nile-white-a: #dde9ff;
	--nile-white-b: #ffffff;
}
.closer .nile {
	opacity: 0.75;
}
.closer::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(3, 12, 29, 0.45);
}
.closer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.closer h2 {
	font-size: clamp(32px, 4.4vw, 56px);
}

/* footer */
.foot {
	border-top: 1px solid var(--line);
	padding-block: 36px 48px;
	color: var(--muted);
	font-size: 14px;
}
.foot .brand {
	color: var(--ink);
}
.foot .wordmark {
	height: 24px;
}
.foot-row {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}
.foot-links {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
}
.foot-links a {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.foot-links a:hover {
	color: var(--ink);
}
.wa svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linejoin: round;
}
.rights {
	margin: 0;
	margin-inline-start: auto;
}

/* ---------- pricing page ---------- */
.page main {
	min-height: 60vh;
}
.pricing {
	padding-block: 56px 80px;
}
.pricing h1 {
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 800;
}
.note {
	color: var(--muted);
	margin: 10px 0 40px;
}
.pricing h2 {
	margin: 40px 0 16px;
	font-size: 24px;
}
.prices-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}
.prices-table th {
	text-align: start;
	font-weight: 500;
	color: var(--muted);
	font-size: 13px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--line);
}
.prices-table thead th:not(:first-child),
.prices-table td:not(:first-child) {
	text-align: end;
	width: 15%;
	white-space: nowrap;
}
.prices-table .group th {
	padding-top: 26px;
	color: var(--ink);
	font-weight: 700;
	font-size: 15px;
}
.prices-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
	font-weight: 600;
}
.row {
	cursor: copy;
}
.row:hover {
	background: var(--hover);
}
.row.done {
	background: var(--hover);
	box-shadow: inset 3px 0 0 var(--blue);
}
[dir="rtl"] .row.done {
	box-shadow: inset -3px 0 0 var(--blue);
}
.row .m {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 12px;
}
.row .m code {
	font-size: 12.5px;
	color: var(--muted);
	font-weight: 400;
}
.ends {
	font-size: 12px;
	font-weight: 500;
	color: var(--muted);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 0 6px;
}
.lost {
	padding-block: 120px;
	text-align: center;
}
.lost h1 {
	font-size: 40px;
}
.lost p {
	color: var(--muted);
	margin-bottom: 28px;
}

.nw-a {
	stop-color: var(--nile-white-a);
}
.nw-b {
	stop-color: var(--nile-white-b);
}

/* ---------- narrower ---------- */
@media (max-width: 1080px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}
	.mhead,
	.mrow {
		grid-template-columns: minmax(0, 1fr) 80px 80px 80px 24px;
	}
	.mhead span:nth-child(2),
	.mrow .prov {
		display: none;
	}
}
@media (max-width: 760px) {
	.nav,
	.top-cta {
		display: none;
	}
	/* The «Beta» tag needs the room on a 360 px phone. */
	.top-row {
		gap: 8px;
	}
	.signin {
		padding-inline: 8px;
	}
	.top-row {
		height: 58px;
	}
	.wordmark {
		height: 24px;
	}
	.hero {
		padding-block: 48px 56px;
	}
	.hero::after {
		background: linear-gradient(
			180deg,
			var(--bg) 0%,
			color-mix(in srgb, var(--bg) 75%, transparent) 55%,
			color-mix(in srgb, var(--bg) 35%, transparent) 100%
		);
	}
	.sub {
		font-size: 17px;
	}
	.stats {
		gap: 28px;
		margin-top: 36px;
	}
	.stats b {
		font-size: 24px;
	}
	.band {
		padding-block: 64px;
	}
	/* A model row: name and id on top, the three numbers under it. */
	.mhead {
		display: none;
	}
	.mrow {
		grid-template-columns: repeat(3, minmax(0, auto)) 1fr;
		justify-content: start;
		column-gap: 24px;
		row-gap: 8px;
		padding: 16px 4px;
	}
	.mrow .num-cell {
		text-align: start;
	}
	.mrow .num-cell::before {
		content: attr(data-label);
		display: block;
		font-size: 12px;
		font-weight: 400;
		color: var(--muted);
	}
	.mrow .copy-state {
		grid-row: 1;
		grid-column: -2;
		justify-self: end;
	}
	.mname {
		grid-column: 1 / -2;
	}
	.steps,
	.feats {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.steps::before {
		inset-inline-start: 17px;
		inset-inline-end: auto;
		top: 0;
		bottom: 0;
		border-top: 0;
		border-inline-start: 1px solid var(--line);
	}
	.steps li {
		padding-inline-start: 56px;
	}
	.num {
		position: absolute;
		inset-inline-start: 0;
		top: 0;
		margin: 0;
	}
	.btn-lg {
		flex: 1 1 auto;
	}
	.closer {
		padding-block: 72px;
	}
	.closer .btn {
		width: 100%;
	}
	.rights {
		margin-inline-start: 0;
		width: 100%;
	}
	/* Each price row becomes a block: name on top, the numbers in a row under it. */
	.prices-table thead {
		display: none;
	}
	.prices-table,
	.prices-table tbody {
		display: block;
	}
	.prices-table tr.row {
		display: grid;
		grid-template-columns: repeat(3, auto);
		justify-content: start;
		column-gap: 22px;
		padding: 14px 4px;
		border-bottom: 1px solid var(--line);
	}
	.prices-table.no-out tr.row {
		grid-template-columns: repeat(2, auto);
	}
	.prices-table tr.group {
		display: block;
	}
	.prices-table .group th {
		display: block;
		padding-inline: 4px;
	}
	.prices-table td {
		border: 0;
		padding: 0;
		width: auto !important;
		text-align: start !important;
	}
	.prices-table td.m {
		grid-column: 1 / -1;
		margin-bottom: 8px;
	}
	.prices-table td[data-label]::before {
		content: attr(data-label);
		display: block;
		font-size: 12px;
		font-weight: 400;
		color: var(--muted);
	}
}
