@font-face {
	font-family: Cairo;
	src: url("/fonts/Cairo-Regular.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: Cairo;
	src: url("/fonts/Cairo-SemiBold.ttf") format("truetype");
	font-weight: 600;
	font-display: swap;
}
@font-face {
	font-family: Cairo;
	src: url("/fonts/Cairo-ExtraBold.ttf") format("truetype");
	font-weight: 800;
	font-display: swap;
}

/* The app's own tokens (src/theme/tokens.json). */
:root {
	--night: #011745;
	--canvas: #f3f5f9;
	--surface: #ffffff;
	--ink: #17212b;
	--ink-soft: #4a5868;
	--muted: #626f81;
	--border: #e5e9f0;
	--teal: #0e7c86;
	--track: #e9edf3;
	--measure: 1080px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font: 400 17px/1.65 Cairo, system-ui, sans-serif;
	color: var(--ink);
	background: var(--canvas);
}

a {
	color: var(--teal);
	text-underline-offset: 3px;
}

:focus-visible {
	outline: 3px solid #5ee0c9;
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3 {
	line-height: 1.2;
	margin: 0;
}

.wrap {
	max-width: var(--measure);
	margin: 0 auto;
	padding: 0 24px;
}

/* Header: brand on the start side, language switch on the end side. */
.top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 20px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	text-decoration: none;
	font-weight: 800;
	font-size: 20px;
}
.brand img {
	width: 40px;
	height: 40px;
	border-radius: 10px;
}
.lang {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	padding: 6px 14px;
	border: 1px solid rgb(255 255 255 / 0.35);
	border-radius: 999px;
}
.lang:hover {
	background: rgb(255 255 255 / 0.1);
}

/* Hero: night navy from the app icon; the gauge is the one bold element. */
.hero {
	background: var(--night);
	color: #fff;
	padding-bottom: 72px;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 48px;
	align-items: center;
	padding-top: 32px;
}
.hero h1 {
	font-size: clamp(36px, 5.2vw, 58px);
	font-weight: 800;
	letter-spacing: -0.01em;
	max-width: 20ch;
}
.hero p {
	color: #c9d6ee;
	font-size: 19px;
	max-width: 46ch;
	margin: 20px 0 32px;
}
.stores {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.store {
	display: inline-flex;
	flex-direction: column;
	padding: 10px 20px;
	border-radius: 14px;
	background: rgb(255 255 255 / 0.08);
	border: 1px solid rgb(255 255 255 / 0.2);
	color: #fff;
	line-height: 1.3;
}
.store small {
	color: #9fb3d6;
	font-size: 13px;
}
.store b {
	font-size: 18px;
}

.gauge-card {
	justify-self: center;
	width: min(100%, 360px);
	background: var(--surface);
	color: var(--ink);
	border-radius: 28px;
	padding: 28px 28px 24px;
	text-align: center;
}
.gauge-card svg {
	display: block;
	width: 100%;
	height: auto;
}
.gauge-progress {
	stroke-dasharray: 335.1;
	stroke-dashoffset: 16;
	animation: fill 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s backwards;
}
@keyframes fill {
	from {
		stroke-dashoffset: 335.1;
	}
}
.gauge-card .reading {
	margin-top: -64px;
	position: relative;
}
.gauge-card .label {
	font-weight: 600;
	font-size: 18px;
}
.gauge-card .value {
	font-weight: 800;
	font-size: 40px;
	color: #c2410c;
	line-height: 1.1;
}
.gauge-card .when {
	color: var(--muted);
	font-size: 15px;
}

/* Features: rows with the app's pastel category tiles, not a card grid. */
.section {
	padding-block: 72px;
}
.section h2 {
	font-size: clamp(26px, 3.2vw, 36px);
	font-weight: 800;
	margin-bottom: 36px;
}
.features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px 56px;
}
.features li {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 18px;
	align-items: start;
}
.tile {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: grid;
	place-items: center;
}
.tile svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.features h3 {
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 4px;
}
.features p {
	margin: 0;
	color: var(--ink-soft);
	max-width: 44ch;
}
.alerts {
	color: #be185d;
	background: #fdeaf0;
}
.fuel {
	color: #b45309;
	background: #fef3e2;
}
.money {
	color: #15803d;
	background: #e7f8f0;
}
.documents {
	color: #7c4ddb;
	background: #f0ecfe;
}
.region {
	color: #0b6b74;
	background: #e3f4f4;
}
.privacy {
	color: #2563eb;
	background: #e8f0fe;
}

/* Screens: real app screenshots. */
.screens {
	background: var(--surface);
	border-block: 1px solid var(--border);
}
.shots {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin: 0;
}
.shots figure {
	margin: 0;
	text-align: center;
}
.shots img {
	width: 100%;
	max-width: 280px;
	height: auto;
	border-radius: 32px;
	border: 8px solid var(--ink);
	background: var(--ink);
}
.shots figcaption {
	margin-top: 14px;
	font-weight: 600;
}

/* Support and long-form pages. */
.doc {
	padding-block: 32px 16px;
}
.support p,
.doc p,
.doc li {
	max-width: 68ch;
	color: var(--ink-soft);
}
.doc h1 {
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 800;
}
.doc h2 {
	font-size: 22px;
	font-weight: 800;
	margin: 36px 0 8px;
}
.doc .muted {
	color: var(--muted);
	margin-top: 8px;
}
.doc-head {
	background: var(--night);
	padding-bottom: 40px;
}
.doc-head h1 {
	color: #fff;
	padding-top: 24px;
}

footer {
	padding-block: 32px 48px;
	color: var(--muted);
	font-size: 15px;
}
footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin-top: 8px;
}

@media (max-width: 760px) {
	.hero-grid,
	.features {
		grid-template-columns: 1fr;
	}
	.hero-grid {
		gap: 40px;
	}
	.shots {
		grid-auto-flow: column;
		grid-template-columns: none;
		grid-auto-columns: 72%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 8px;
	}
	.shots figure {
		scroll-snap-align: center;
	}
	.section {
		padding-block: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gauge-progress {
		animation: none;
	}
}
