:root {
	--ink: #0f1520;
	--navy: #151d2c;
	--slate: #1e2a3d;
	--slate-2: #27354d;
	--denim: #4a5b8f;
	--denim-2: #6576a8;
	--felt: #1f2f7a;
	--tan: #d2a26c;
	--tan-light: #e8c49a;
	--tan-dark: #a87a45;
	--paper: #e9ebf1;
	--text: #eef1f7;
	--muted: #a7b1c7;
	--line: rgba(255, 255, 255, 0.09);
	--radius: 22px;
	--wrap: 1160px;
	--display: "Rubik", system-ui, sans-serif;
	--body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--navy);
	color: var(--text);
	font: 400 17px/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
/* Felt texture, echoing the in-app table */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -1;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow {
	font: 600 13px/1 var(--display);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tan);
}
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Nav ---------- */
.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	background: rgba(21, 29, 44, 0.72);
	border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand picture { height: 36px; border-radius: 9px; }

picture, 
picture img {
  display: block; }

  picture source, picture img {
	height: 100%;
  }
.wordmark { font: 700 22px/1 var(--display); letter-spacing: 0.14em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 999px;
	font: 600 15px/1 var(--display);
	text-decoration: none;
	padding: 12px 22px;
	transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn-tan { background: var(--tan); color: var(--ink); box-shadow: 0 6px 20px -6px rgba(210, 162, 108, 0.6); }
.btn-tan:hover { background: var(--tan-light); transform: translateY(-1px); }
.lang {
	font: 600 13px/1 var(--display);
	letter-spacing: 0.08em;
	color: var(--muted);
	text-decoration: none;
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px solid var(--line);
	transition: color 0.2s, border-color 0.2s;
}
.lang:hover { color: var(--text); border-color: var(--tan); }
@media (max-width: 760px) { .nav-links { display: none; } .lang { margin-left: auto; } }

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 190px;
	padding: 11px 20px 11px 16px;
	border-radius: 14px;
	background: #05070b;
	border: 1px solid rgba(255, 255, 255, 0.22);
	text-decoration: none;
	color: #fff;
	transition: transform 0.2s, border-color 0.2s;
}
.store:hover { transform: translateY(-2px); border-color: var(--tan); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 11px; line-height: 1.2; opacity: 0.85; }
.store strong { display: block; font: 600 19px/1.15 var(--display); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero::after {
	content: "";
	position: absolute;
	inset: -20% -10% auto auto;
	width: 70vw;
	height: 70vw;
	max-width: 900px;
	max-height: 900px;
	background: radial-gradient(closest-side, rgba(74, 91, 143, 0.55), transparent 70%);
	z-index: -1;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 800; margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--tan); }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.rating { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--muted); font-size: 14px; }
.stars { color: var(--tan); letter-spacing: 2px; font-size: 16px; }
.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--line);
	font-size: 13px;
	color: var(--muted);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }

.phones { position: relative; height: clamp(520px, 52vw, 640px); }
.phone {
	position: absolute;
	width: clamp(220px, 21vw, 290px);
	aspect-ratio: 600 / 1304;
	border-radius: 40px;
	padding: 9px;
	background: linear-gradient(145deg, #3a4560, #10151f);
	box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.phones .p1 { left: 4%; top: 6%; transform: rotate(-7deg); z-index: 1; }
.phones .p2 { right: 4%; top: 0; transform: rotate(5deg); z-index: 2; }
.float-tile { position: absolute; z-index: 3; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5)); }
.float-tile.t1 { left: 46%; bottom: 2%; transform: rotate(-18deg); width: 56px; }
.float-tile.t2 { left: -2%; bottom: 18%; transform: rotate(14deg); width: 44px; }

@media (max-width: 900px) {
	.hero .wrap { grid-template-columns: 1fr; }
	.hero-copy { text-align: center; }
	.hero .lede { margin-inline: auto; }
	.stores, .rating { justify-content: center; }
	.phones { max-width: 460px; width: 100%; margin-inline: auto; height: 560px; }
}
@media (max-width: 480px) {
	.phones { height: 470px; }
	.phone { width: 200px; border-radius: 32px; padding: 7px; }
	.phone img { border-radius: 26px; }
	.phones .p1 { left: 0; }
	.phones .p2 { right: 0; }
	.store { min-width: 0; flex: 1 1 160px; justify-content: center; }
}

/* ---------- Stat strip ---------- */
.strip { border-block: 1px solid var(--line); background: rgba(0, 0, 0, 0.18); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 12px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font: 700 clamp(24px, 3vw, 32px)/1.1 var(--display); color: var(--tan-light); }
.stat span { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) {
	.strip .wrap { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
	position: relative;
	padding: 28px;
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
	border: 1px solid var(--line);
	transition: transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(210, 162, 108, 0.4); }
.card .ico {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: rgba(210, 162, 108, 0.14);
	color: var(--tan);
	margin-bottom: 20px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features { grid-template-columns: 1fr; } }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split .section-head { margin-bottom: 28px; }
.split-media { display: flex; justify-content: center; position: relative; }
.split-media::before {
	content: "";
	position: absolute;
	width: 80%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(210, 162, 108, 0.22), transparent);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.split-media .phone { position: relative; width: min(300px, 78vw); }
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; }
	.split.reverse .split-media { order: 0; }
}

.modes { display: grid; gap: 10px; }
.mode {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 18px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
}
.mode svg { width: 30px; flex: none; }
.mode b { display: block; font: 600 17px/1.3 var(--display); }
.mode span { font-size: 14px; color: var(--muted); }
.mode .meta { margin-left: auto; text-align: right; font-size: 13px; color: var(--tan); white-space: nowrap; }

.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--tan); margin-top: 2px; }

/* ---------- Gallery ---------- */
.gallery {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 8px max(16px, (100vw - var(--wrap)) / 2) 32px;
	scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: none; scroll-snap-align: center; text-align: center; }
.gallery .phone { position: relative; width: 240px; }
.gallery figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
	position: relative;
	overflow: hidden;
	border-radius: 32px;
	padding: clamp(40px, 6vw, 72px);
	background: radial-gradient(120% 140% at 0% 0%, var(--denim) 0%, var(--felt) 55%, #141f52 100%);
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 40px;
	align-items: center;
	box-shadow: 0 40px 80px -40px rgba(31, 47, 122, 0.8);
}
.cta img.icon { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6); }
.cta h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 12px; }
.cta p { color: #cdd5ea; margin-bottom: 28px; max-width: 520px; }
@media (max-width: 720px) {
	.cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.cta .stores { justify-content: center; }
}

/* ---------- Footer ---------- */
footer { padding: 48px 0 56px; border-top: 1px solid var(--line); margin-top: clamp(72px, 10vw, 128px); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--text); }
footer small { color: var(--muted); font-size: 13px; width: 100%; }
@media (max-width: 600px) { footer nav { margin-left: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
