/* Pocketly website. Colors are the app's default palette (theme/palettes/group1.ts). */
:root {
	--display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--mono: "Geist Mono", ui-monospace, Menlo, monospace;
	--receipt: "Space Mono", ui-monospace, Menlo, monospace;

	--bezel: #0a0b0e;
	--paper: #fbfbf8;
	--ink: #1a1c21;
	--ink-soft: #74777f;

	--bg: #f4f6fa;
	--bg2: #e9ecf3;
	--card: #ffffff;
	--panel: #e4e8f0;
	--elev: #ffffff;
	--well: #f4f6fa;
	--skel: #e3e7ee;
	--fg: #101420;
	--muted: #636b7d;
	--text: #2b3140;
	--danger: #ef4444;
	--line: #e2e6ef;
	--accent: #315cff;
	--accent-soft: rgba(49, 92, 255, 0.1);
	--glow: rgba(49, 92, 255, 0.28);
	--pos: #10b981;
	--btn-bg: #101420;
	--btn-fg: #ffffff;
	--on-accent: #ffffff;
	--phone-shadow: 0 40px 70px -30px rgba(16, 20, 32, 0.45);
	--lift: 0 30px 60px -30px rgba(16, 20, 32, 0.35);
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #07090e;
		--bg2: #0b0e14;
		--card: #12151c;
		--panel: #12151c;
		--elev: #1c2029;
		--well: #242833;
		--skel: #2a2f3a;
		--fg: #eef1f7;
		--muted: #8a92a6;
		--text: #c6cbd6;
		--danger: #f87171;
		--line: #1e222b;
		--accent: #5b86ff;
		--accent-soft: rgba(91, 134, 255, 0.14);
		--glow: rgba(49, 92, 255, 0.5);
		--pos: #34d399;
		--btn-bg: #eef1f7;
		--btn-fg: #07090e;
		--phone-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.9);
		--lift: 0 40px 70px -30px rgba(0, 0, 0, 0.85);
		color-scheme: dark;
	}
}

/* ---------- Base ---------- */
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
a {
	color: inherit;
	text-decoration: none;
}
h1,
h2,
h3 {
	font-family: var(--display);
	text-wrap: balance;
	margin: 0;
}
p {
	margin: 0;
}
ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
img {
	max-width: 100%;
}
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}
.wrap {
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: clamp(16px, 5vw, 40px);
}
.money {
	font-variant-numeric: tabular-nums;
}
.money small {
	font-size: 0.5em;
	letter-spacing: -0.01em;
	opacity: 0.55;
}
.ic {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}
.eyebrow {
	font-family: var(--mono);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
}
.h2 {
	font-size: clamp(34px, 4.6vw, 54px);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -0.045em;
	margin-top: 14px;
}
.body {
	color: var(--muted);
	font-size: 18px;
	margin-top: 18px;
	max-width: 28em;
}

.phone {
	--pw: 260px;
	width: var(--pw);
	max-width: 100%;
	margin: 0;
	padding: calc(var(--pw) * 0.03);
	background: var(--bezel);
	border-radius: calc(var(--pw) * 0.17);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.1),
		var(--phone-shadow);
}
.phone img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--pw) * 0.14);
}

