/* ZOOMRIYA website. Dark-first, bundled font, no third-party requests. */

@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-var.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #04050a;
	--bg-raised: rgba(12, 16, 30, 0.82);
	--surface: rgba(255, 255, 255, 0.045);
	--surface-strong: rgba(255, 255, 255, 0.085);
	--border: rgba(255, 255, 255, 0.1);
	--border-strong: rgba(255, 255, 255, 0.18);
	--text: #f4f7fd;
	--muted: #a7b0c6;
	--dim: #7a839b;
	--blue: #4b7bff;
	--cyan: #2ce0ff;
	--indigo: #8b7dff;
	--gold: #ffd36a;
	--ok: #34d399;
	--warn: #fbbf24;
	--grad: linear-gradient(120deg, #5a82ff 0%, #2ce0ff 56%, #a6f7ff 100%);
	--grad-soft: linear-gradient(120deg, rgba(75, 123, 255, 0.24), rgba(44, 224, 255, 0.16));
	--grad-warm: linear-gradient(120deg, rgba(255, 211, 106, 0.18), rgba(255, 255, 255, 0.05));
	--radius: 22px;
	--radius-sm: 14px;
	--max: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	color-scheme: dark;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	position: relative;
	isolation: isolate;
	background:
		radial-gradient(circle at 14% 14%, rgba(75, 123, 255, 0.15), transparent 28%),
		radial-gradient(circle at 86% 10%, rgba(44, 224, 255, 0.14), transparent 24%),
		radial-gradient(circle at 70% 82%, rgba(255, 211, 106, 0.08), transparent 24%),
		linear-gradient(180deg, #04050a 0%, #050816 42%, #04050a 100%);
	color: var(--text);
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body::before,
body::after {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -2;
}

body::before {
	background:
		radial-gradient(circle at 20% 0%, rgba(75, 123, 255, 0.18), transparent 30%),
		radial-gradient(circle at 100% 12%, rgba(44, 224, 255, 0.14), transparent 24%),
		radial-gradient(circle at 50% 100%, rgba(255, 211, 106, 0.07), transparent 22%);
	opacity: 0.95;
}

body::after {
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-position: center top;
	background-size: 100% 100%, 36px 36px;
	opacity: 0.08;
}

main {
	position: relative;
	z-index: 0;
}

img,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

p {
	margin: 0;
}

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

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--blue);
	color: #fff;
	font-weight: 600;
}

.skip-link:focus {
	top: 12px;
}

.site-header,
.hero,
.section,
.site-footer,
.prose {
	position: relative;
}

:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 3px;
	border-radius: 6px;
}

/* ---------- Brand wordmark (letters masked in the text colour + swoosh) ---------- */

.brand {
	display: inline-flex;
	align-items: center;
}

.wordmark {
	position: relative;
	display: inline-block;
	height: 18px;
	aspect-ratio: 1262 / 162;
}

.wordmark__letters,
.wordmark__swoosh {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* Both layers are images (white letters, blue-to-cyan swoosh) stacked
   exactly, so the logo also shows when the page is opened from disk. */
.wordmark__letters,
.wordmark__swoosh {
	object-fit: contain;
}

.wordmark--lg {
	height: 24px;
}

/* ---------- Buttons, badges, chips ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 14px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition:
		transform 0.15s ease,
		box-shadow 0.2s ease,
		background 0.2s ease,
		border-color 0.2s ease;
	backdrop-filter: blur(12px);
}

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

.btn--primary {
	background: var(--grad);
	color: #031022;
	box-shadow:
		0 16px 40px -18px rgba(44, 224, 255, 0.75),
		0 6px 18px -10px rgba(75, 123, 255, 0.8);
}

.btn--primary:hover {
	box-shadow:
		0 22px 48px -18px rgba(44, 224, 255, 0.9),
		0 10px 22px -12px rgba(75, 123, 255, 0.8);
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--border-strong);
	color: var(--text);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
}

.btn--sm {
	min-height: 38px;
	padding: 0 16px;
	font-size: 14px;
	border-radius: 10px;
}

.btn[disabled] {
	opacity: 0.6;
	cursor: progress;
	transform: none;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 8px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: rgba(11, 15, 29, 0.72);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	color: var(--muted);
	font-size: 14px;
	font-weight: 500;
}

.badge__dot {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--grad-soft);
	border: 1px solid rgba(44, 224, 255, 0.35);
	color: var(--text);
	font-size: 12px;
	font-weight: 600;
}

.status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	border: 1px solid var(--border-strong);
	color: var(--muted);
}

.status::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.status--soon {
	color: var(--cyan);
	border-color: rgba(18, 198, 227, 0.4);
	background: rgba(18, 198, 227, 0.08);
}

.status--planned {
	color: var(--indigo);
	border-color: rgba(106, 114, 255, 0.4);
	background: rgba(106, 114, 255, 0.08);
}

.status--later {
	color: var(--dim);
}

.gradient-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	color: var(--cyan);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* ---------- Header ---------- */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	border-bottom: 1px solid transparent;
	transition:
		background 0.25s ease,
		border-color 0.25s ease;
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
	background: rgba(5, 7, 14, 0.72);
	border-bottom-color: rgba(255, 255, 255, 0.09);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 72px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	color: var(--muted);
	font-size: 15px;
	font-weight: 500;
}

.site-nav a:hover {
	color: var(--text);
	text-shadow: 0 0 16px rgba(44, 224, 255, 0.18);
}

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--border-strong);
	border-radius: 10px;
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
}

.nav-toggle svg {
	margin: auto;
}

/* ---------- Sections ---------- */

.section {
	position: relative;
	padding-block: clamp(72px, 10vw, 120px);
	contain: layout paint;
}

.section--alt {
	background:
		radial-gradient(circle at 15% 0%, rgba(75, 123, 255, 0.08), transparent 24%),
		linear-gradient(180deg, rgba(7, 10, 20, 0.98), rgba(4, 5, 10, 0.98));
	border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head {
	max-width: 720px;
	margin: 0 auto clamp(40px, 6vw, 64px);
	text-align: center;
}

.section-head h2 {
	font-size: clamp(30px, 4.2vw, 46px);
	font-weight: 750;
	letter-spacing: -0.04em;
}

.section-head p {
	margin-top: 16px;
	color: var(--muted);
	font-size: clamp(17px, 1.7vw, 19px);
}

.grid-bg {
	background-image:
		radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 35%);
	background-size: 30px 30px, 100% 100%;
}

.glow {
	position: absolute;
	pointer-events: none;
	border-radius: 50%;
	filter: blur(92px);
	opacity: 0.72;
	z-index: 0;
	animation:
		floatGlow 18s ease-in-out infinite alternate,
		glowPulse 7s ease-in-out infinite;
	mix-blend-mode: screen;
}

.glow--blue {
	background: rgba(47, 107, 255, 0.62);
}

.glow--cyan {
	background: rgba(18, 198, 227, 0.48);
	animation-duration: 24s;
}

@keyframes floatGlow {
	from {
		transform: translate3d(0, 0, 0) scale(1);
	}
	to {
		transform: translate3d(0, -18px, 0) scale(1.1);
	}
}

@keyframes glowPulse {
	0%,
	100% {
		opacity: 0.52;
	}
	50% {
		opacity: 0.95;
	}
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	padding-top: clamp(132px, 16vw, 186px);
	padding-bottom: clamp(70px, 9vw, 116px);
	overflow: hidden;
	background:
		radial-gradient(ellipse at 50% 42%, rgba(44, 224, 255, 0.08), transparent 34%),
		radial-gradient(ellipse at 50% 46%, rgba(90, 130, 255, 0.06), transparent 44%),
		linear-gradient(180deg, rgba(4, 5, 10, 0.94) 0%, rgba(4, 5, 10, 0.76) 22%, rgba(4, 5, 10, 0.96) 100%);
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.03), transparent 18%),
		radial-gradient(circle at 50% 55%, rgba(44, 224, 255, 0.03), transparent 24%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%, rgba(255, 255, 255, 0.015));
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
	animation: heroShimmer 10s ease-in-out infinite alternate;
	opacity: 1;
}

.hero::after {
	content: '';
	position: absolute;
	left: 50%;
	top: clamp(118px, 15vw, 210px);
	width: min(82vw, 980px);
	height: min(82vw, 980px);
	transform: translateX(-50%);
	pointer-events: none;
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 50%, rgba(44, 224, 255, 0.18), transparent 38%),
		radial-gradient(circle at 30% 30%, rgba(90, 130, 255, 0.18), transparent 42%),
		radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05), transparent 52%);
	filter: blur(28px);
	animation: orbDrift 16s ease-in-out infinite alternate;
	opacity: 0.9;
	z-index: 0;
}

.hero .glow--blue {
	width: 620px;
	height: 620px;
	top: -260px;
	left: 50%;
	transform: translateX(-60%);
	animation: driftBlue 20s ease-in-out infinite alternate;
}

.hero .glow--cyan {
	width: 420px;
	height: 420px;
	top: 120px;
	right: -140px;
	animation: driftCyan 24s ease-in-out infinite alternate;
}

@keyframes heroShimmer {
	from {
		opacity: 0.55;
		transform: translateY(0);
	}
	to {
		opacity: 1;
		transform: translateY(-10px);
	}
}

@keyframes orbDrift {
	from {
		transform: translateX(-50%) translateY(0) scale(0.98);
		filter: blur(22px);
	}
	to {
		transform: translateX(-50%) translateY(18px) scale(1.04);
		filter: blur(30px);
	}
}

@keyframes driftBlue {
	from {
		transform: translateX(-60%) translateY(0) scale(1);
	}
	to {
		transform: translateX(-54%) translateY(16px) scale(1.04);
	}
}

@keyframes driftCyan {
	from {
		transform: translate3d(0, 0, 0) scale(1);
	}
	to {
		transform: translate3d(-18px, 18px, 0) scale(1.08);
	}
}

.hero__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 1100px;
}

.hero h1 {
	max-width: 900px;
	margin: 26px auto 0;
	font-size: clamp(40px, 6.6vw, 78px);
	font-weight: 650;
	letter-spacing: -0.05em;
	text-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.hero__lead {
	max-width: 680px;
	margin: 24px auto 0;
	color: var(--muted);
	font-size: clamp(18px, 2vw, 21px);
	text-wrap: pretty;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 36px;
}

.hero__note {
	margin-top: 18px;
	color: var(--dim);
	font-size: 14px;
}

.hero__stage {
	position: relative;
	max-width: 1080px;
	margin-inline: auto;
	margin-top: clamp(42px, 6vw, 76px);
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 32px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
	box-shadow:
		0 42px 150px -60px rgba(0, 0, 0, 0.96),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

.hero__stage::before {
	content: '';
	position: absolute;
	inset: -120px -80px -110px;
	z-index: -1;
	pointer-events: none;
	border-radius: 42px;
	background:
		radial-gradient(ellipse at 50% 48%, rgba(44, 224, 255, 0.22) 0%, rgba(90, 130, 255, 0.18) 34%, transparent 70%),
		radial-gradient(ellipse at 50% 56%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
	filter: blur(58px);
	opacity: 1;
	animation: stageGlow 10s ease-in-out infinite alternate;
}

.hero__stage::after {
	content: '';
	position: absolute;
	inset: 1px;
	pointer-events: none;
	border-radius: 31px;
	background: linear-gradient(120deg, rgba(44, 224, 255, 0.08), transparent 30%, rgba(90, 130, 255, 0.1));
	opacity: 0.8;
}

@keyframes stageGlow {
	from {
		transform: translateY(0) scale(0.98);
		opacity: 0.7;
	}
	to {
		transform: translateY(12px) scale(1.03);
		opacity: 1;
	}
}

/* App window mock-up */

.mock {
	position: relative;
	max-width: none;
	margin: 0 auto;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 26px;
	background:
		radial-gradient(circle at 90% 0%, rgba(75, 123, 255, 0.2), transparent 30%),
		radial-gradient(circle at 0% 100%, rgba(44, 224, 255, 0.12), transparent 26%),
		rgba(11, 15, 29, 0.9);
	box-shadow:
		0 52px 140px -48px rgba(12, 22, 52, 0.95),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	text-align: left;
	overflow: hidden;
}

.mock::before {
	content: '';
	position: absolute;
	inset: -78px -56px -64px;
	z-index: -1;
	pointer-events: none;
	border-radius: 34px;
	background:
		radial-gradient(ellipse at 50% 48%, rgba(55, 118, 255, 0.5) 0%, rgba(35, 74, 164, 0.32) 26%, transparent 64%),
		radial-gradient(ellipse at 50% 50%, rgba(44, 224, 255, 0.28) 0%, transparent 54%),
		radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.07) 0%, transparent 74%);
	filter: blur(28px);
	opacity: 1;
	animation: mockHalo 7s ease-in-out infinite alternate;
}

.mock::after {
	content: '';
	position: absolute;
	inset: -2px;
	pointer-events: none;
	border-radius: 27px;
	background: linear-gradient(135deg, rgba(44, 224, 255, 0.72), rgba(90, 130, 255, 0.18), rgba(255, 255, 255, 0.03));
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	padding: 1px;
	opacity: 0.95;
	animation: borderSweep 10s linear infinite;
}

@keyframes mockHalo {
	from {
		transform: translateY(0) scale(0.985);
		opacity: 0.88;
	}
	to {
		transform: translateY(10px) scale(1.02);
		opacity: 1;
	}
}

@keyframes borderSweep {
	from {
		filter: hue-rotate(0deg);
	}
	to {
		filter: hue-rotate(360deg);
	}
}

.mock__bar {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.02);
}