.nav {
	display: flex;
	align-items: center;
	gap: 28px;
	padding-block: 20px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 19px;
	letter-spacing: -0.02em;
	margin-right: auto;
}
.brand img {
	width: 30px;
	height: 30px;
	border-radius: 8px;
}
.links {
	display: flex;
	gap: 26px;
	font-size: 15px;
	color: var(--muted);
}
.links a:hover {
	color: var(--fg);
}
.btn-sm {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	background: var(--btn-bg);
	color: var(--btn-fg);
}
.stores {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.store {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	min-height: 54px;
	padding: 9px 22px;
	border-radius: 14px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	line-height: 1.15;
	transition: transform 0.15s;
}
.store:hover {
	transform: translateY(-1px);
}
.store small {
	font-size: 11px;
	opacity: 0.72;
}
.store b {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.ticks {
	display: grid;
	gap: 10px;
	margin-top: 24px;
}
.ticks li {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 15.5px;
	font-weight: 500;
}
.ticks .ic {
	color: var(--pos);
	width: 18px;
	height: 18px;
	stroke-width: 2.4;
}
.circ {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent);
	flex: none;
}

/* ---------- Hero ---------- */
.hero {
	text-align: center;
	padding-top: clamp(36px, 6vw, 80px);
}
.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 11px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 14px;
	font-weight: 500;
}
.chip i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pos);
}
.hero h1 {
	font-size: clamp(42px, 8.2vw, 96px);
	line-height: 0.98;
	font-weight: 800;
	letter-spacing: -0.055em;
	margin: 22px auto 0;
	max-width: 11em;
}
.lede {
	font-size: clamp(17px, 1.9vw, 20px);
	color: var(--muted);
	max-width: 33em;
	margin: 22px auto 0;
}
.hero .stores {
	justify-content: center;
	margin-top: 30px;
}
.fan {
	--pm: clamp(220px, 27vw, 300px);
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	height: calc(var(--pm) * 1.42);
	margin-top: clamp(44px, 6vw, 72px);
	-webkit-mask-image: linear-gradient(#000 70%, transparent);
	mask-image: linear-gradient(#000 70%, transparent);
}
.fan::before {
	content: "";
	position: absolute;
	left: 15%;
	right: 15%;
	top: 8%;
	height: 80%;
	background: radial-gradient(closest-side, var(--glow), transparent);
	filter: blur(30px);
}
.fan .phone {
	position: relative;
}
.fan .main {
	--pw: var(--pm);
	z-index: 2;
}
.fan .side {
	--pw: calc(var(--pm) * 0.84);
	margin-top: calc(var(--pm) * 0.22);
	z-index: 1;
	filter: brightness(0.82);
}
.fan .side.l {
	margin-right: calc(var(--pm) * -0.16);
}
.fan .side.r {
	margin-left: calc(var(--pm) * -0.16);
}

/* ---------- Figures ---------- */
.figs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	padding-block: clamp(44px, 6vw, 72px);
	border-bottom: 1px solid var(--line);
}
.figs .money {
	font-size: clamp(44px, 5.4vw, 64px);
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.05em;
}
.figs p + p {
	color: var(--muted);
	font-size: 15px;
	margin-top: 10px;
	max-width: 22em;
}

/* ---------- Feature rows ---------- */
.row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
	padding-block: clamp(56px, 8vw, 112px) 0;
}
.row.rev .copy {
	order: 2;
}
.shot {
	position: relative;
	background: var(--card);
	border-radius: 36px;
	height: clamp(420px, 50vw, 580px);
	overflow: hidden;
}
.shot::before {
	content: "";
	position: absolute;
	left: 5%;
	right: 5%;
	bottom: -35%;
	height: 80%;
	background: radial-gradient(closest-side, var(--glow), transparent);
}
.shot .phone {
	--pw: clamp(220px, 24vw, 280px);
	position: absolute;
	left: 50%;
	top: 52px;
	transform: translateX(-50%);
}

/* ---------- Scan demo ---------- */
.row.scan {
	grid-template-columns: 0.8fr 1.2fr;
}
.demo-panel {
	position: relative;
	container: demo / inline-size;
	background: var(--panel);
	border-radius: 36px;
	padding: clamp(32px, 4vw, 48px) clamp(16px, 3vw, 36px) clamp(24px, 3vw, 32px);
	overflow: hidden;
}
.demo-panel::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -40%;
	height: 80%;
	background: radial-gradient(closest-side, var(--glow), transparent);
	pointer-events: none;
}
/* Narrow panel: the expense card sits under the receipt. Wide panel: beside
   it, overlapping only the receipt's blank right margin so the total stays
   visible. */
.demo {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: end;
}
.rwrap {
	position: relative;
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	width: min(100%, 240px);
	transform: rotate(-2.5deg);
	filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.3));
	z-index: 1;
}
.receipt {
	background: var(--paper);
	color: var(--ink);
	font: 400 11.5px / 1.65 var(--receipt);
	padding: 30px 24px 36px;
	-webkit-mask:
		conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top
		/ 14px 51% repeat-x,
		conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg)
		bottom / 14px 51% repeat-x;
	mask:
		conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top
		/ 14px 51% repeat-x,
		conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg)
		bottom / 14px 51% repeat-x;
}
.r-head {
	text-align: center;
}
.r-head strong {
	display: block;
	font-size: 15px;
	letter-spacing: 0.06em;
}
.r-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}
.r-row span:first-child {
	min-width: 0;
}
.r-sep {
	border-top: 1.5px dashed var(--ink-soft);
	opacity: 0.55;
	margin-block: 10px;
}
.r-total {
	font-weight: 700;
	font-size: 14px;
}
.r-soft {
	color: var(--ink-soft);
}
.hl {
	display: inline-block;
	padding: 0 4px;
	margin: 0 -4px;
	border-radius: 3px;
	transition:
		box-shadow 0.25s,
		background-color 0.25s;
}
.hl.hit {
	box-shadow: 0 0 0 1.5px var(--accent);
	background: color-mix(in srgb, var(--accent) 13%, transparent);
}
.bk {
	position: absolute;
	width: 22px;
	height: 22px;
	border: 0 solid var(--accent);
	opacity: 0.9;
}
.bk.tl {
	top: -12px;
	left: -12px;
	border-top-width: 3px;
	border-left-width: 3px;
	border-top-left-radius: 8px;
}
.bk.tr {
	top: -12px;
	right: -12px;
	border-top-width: 3px;
	border-right-width: 3px;
	border-top-right-radius: 8px;
}
.bk.bl {
	bottom: -12px;
	left: -12px;
	border-bottom-width: 3px;
	border-left-width: 3px;
	border-bottom-left-radius: 8px;
}
.bk.br {
	bottom: -12px;
	right: -12px;
	border-bottom-width: 3px;
	border-right-width: 3px;
	border-bottom-right-radius: 8px;
}
.scanline {
	position: absolute;
	left: -8px;
	right: -8px;
	top: 0;
	height: 3px;
	border-radius: 3px;
	background: var(--accent);
	box-shadow: 0 0 18px 3px color-mix(in srgb, var(--accent) 55%, transparent);
	opacity: 0;
	pointer-events: none;
}
.scanline::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 3px;
	height: 70px;
	background: linear-gradient(
		to top,
		color-mix(in srgb, var(--accent) 24%, transparent),
		transparent
	);
}
.demo[data-state="scanning"] .scanline {
	opacity: 1;
	animation: sweep 1.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) forwards;
}
@keyframes sweep {
	from {
		top: 0;
	}
	to {
		top: calc(100% - 3px);
	}
}

.exp {
	grid-column: 1;
	grid-row: 2;
	justify-self: end;
	width: min(100%, 300px);
	margin-top: -28px;
	z-index: 2;
	background: var(--elev);
	border-radius: 24px;
	padding: 16px 16px 18px;
	box-shadow: var(--lift);
}
@container demo (min-width: 500px) {
	.demo {
		grid-template-columns: 240px minmax(0, 1fr);
	}
	.exp {
		grid-column: 2;
		grid-row: 1;
		justify-self: stretch;
		width: auto;
		margin: 0 0 -12px -8px;
	}
}
.exp-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 15px;
}
.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 500 10.5px / 1 var(--mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	background: var(--accent-soft);
	padding: 6px 9px;
	border-radius: 999px;
}
.badge .ic {
	width: 12px;
	height: 12px;
}
.amt {
	font-weight: 800;
	font-size: clamp(40px, 4.6vw, 50px);
	letter-spacing: -0.05em;
	line-height: 1;
	margin-block: 16px 14px;
}
.exp dl {
	margin: 0;
	display: grid;
	gap: 2px;
	border-radius: 14px;
	overflow: hidden;
}
.exp dl div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 12px;
	background: var(--well);
	font-size: 14.5px;
}
.exp dt {
	color: var(--muted);
}
.exp dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
	min-width: 0;
}
.dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #22c55e;
	margin-right: 7px;
	vertical-align: 1px;
}
.save {
	margin-top: 14px;
	border-radius: 999px;
	background: var(--accent);
	color: var(--on-accent);
	text-align: center;
	font-weight: 600;
	font-size: 15px;
	padding: 13px;
}
.val {
	transition:
		color 0.3s,
		background-color 0.3s;
	border-radius: 6px;
}
.val:not(.on) {
	color: transparent;
	background: var(--skel);
}
.val:not(.on) * {
	visibility: hidden;
}
.replay {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
	font: 500 12px / 1 var(--mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fg);
	background: var(--elev);
	border: 0;
	padding: 12px 16px;
	border-radius: 999px;
	cursor: pointer;
	box-shadow: 0 1px 0 var(--line);
}
.replay:disabled {
	opacity: 0.5;
	cursor: default;
}
.replay .ic {
	width: 16px;
	height: 16px;
	color: var(--accent);
}