.mock__dots {
	display: flex;
	gap: 6px;
}

.mock__dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
}

.mock__url {
	flex: 1;
	max-width: 360px;
	margin-inline: auto;
	padding: 5px 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	color: var(--dim);
	font-size: 12px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mock__tabs {
	display: flex;
	gap: 4px;
	padding: 10px 16px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	overflow-x: auto;
}

.mock__tab {
	padding: 8px 14px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	color: var(--dim);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
}

.mock__tab[aria-selected='true'] {
	color: var(--text);
	border-bottom-color: var(--cyan);
	text-shadow: 0 0 16px rgba(44, 224, 255, 0.16);
}

.mock__body {
	display: grid;
	grid-template-columns: 190px 1fr;
	min-height: 360px;
}

.mock__side {
	padding: 16px 12px;
	border-right: 1px solid var(--border);
	color: var(--muted);
	font-size: 13px;
}

.mock__side li {
	padding: 7px 10px;
	border-radius: 8px;
}

.mock__side li.is-on {
	background: var(--grad-soft);
	color: var(--text);
}

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

.mock__main {
	padding: 18px;
}

.mock__panel[hidden] {
	display: none;
}

.mock__search {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
	font-size: 14px;
}

.mock__search em {
	margin-left: auto;
	color: var(--dim);
	font-size: 12px;
	font-style: normal;
}

.mock__label {
	margin: 16px 0 10px;
	color: var(--dim);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tiles {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 8px;
}

.tile {
	aspect-ratio: 1;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.tile--wide {
	grid-column: span 2;
	aspect-ratio: auto;
}


.mock__row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	margin-bottom: 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	font-size: 14px;
}

.mock__row small {
	display: block;
	color: var(--dim);
	font-size: 12px;
}

.mock__row .status {
	margin-left: auto;
}

.mock__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(44, 224, 255, 0.14);
	color: var(--cyan);
}

.bubble {
	max-width: 78%;
	margin-bottom: 10px;
	padding: 10px 14px;
	border-radius: 14px 14px 14px 4px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 14px;
}

.bubble small {
	display: block;
	margin-bottom: 2px;
	color: var(--cyan);
	font-size: 12px;
	font-weight: 600;
}

.bubble--me {
	margin-left: auto;
	border-radius: 14px 14px 4px 14px;
	background: rgba(75, 123, 255, 0.18);
	border-color: rgba(75, 123, 255, 0.35);
}

.bubble__photos {
	display: grid;
	grid-template-columns: repeat(3, 56px);
	gap: 6px;
	margin-top: 8px;
}

.bubble__photos .tile {
	width: 56px;
}

.map {
	position: relative;
	height: 250px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 40px 40px,
		radial-gradient(circle at 30% 40%, rgba(18, 198, 227, 0.12), transparent 50%),
		#0a1222;
	overflow: hidden;
}

.map__road {
	position: absolute;
	height: 10px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.07);
}

.map__road--a {
	left: -5%;
	right: -5%;
	top: 46%;
	transform: rotate(-8deg);
}

.map__road--b {
	top: -10%;
	bottom: -10%;
	left: 58%;
	width: 10px;
	height: auto;
	transform: rotate(12deg);
}

.map__pin {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 10px 5px 5px;
	border-radius: 999px;
	background: rgba(6, 8, 18, 0.85);
	border: 1px solid var(--border-strong);
	font-size: 12px;
	white-space: nowrap;
}

.map__pin b {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--grad);
	color: #031022;
	font-size: 11px;
}

.map__pin--a {
	left: 14%;
	top: 22%;
}

.map__pin--b {
	left: 54%;
	top: 60%;
}

.map__place {
	position: absolute;
	left: 10%;
	top: 14%;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 1px dashed rgba(18, 198, 227, 0.55);
	background: rgba(18, 198, 227, 0.06);
}

.float-card {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid var(--border-strong);
	border-radius: 14px;
	background: rgba(11, 15, 29, 0.92);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
	font-size: 13px;
	text-align: left;
	animation: floatCard 8s ease-in-out infinite;
}