/* ---------- Tiles ---------- */
.tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding-block: clamp(64px, 9vw, 120px);
}
.tiles-head {
	grid-column: 1 / -1;
	margin-bottom: 16px;
}
.tiles-head h2 {
	font-size: clamp(30px, 3.8vw, 44px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.05;
	margin-top: 12px;
}
.tile {
	background: var(--card);
	border-radius: 24px;
	padding: 26px;
	display: grid;
	gap: 8px;
	align-content: start;
}
.tile .circ {
	margin-bottom: 10px;
}
.tile h3 {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.tile p {
	color: var(--muted);
	font-size: 15px;
}

/* ---------- Privacy ---------- */
.privacy {
	background: var(--bg2);
}
.priv {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(32px, 6vw, 72px);
	padding-block: clamp(64px, 9vw, 112px);
	align-items: start;
}
.plist {
	display: grid;
	gap: 8px;
}
.pli {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 16px;
	align-items: start;
	padding: 18px 20px;
	border-radius: 20px;
	background: var(--card);
}
.pli b {
	display: block;
	font-size: 16px;
	letter-spacing: -0.01em;
}
.pli div span {
	color: var(--muted);
	font-size: 15px;
}

/* ---------- Price ---------- */
.price {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
	padding-block: clamp(72px, 10vw, 128px);
	/* The glow behind the receipt is this section's background, centred on
	   the receipt column. It used to be a layer hanging off the receipt,
	   which on phones reached past the screen and made the page scroll
	   sideways; a background is painted inside the section and can't. */
	background: radial-gradient(288px 392px at 75% 50%, var(--glow), transparent)
		no-repeat;
}
.price .rwrap {
	grid-column: auto;
	grid-row: auto;
	justify-self: center;
	width: min(100%, 360px);
	transform: rotate(1.5deg);
}
.price .receipt {
	font-size: 12px;
}
.price .stores {
	margin-top: 28px;
}
.fine {
	color: var(--muted);
	font-size: 14px;
	margin-top: 14px;
}
.barcode {
	height: 46px;
	margin-top: 16px;
	background: repeating-linear-gradient(
		90deg,
		var(--ink) 0 2px,
		transparent 2px 4px,
		var(--ink) 4px 5px,
		transparent 5px 8px,
		var(--ink) 8px 11px,
		transparent 11px 12px,
		var(--ink) 12px 13px,
		transparent 13px 17px
	);
}

.foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
	padding-block: 28px 36px;
	color: var(--muted);
	font-size: 14px;
	border-top: 1px solid var(--line);
}
.foot .brand {
	font-size: 16px;
	color: var(--fg);
}
.foot .brand img {
	width: 24px;
	height: 24px;
	border-radius: 6px;
}
.foot nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
}
.foot a:hover {
	color: var(--fg);
}
.foot .langs {
	flex-basis: 100%;
	gap: 6px 18px;
	font-size: 13px;
}
.foot .langs a[aria-current] {
	color: var(--fg);
	font-weight: 600;
}
.links a[aria-current="page"] {
	color: var(--fg);
}

/* ---------- Text pages (privacy, help) ---------- */
.doc {
	max-width: 780px;
	padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px);
	color: var(--text);
}
.doc-head {
	padding-bottom: 28px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--line);
}
.doc-head h1 {
	font-size: clamp(38px, 6vw, 58px);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -0.045em;
	color: var(--fg);
	margin-top: 14px;
}
.doc-head .meta {
	color: var(--muted);
	font-size: 15px;
	margin-top: 14px;
}
.doc h2 {
	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--fg);
	margin: 44px 0 12px;
}
.doc h3 {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--fg);
	margin: 26px 0 8px;
}
.doc p + p,
.doc ul + p {
	margin-top: 12px;
}
.doc ul {
	list-style: disc;
	padding-left: 1.3em;
	display: grid;
	gap: 8px;
	margin-top: 8px;
}
.doc li::marker {
	color: var(--muted);
}
.doc strong {
	color: var(--fg);
}
.doc a:not(.store) {
	color: var(--accent);
}
.doc a:not(.store):hover {
	text-decoration: underline;
}
.doc code {
	font-family: var(--mono);
	font-size: 0.88em;
	background: var(--card);
	padding: 0.1em 0.4em;
	border-radius: 6px;
}
.note {
	background: var(--accent-soft);
	border-radius: 16px;
	padding: 16px 18px;
	margin-block: 20px;
	color: var(--fg);
}
.table-wrap {
	overflow-x: auto;
	margin-block: 16px;
	border-radius: 16px;
	background: var(--card);
}
.doc table {
	width: 100%;
	min-width: 540px;
	border-collapse: collapse;
	font-size: 14.5px;
	line-height: 1.5;
}
.doc th {
	text-align: left;
	font-weight: 600;
	color: var(--fg);
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
}
.doc td {
	padding: 12px 14px;
	vertical-align: top;
	border-top: 1px solid var(--line);
}

/* ---------- Support form ---------- */
.form {
	display: grid;
	gap: 16px;
	margin-top: 16px;
	background: var(--card);
	border-radius: 24px;
	padding: clamp(20px, 4vw, 28px);
}
.field {
	display: grid;
	gap: 6px;
}
.field label {
	font-size: 14px;
	font-weight: 600;
	color: var(--fg);
}
.field input,
.field textarea {
	width: 100%;
	font: inherit;
	font-size: 16px;
	color: var(--fg);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 12px 14px;
}
.field input::placeholder,
.field textarea::placeholder {
	color: var(--muted);
	opacity: 0.8;
}
.field input:focus,
.field textarea:focus {
	outline: 2px solid var(--accent);
	outline-offset: 0;
	border-color: transparent;
}
.field textarea {
	min-height: 160px;
	resize: vertical;
}
.honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.btn {
	justify-self: start;
	font: 600 15px / 1 var(--body);
	color: var(--on-accent);
	background: var(--accent);
	border: 0;
	border-radius: 999px;
	padding: 15px 24px;
	cursor: pointer;
}
.btn:disabled {
	opacity: 0.6;
	cursor: default;
}
.status {
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 15px;
	color: var(--fg);
}
.status.ok {
	background: color-mix(in srgb, var(--pos) 16%, transparent);
}
.status.err {
	background: color-mix(in srgb, var(--danger) 16%, transparent);
}

/* ---------- Narrow screens ---------- */
@media (max-width: 900px) {
	.figs {
		grid-template-columns: repeat(2, 1fr);
	}
	.tiles {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 760px) {
	.links {
		display: none;
	}
	.row,
	.row.scan,
	.priv,
	.price {
		grid-template-columns: 1fr;
	}
	.row.rev .copy {
		order: 0;
	}
	/* One column: the receipt sits under the copy. */
	.price {
		background-image: radial-gradient(
			240px 360px at 50% 70%,
			var(--glow),
			transparent
		);
	}
	.shot {
		height: clamp(380px, 118vw, 540px);
	}
	.shot .phone {
		--pw: min(60vw, 270px);
	}
	.fan .side {
		display: none;
	}
	.fan {
		--pm: min(64vw, 280px);
	}
}
@media (max-width: 520px) {
	.tiles {
		grid-template-columns: 1fr;
	}
	.figs {
		gap: 28px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.scanline {
		display: none;
	}
	.hl,
	.val,
	.store {
		transition: none;
	}
}