@keyframes floatCard {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

.float-card small {
	display: block;
	color: var(--dim);
	font-size: 11px;
}

.float-card--a {
	left: -28px;
	bottom: 64px;
}

.float-card--b {
	right: -24px;
	top: 250px;
	animation-delay: -3s;
}

.hero__stage {
	position: relative;
	max-width: 1040px;
	margin-inline: auto;
}

/* ---------- Promise strip ---------- */

.promises {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 28px;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 16px 50px -28px rgba(0, 0, 0, 0.75);
	margin-block: 28px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 500;
	animation: promisesPulse 10s ease-in-out infinite alternate;
}

@keyframes promisesPulse {
	from {
		box-shadow: 0 16px 50px -28px rgba(0, 0, 0, 0.72);
		transform: translateY(0);
	}
	to {
		box-shadow: 0 20px 60px -28px rgba(44, 224, 255, 0.12);
		transform: translateY(-2px);
	}
}

.promises span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.promises svg {
	color: var(--cyan);
}

/* ---------- Cards and bento ---------- */

.card {
	position: relative;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
	background:
		radial-gradient(circle at 100% 0%, rgba(44, 224, 255, 0.08), transparent 34%),
		rgba(255, 255, 255, 0.04);
	box-shadow: 0 18px 50px -38px rgba(0, 0, 0, 0.7);
	transition:
		border-color 0.25s ease,
		transform 0.25s ease,
		background 0.25s ease;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.card:hover {
	border-color: rgba(44, 224, 255, 0.35);
	background:
		radial-gradient(circle at 100% 0%, rgba(44, 224, 255, 0.12), transparent 34%),
		rgba(255, 255, 255, 0.075);
	transform: translateY(-6px) scale(1.01);
}

.card h3 {
	font-size: 21px;
	font-weight: 700;
}

.card p {
	margin-top: 10px;
	color: var(--muted);
	font-size: 16px;
}

.card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.icon-tile {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: rgba(44, 224, 255, 0.12);
	border: 1px solid rgba(44, 224, 255, 0.28);
	color: var(--cyan);
}

.ticks {
	display: grid;
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: 15px;
}

.ticks li {
	display: flex;
	gap: 10px;
}

.ticks li::before {
	content: '';
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2312c6e3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
		rgba(18, 198, 227, 0.12);
}

.bento {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 18px;
}

.bento > .card {
	grid-column: span 2;
}

.bento > .card--hero {
	grid-column: span 4;
	grid-row: span 2;
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(circle at 85% 0%, rgba(75, 123, 255, 0.2), transparent 55%),
		radial-gradient(circle at 15% 100%, rgba(44, 224, 255, 0.08), transparent 48%),
		rgba(255, 255, 255, 0.045);
}

.bento > .card--half {
	grid-column: span 3;
}

.card--hero h3 {
	font-size: 28px;
}

.card--hero .ticks {
	grid-template-columns: 1fr 1fr;
	gap: 10px 22px;
}

.search-demo {
	margin-top: auto;
	padding-top: 24px;
}

.search-demo__q {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 12px;
	background: rgba(6, 8, 18, 0.52);
	font-size: 14px;
}

.search-demo__tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 10px;
}

/* ---------- Diagrams ---------- */

.diagram {
	padding: clamp(16px, 3vw, 28px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 26px;
	background:
		radial-gradient(circle at 20% 0%, rgba(75, 123, 255, 0.12), transparent 26%),
		radial-gradient(circle at 100% 100%, rgba(44, 224, 255, 0.08), transparent 26%),
		rgba(11, 15, 29, 0.72);
	box-shadow: 0 20px 50px -38px rgba(0, 0, 0, 0.72);
	overflow-x: auto;
}

.diagram svg {
	width: 100%;
	min-width: 640px;
	height: auto;
}

.diagram figcaption {
	margin-top: 14px;
	color: var(--dim);
	font-size: 13px;
	text-align: center;
}

/* Phone version of each diagram: the same content as plain HTML cards, so the
   text stays readable instead of shrinking with a wide SVG. */
.dgm {
	display: none;
}

.dg-card { fill: rgba(255, 255, 255, 0.035); stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.25; }
.dg-frame { fill: rgba(47, 107, 255, 0.07); stroke: url(#dg-grad); stroke-width: 2; }
.dg-app { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.25; }
.dg-hl { fill: rgba(18, 198, 227, 0.1); stroke: #12c6e3; stroke-width: 2; }
.dg-band { fill: rgba(255, 255, 255, 0.04); stroke: none; }
.dg-title { fill: #eef1f8; font-size: 16px; font-weight: 700; }
.dg-name { fill: #eef1f8; font-size: 14px; font-weight: 650; }
.dg-text { fill: #a3abc0; font-size: 12.5px; }
.dg-small { fill: #6f7790; font-size: 11.5px; }
.dg-accent-text { fill: #12c6e3; font-size: 12.5px; font-weight: 650; }
.dg-line { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.5; }
.dg-dash { fill: none; stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.5; stroke-dasharray: 5 5; }
.dg-tunnel { fill: none; stroke: url(#dg-grad); stroke-width: 3.5; stroke-linecap: round; }
.dg-arrow { fill: rgba(255, 255, 255, 0.45); }
.dg-arrow-hl { fill: #12c6e3; }

/* ---------- Split layout ---------- */

.split {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.split--rev {
	grid-template-columns: 1fr 1.05fr;
}

.split h2 {
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 750;
}

.split > div > p {
	margin-top: 16px;
	color: var(--muted);
}

.steps {
	display: grid;
	gap: 14px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps li {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 14px;
	align-items: start;
	color: var(--muted);
	font-size: 15px;
}

.steps li::before {
	counter-increment: step;
	content: counter(step);
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--grad-soft);
	border: 1px solid rgba(18, 198, 227, 0.3);
	color: var(--text);
	font-weight: 700;
}

.steps strong {
	display: block;
	color: var(--text);
	font-size: 16px;
}

/* ---------- Three-step strip ---------- */

.howto {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 28px;
}

.howto .card {
	padding: 24px;
}

.howto__n {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-bottom: 14px;
	border-radius: 10px;
	background: var(--grad);
	color: #031022;
	font-weight: 800;
}

/* ---------- Network table ---------- */

.table-wrap {
	margin-top: 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

th,
td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
	text-align: left;
	vertical-align: top;
}

th {
	color: var(--muted);
	font-weight: 600;
	background: rgba(255, 255, 255, 0.02);
}

tr:last-child td {
	border-bottom: 0;
}

td:first-child {
	color: var(--text);
	font-weight: 600;
	white-space: nowrap;
}

td {
	color: var(--muted);
}

/* ---------- Proofs ---------- */

.proofs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 28px;
}

.proofs .card {
	padding: 24px;
}

.proofs h3 {
	font-size: 17px;
}

.proofs p {
	font-size: 14px;
}

.note {
	display: flex;
	gap: 14px;
	margin-top: 22px;
	padding: 18px 20px;
	border: 1px solid rgba(251, 191, 36, 0.3);
	border-radius: var(--radius-sm);
	background: rgba(251, 191, 36, 0.06);
	color: var(--muted);
	font-size: 14px;
}

.note svg {
	flex: none;
	color: var(--warn);
}

.note strong {
	color: var(--text);
}

/* ---------- Box ---------- */

.box-visual {
	position: relative;
	padding: 30px;
	border-radius: 28px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background:
		radial-gradient(circle at 20% 0%, rgba(75, 123, 255, 0.26), transparent 60%),
		radial-gradient(circle at 100% 100%, rgba(44, 224, 255, 0.16), transparent 55%),
		linear-gradient(180deg, rgba(13, 18, 34, 0.88), rgba(8, 10, 18, 0.96));
	box-shadow: 0 26px 80px -44px rgba(0, 0, 0, 0.85);
}

.box-art {
	display: block;
	width: 100%;
	max-width: 460px;
	height: auto;
	margin: -12px auto 8px;
}

.spec-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.spec {
	padding: 14px 16px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	font-size: 14px;
}

.spec strong {
	display: block;
	font-size: 14px;
}

.spec span {
	color: var(--dim);
	font-size: 13px;
}

.offers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 48px;
}

.offer h3 {
	font-size: 19px;
}

.offer__tag {
	display: inline-block;
	margin-bottom: 14px;
	color: var(--cyan);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.offer--main {
	border-color: rgba(44, 224, 255, 0.45);
	background:
		radial-gradient(circle at 50% 0%, rgba(44, 224, 255, 0.12), transparent 60%),
		radial-gradient(circle at 0% 100%, rgba(255, 211, 106, 0.08), transparent 42%),
		rgba(255, 255, 255, 0.045);
}

/* ---------- Tech stack ---------- */

.stack {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.stack span {
	padding: 9px 16px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--muted);
	font-size: 14px;
	font-weight: 500;
}

/* ---------- Roadmap ---------- */

.roadmap {
	position: relative;
	display: grid;
	gap: 16px;
	max-width: 820px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.roadmap::before {
	content: '';
	position: absolute;
	left: 19px;
	top: 10px;
	bottom: 10px;
	width: 2px;
	background: linear-gradient(180deg, var(--cyan), rgba(106, 114, 255, 0.4), transparent);
}

.roadmap li {
	position: relative;
	display: grid;
	grid-template-columns: 40px 150px 1fr;
	gap: 18px;
	align-items: start;
}

.roadmap__dot {
	position: relative;
	z-index: 1;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid var(--border-strong);
	background: var(--bg);
}

.roadmap li.is-next .roadmap__dot {
	border-color: var(--cyan);
	box-shadow: 0 0 0 6px rgba(18, 198, 227, 0.12);
	background: radial-gradient(circle, var(--cyan) 0 7px, var(--bg) 8px);
}

.roadmap__when {
	padding-top: 8px;
	color: var(--cyan);
	font-size: 14px;
	font-weight: 700;
}

.roadmap__what {
	padding: 14px 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
}

.roadmap__what strong {
	display: block;
	font-size: 16px;
}

.roadmap__what span {
	color: var(--muted);
	font-size: 14px;
}

.roadmap-note {
	margin-top: 24px;
	color: var(--dim);
	font-size: 13px;
	text-align: center;
}

/* ---------- Sign-up ---------- */

.signup {
	position: relative;
	overflow: hidden;
}

.signup .glow--blue {
	width: 540px;
	height: 540px;
	left: -200px;
	top: 40px;
}

.signup .glow--cyan {
	width: 420px;
	height: 420px;
	right: -160px;
	bottom: -120px;
}

.signup__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.signup__intro h2 {
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 800;
}

.signup__intro > p {
	margin-top: 16px;
	color: var(--muted);
}

.form {
	padding: clamp(22px, 3.5vw, 34px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 26px;
	background:
		radial-gradient(circle at 100% 0%, rgba(44, 224, 255, 0.08), transparent 30%),
		rgba(11, 15, 29, 0.84);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 28px 90px -48px rgba(0, 0, 0, 0.82);
}

.form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.field {
	display: grid;
	gap: 6px;
	margin-bottom: 16px;
}

.field label,
.field legend {
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
}

.field .hint {
	color: var(--dim);
	font-weight: 400;
}

input[type='email'],
input[type='text'],
select,
textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
	font: inherit;
	font-size: 15px;
}

textarea {
	min-height: 88px;
	resize: vertical;
}

select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23a3abc0' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	padding-right: 38px;
}

select option {
	background: #0b0f1d;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--cyan);
	box-shadow: 0 0 0 3px rgba(18, 198, 227, 0.18);
}

fieldset {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.choices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 8px;
}

.choice {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--muted);
	font-size: 14px;
	cursor: pointer;
}

.choice:has(input:checked) {
	border-color: rgba(18, 198, 227, 0.55);
	background: rgba(18, 198, 227, 0.07);
	color: var(--text);
}

.choice input {
	accent-color: var(--cyan);
	width: 16px;
	height: 16px;
	margin: 0;
}

.consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 6px 0 20px;
	color: var(--muted);
	font-size: 13px;
}

.consent input {
	accent-color: var(--cyan);
	width: 16px;
	height: 16px;
	margin-top: 3px;
	flex: none;
}

.consent a,
.form__privacy a {
	color: var(--cyan);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form .btn {
	width: 100%;
}

.form__status {
	min-height: 22px;
	margin-top: 14px;
	font-size: 14px;
	text-align: center;
}

.form__status.is-ok {
	color: var(--ok);
}

.form__status.is-error {
	color: #fb7185;
}

.form__privacy {
	margin-top: 10px;
	color: var(--dim);
	font-size: 12.5px;
	text-align: center;
}

.form--done .form__fields {
	display: none;
}

.thanks {
	display: none;
	padding: 30px 10px;
	text-align: center;
}

.form--done .thanks {
	display: block;
}

.thanks h3 {
	margin: 14px 0 8px;
	font-size: 24px;
}

.thanks p {
	color: var(--muted);
}

.thanks .icon-tile {
	margin: 0 auto;
	width: 58px;
	height: 58px;
}

.perks {
	display: grid;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.perks li {
	display: flex;
	gap: 12px;
	color: var(--muted);
	font-size: 15px;
}

.perks svg {
	flex: none;
	color: var(--cyan);
	margin-top: 3px;
}

/* ---------- FAQ ---------- */

.faq {
	display: grid;
	gap: 12px;
	max-width: 820px;
	margin: 0 auto;
}

.faq details {
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
}

.faq details[open] {
	border-color: rgba(18, 198, 227, 0.35);
}

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: '+';
	flex: none;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--cyan);
	font-size: 18px;
	font-weight: 500;
}

.faq details[open] summary::after {
	content: '−';
}

.faq details p {
	padding: 0 22px 20px;
	color: var(--muted);
	font-size: 15px;
}

/* ---------- CTA band ---------- */

.cta-band {
	position: relative;
	padding: clamp(36px, 6vw, 64px);
	border-radius: 32px;
	border: 1px solid rgba(44, 224, 255, 0.3);
	background:
		radial-gradient(circle at 0% 0%, rgba(75, 123, 255, 0.3), transparent 55%),
		radial-gradient(circle at 100% 100%, rgba(44, 224, 255, 0.22), transparent 55%),
		linear-gradient(180deg, rgba(11, 15, 29, 0.94), rgba(7, 9, 18, 0.98));
	text-align: center;
	overflow: hidden;
	box-shadow: 0 24px 90px -54px rgba(0, 0, 0, 0.85);
}

.cta-band h2 {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
}

.cta-band p {
	max-width: 560px;
	margin: 14px auto 0;
	color: var(--muted);
}

.cta-band .hero__actions {
	margin-top: 28px;
}

/* ---------- Footer ---------- */

.site-footer {
	padding-block: 56px 36px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--muted);
	font-size: 14px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 32px;
}

.footer-grid h4 {
	margin-bottom: 14px;
	color: var(--text);
	font-size: 14px;
}

.footer-grid ul {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-grid a:hover {
	color: var(--text);
}

.footer-grid > div:first-child p {
	max-width: 320px;
	margin-top: 14px;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 44px;
	padding-top: 22px;
	border-top: 1px solid var(--border);
	color: var(--dim);
	font-size: 13px;
}

/* ---------- Plain page (privacy notice) ---------- */

.prose {
	max-width: 760px;
	margin: 0 auto;
	padding: 140px var(--gutter) 80px;
}

.prose h1 {
	font-size: clamp(32px, 5vw, 46px);
	font-weight: 800;
}

.prose h2 {
	margin-top: 40px;
	font-size: 22px;
}

.prose p,
.prose li {
	color: var(--muted);
}

.prose p {
	margin-top: 14px;
}

.prose ul {
	margin-top: 12px;
	padding-left: 20px;
}

.prose li + li {
	margin-top: 6px;
}

.prose a {
	color: var(--cyan);
	text-decoration: underline;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
	opacity: 0;
	transform: translateY(22px) scale(0.985);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.no-js .reveal {
	opacity: 1;
	transform: none;
}

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

	/* Switch off every decorative animation (glows, drifts, shimmer, floating cards). */
	*,
	*::before,
	*::after {
		animation: none !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.btn,
	.card {
		transition: none;
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
	.float-card--a {
		left: 12px;
	}

	.float-card--b {
		right: 12px;
	}
}

@media (max-width: 960px) {
	.site-nav {
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--gutter) 18px;
		background: rgba(6, 8, 18, 0.97);
		border-bottom: 1px solid var(--border);
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav a {
		padding: 12px 0;
		border-bottom: 1px solid var(--border);
	}

	.nav-toggle {
		display: grid;
	}

	.bento > .card,
	.bento > .card--half {
		grid-column: span 3;
	}

	.bento > .card--hero {
		grid-column: span 6;
		grid-row: auto;
	}

	.split,
	.split--rev,
	.signup__grid {
		grid-template-columns: 1fr;
	}

	.split--rev > :first-child {
		order: 2;
	}

	.proofs,
	.offers {
		grid-template-columns: 1fr 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.float-card {
		display: none;
	}
}

@media (max-width: 680px) {
	.mock__body {
		grid-template-columns: 1fr;
	}

	.mock__side {
		display: none;
	}

	.tiles {
		grid-template-columns: repeat(4, 1fr);
	}

	.tile--wide {
		grid-column: span 2;
	}

	.bento > .card,
	.bento > .card--half,
	.bento > .card--hero {
		grid-column: span 6;
	}

	.card--hero .ticks {
		grid-template-columns: 1fr;
	}

	.howto,
	.proofs,
	.offers,
	.spec-list,
	.form__row,
	.choices {
		grid-template-columns: 1fr;
	}

	.roadmap li {
		grid-template-columns: 40px 1fr;
	}

	.roadmap__when {
		grid-column: 2;
		padding-top: 0;
	}

	.roadmap__what {
		grid-column: 2;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.hero__actions .btn {
		width: 100%;
	}
}

/* ---------- Small additions ---------- */

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.legend {
	padding: 0;
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
}

.form > .form__fields > .choice {
	margin-bottom: 14px;
}

.card > .icon-tile:first-child {
	margin-bottom: 16px;
}

/* ---------- Mobile polish ---------- */

figure {
	margin: 0;
}

.diagram,
.table-wrap,
.mock__tabs {
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.mock__tabs {
	scrollbar-width: none;
}

.badge {
	flex-wrap: wrap;
	justify-content: center;
}

.badge__dot {
	white-space: nowrap;
}

@media (max-width: 680px) {
	.diagram {
		overflow-x: hidden;
	}

	.diagram > svg {
		display: none;
	}

	.diagram::after {
		display: none;
	}

	.dgm {
		display: grid;
		gap: 10px;
		font-size: 14px;
		line-height: 1.4;
	}

	.dgm p {
		margin: 0;
	}

	.dgm__pair,
	.dgm__apps {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.dgm__card {
		display: grid;
		gap: 2px;
		padding: 12px 14px;
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 12px;
		background: rgba(255, 255, 255, 0.035);
		color: var(--muted);
		font-size: 13px;
	}

	.dgm__card strong {
		color: var(--text);
		font-size: 14px;
		font-weight: 650;
	}

	.dgm__card--hl {
		border: 2px solid #12c6e3;
		background: rgba(18, 198, 227, 0.1);
	}

	.dgm__card--dashed {
		border-style: dashed;
	}

	/* A labelled arrow between two cards. */
	.dgm__link {
		display: flex;
		align-items: center;
		gap: 10px;
		padding-left: 22px;
		color: var(--dim);
		font-size: 12.5px;
	}

	.dgm__link::before {
		content: '↓';
		color: #7aa8ff;
		font-size: 18px;
		line-height: 1;
	}

	.dgm__link--up::before {
		content: '↑';
	}

	.dgm__link--accent {
		color: #12c6e3;
		font-weight: 650;
	}

	.dgm__link--accent::before {
		content: '↕';
		color: #12c6e3;
	}

	.dgm__note {
		color: var(--dim);
		font-size: 12.5px;
		text-align: center;
	}

	.dgm__box {
		display: grid;
		gap: 10px;
		padding: 14px;
		border: 2px solid transparent;
		border-radius: 18px;
		background:
			linear-gradient(rgba(14, 22, 44, 0.96), rgba(14, 22, 44, 0.96)) padding-box,
			linear-gradient(90deg, #2f6bff, #12c6e3) border-box;
	}

	.dgm__title {
		color: var(--text);
		font-size: 16px;
		font-weight: 700;
	}

	.dgm__accent {
		margin-top: -8px !important;
		color: #12c6e3;
		font-size: 12.5px;
		font-weight: 650;
	}

	.dgm__bands {
		display: grid;
		gap: 6px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.dgm__bands li {
		padding: 10px 12px;
		border-radius: 10px;
		background: rgba(255, 255, 255, 0.04);
		color: var(--muted);
		font-size: 13px;
	}

	.dgm__bands strong {
		display: block;
		color: var(--text);
		font-size: 14px;
		font-weight: 650;
	}

	.mock__search em {
		display: none;
	}

	.badge {
		border-radius: 16px;
		padding: 8px 12px;
	}

	/* The traffic table becomes one card per row. */
	.table-wrap {
		border: 0;
	}

	.table-wrap thead {
		display: none;
	}

	.table-wrap tr {
		display: block;
		margin-bottom: 12px;
		border: 1px solid var(--border);
		border-radius: var(--radius-sm);
		background: var(--surface);
	}

	.table-wrap td {
		display: grid;
		grid-template-columns: 110px 1fr;
		gap: 10px;
		padding: 10px 14px;
		white-space: normal;
	}

	.table-wrap td:first-child {
		display: block;
		font-size: 15px;
	}

	.table-wrap td[data-label]::before {
		content: attr(data-label);
		color: var(--dim);
		font-size: 13px;
	}

	.table-wrap tr td:last-child {
		border-bottom: 0;
	}
}

/* ---------- Photos in the mock-ups ---------- */

img.tile {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	background: var(--bg-raised);
}

.albums {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.album {
	margin: 0;
}

.album figcaption {
	margin-top: 6px;
	color: var(--text);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
}

.album small {
	display: block;
	color: var(--dim);
	font-size: 11.5px;
	font-weight: 400;
}

.search-demo__note {
	margin-top: 10px;
	color: var(--dim);
	font-size: 13px;
}

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

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

/* ---------- Every screen: laptops, other computers, guests ---------- */

.section--line {
	border-top: 1px solid var(--border);
}

.text-link {
	color: var(--cyan);
	font-weight: 600;
	white-space: nowrap;
}

.text-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.devices {
	display: grid;
	gap: 18px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.devices li {
	display: grid;
	grid-template-columns: 46px 1fr;
	gap: 14px;
	align-items: start;
	color: var(--muted);
	font-size: 15px;
}

.devices strong {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 2px;
	color: var(--text);
	font-size: 16px;
}

.devices__note {
	margin-top: 22px;
	color: var(--dim);
	font-size: 13px;
}

.screens-visual {
	position: relative;
	padding-bottom: 104px;
}

.guest-mock {
	margin: 0;
}

.guest-mock__stage {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #000;
}

.guest-mock__stage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.guest-mock__stage::after {
	content: '';
	position: absolute;
	inset: 55% 0 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.guest-mock__caption {
	position: absolute;
	left: 20px;
	bottom: 22px;
	z-index: 1;
	display: grid;
	color: #fff;
}

.guest-mock__caption strong {
	font-size: 20px;
}

.guest-mock__caption span {
	color: rgba(255, 255, 255, 0.75);
	font-size: 13px;
}

.guest-mock__dots {
	position: absolute;
	right: 20px;
	bottom: 28px;
	z-index: 1;
	display: flex;
	gap: 6px;
}

.guest-mock__dots span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
}

.guest-mock__dots .is-on {
	width: 20px;
	border-radius: 4px;
	background: #fff;
}

.code-card {
	position: absolute;
	right: -12px;
	bottom: 0;
	z-index: 2;
	display: grid;
	gap: 4px;
	padding: 16px 20px;
	border: 1px solid rgba(18, 198, 227, 0.45);
	border-radius: 16px;
	background: rgba(11, 15, 29, 0.95);
	box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
}

.code-card__label,
.code-card__meta {
	color: var(--dim);
	font-size: 12px;
}

.code-card__code {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.22em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

@media (max-width: 960px) {
	.code-card {
		right: 12px;
	}
}

@media (max-width: 680px) {
	.screens-visual {
		padding-bottom: 0;
	}

	.code-card {
		position: static;
		margin-top: 14px;
	}
}

/* ---------- Slim stack line, honest-limits list, sign-up step two ---------- */

.section--slim {
	padding-block: 40px;
}

.stack-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	color: var(--muted);
	font-size: 16px;
}

.stack-line strong {
	color: var(--text);
}

.note > div {
	display: grid;
	gap: 8px;
}

.note__list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding-left: 18px;
}

.more {
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid var(--border);
	text-align: left;
}

.more__intro {
	margin-bottom: 16px;
	color: var(--text);
	font-weight: 600;
}

.more__intro .hint {
	color: var(--dim);
	font-weight: 400;
}

.thanks__final {
	margin-top: 18px;
	color: var(--ok);
	font-weight: 600;
}

@media (max-width: 680px) {
	.stack-line {
		align-items: flex-start;
		justify-content: flex-start;
	}
}

/* ---------- Technical details page ---------- */

.toc {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.toc a {
	padding: 6px 12px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	color: var(--muted);
	font-size: 13px;
	text-decoration: none;
}

.toc a:hover {
	color: var(--text);
	border-color: rgba(18, 198, 227, 0.5);
}

.prose table {
	margin-top: 16px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.prose td:first-child {
	white-space: normal;
}

.prose h2 {
	scroll-margin-top: 90px;
}

/* ---------- Footer: designed in Canada ---------- */

.made-in {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.made-in__flag {
	width: 24px;
	height: 12px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* ---------- Why it matters now: figures and how the box helps ---------- */

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.stat {
	display: grid;
	align-content: start;
	gap: 8px;
	padding: 26px 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
}

.stat__number {
	font-size: clamp(36px, 4.4vw, 52px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.stat__label {
	color: var(--muted);
	font-size: 15px;
}

.stat__source {
	margin-top: 4px;
	color: var(--dim);
	font-size: 12.5px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.stat__source:hover {
	color: var(--cyan);
}

.helps__title {
	margin: clamp(48px, 7vw, 72px) 0 24px;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 750;
	text-align: center;
}

.helps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.help .icon-tile {
	margin-bottom: 16px;
}

.help__risk {
	margin: 0 0 6px !important;
	color: var(--warn) !important;
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.help h3 {
	font-size: 19px;
}

.helps__note {
	max-width: 760px;
	margin: 28px auto 0;
	color: var(--dim);
	font-size: 14px;
	text-align: center;
}

@media (max-width: 960px) {
	.stats,
	.helps {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 680px) {
	.stats,
	.helps {
		grid-template-columns: 1fr;
	}
}

/* ---------- Language switch ---------- */

.lang-switch {
	display: inline-flex;
	padding: 3px;
	border: 1px solid var(--border-strong);
	border-radius: 10px;
}

.lang-switch a {
	padding: 4px 9px;
	border-radius: 7px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.4;
}

.lang-switch a:hover {
	color: var(--text);
}

.lang-switch a[aria-current] {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text);
}

.header-cta__short {
	display: none;
}

/* Narrow phones: a smaller logo and a one-word button keep the header on one line. */
@media (max-width: 480px) {
	.header-actions {
		gap: 6px;
	}

	.wordmark {
		height: 14px;
	}

	.header-actions .btn--sm {
		padding: 0 12px;
	}

	.header-cta__long {
		display: none;
	}

	.header-cta__short {
		display: inline;
	}
}

/* The smallest phones (320 px): tighten everything a little more. */
@media (max-width: 360px) {
	.site-header__inner {
		gap: 8px;
	}

	.header-actions {
		gap: 4px;
	}

	.wordmark {
		height: 11px;
	}

	.lang-switch a {
		padding: 4px 6px;
	}

	.header-actions .btn--sm {
		padding: 0 10px;
		font-size: 13px;
	}

	.nav-toggle {
		width: 36px;
		height: 36px;
	}
}

/* Keep menu items and buttons on one line (French labels are longer). */
.site-nav a,
.btn,
.lang-switch {
	white-space: nowrap;
}

:lang(fr) .site-nav {
	gap: 22px;
}

/* ---------- Apps: Family Photos spotlight, then the apps coming next ---------- */

.bento > .card--wide {
	grid-column: span 6;
	grid-row: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 24px 48px;
}

.card--wide .search-demo {
	margin-top: 0;
	padding-top: 0;
}

.bento > .card--soon {
	grid-column: span 2;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 22px;
}

.card--soon h3 {
	margin: 10px 0 4px;
	font-size: 17px;
}

.card--soon p {
	margin: 0;
	font-size: 14px;
}

/* How it works: where the apps open. */
.reach {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 28px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: 15px;
}

.reach li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.reach svg {
	color: var(--cyan);
}

@media (max-width: 960px) {
	.bento > .card--wide {
		grid-template-columns: 1fr;
	}

	.bento > .card--soon {
		grid-column: span 6;
	}
}

@media (max-width: 680px) {
	.reach {
		flex-direction: column;
		align-items: flex-start;
		max-width: 320px;
		margin-inline: auto;
	}
}

.prose .diagram {
	margin: 24px 0;
}

.prose .diagram figcaption {
	font-size: 13px;
}

/* Technical page tables on small phones: tighter cells so three columns fit. */
@media (max-width: 480px) {
	.prose th,
	.prose td {
		padding: 8px;
		font-size: 13px;
		white-space: normal;
	}
}
