:root {
	--text: #ffffff;
	--muted: rgba(255, 255, 255, 0.82);
	--muted2: rgba(255, 255, 255, 0.62);
	--border: rgba(255, 255, 255, 0.22);
	--shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
	--container: 1200px;
	--radius: 18px;
	--radius-sm: 14px;

	--btn-gold: #f1c06a;
	--btn-gold-text: #1b1408;
	--btn-pink: #e84b74;
}

@font-face {
	font-family: "FA Brands";
	src: url("/assets/cupixel/fa-brands-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

* {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
		"Segoe UI Emoji";
	line-height: 1.5;
	background: #000;
	color: var(--text);
}

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

a:hover {
	text-decoration: underline;
}

code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 0.95em;
}

.container {
	width: min(var(--container), calc(100% - 40px));
	margin-inline: auto;
}

.skip {
	position: absolute;
	left: -999px;
	top: 10px;
	padding: 10px 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
}

.skip:focus {
	left: 10px;
	z-index: 10;
}

.topbar {
	background-color: black;
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 5;
	padding: 0 20px;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	gap: 18px;
}

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

.brand__icon {
	display: block;
	border-radius: 8px;
}

.brand__text {
	font-weight: 700;
	letter-spacing: 0.2px;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.08);
	color: white;
	padding: 10px 18px;
	border-radius: 4px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
}

.btn:hover {
	text-decoration: none;
	filter: brightness(1.04);
}


.btn--primary {
	background: var(--btn-gold);
	border-color: rgba(0, 0, 0, 0.22);
	color: var(--btn-gold-text);
	box-shadow: none;
	border-radius: 2px;
	padding: 10px 22px;
}

.btn--ghost {
	background: transparent;
}

.btn--cta {
	padding: 12px 28px;
	background: var(--btn-pink);
	border-color: rgba(0, 0, 0, 0.14);
	color: white;
	box-shadow: none;
	border-radius: 2px;
}

.hero {
	min-height: 100vh;
	display: grid;
	align-items: center;
	padding: 96px 0 64px;
	background-image:
		url("/assets/cupixel/3-Phones-headers.jpg");
	background-size: cover;
	background-position: center;
}

.hero__inner {
	width: 50%;
	margin: unset;
	display: grid;
	text-align: center;
	grid-template-columns: 1fr;
	gap: 0;
	align-items: center;
}

.hero__copy {
	max-width: 720px;
	padding-left: clamp(8px, 2vw, 22px);
}

h1 {
	line-height: 1.05;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}

.hero__sub {
	margin: 0 0 18px;
	font-size: 1.25rem;
	color: var(--muted);
	font-weight: 700;
}

.hero__cta {
	margin: 0 0 12px;
}

.hero__fine {
	margin: 0;
	color: var(--muted2);
	max-width: 55ch;
}

/* Legal pages */
.legal {
	min-height: 100vh;
	padding: 112px 0 64px;
	background: #000;
}

.legal__inner {
	max-width: 78ch;
}

.legal h1,
.legal h2,
.legal h3 {
	color: white;
	line-height: 1.2;
}

.legal h1 {
	margin: 0 0 18px;
}

.legal h2 {
	margin: 24px 0 10px;
}

.legal p {
	margin: 0 0 12px;
	color: var(--muted);
}

.legal a {
	color: var(--btn-gold);
}


.footer {
	padding: 44px 0 54px;
	background: #222;
}

.footer__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	align-items: start;
	color: var(--muted);
}

.footer__left {
	display: grid;
	gap: 14px;
	justify-items: start;
}

.footer__follow {
	margin: 0;
	font-weight: 700;
	color: var(--muted);
}

.footer__icons {
	display: flex;
	gap: 16px;
	align-items: center;
}

.icon {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	color: white;
}

.icon:hover {
	text-decoration: none;
	opacity: 0.92;
}

.fa-brands {
	font-family: "FA Brands";
	font-weight: 400;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	font-size: 18px;
}

.fa-tiktok::before {
	content: "\e07b";
}

.fa-instagram::before {
	content: "\f16d";
}

.fa-facebook-f::before {
	content: "\f39e";
}

.footer__right {
	display: grid;
	gap: 10px;
	justify-items: end;
	text-align: right;
}

.footer__label {
	font-weight: 800;
	color: white;
}

.footer__email {
	color: var(--btn-gold);
}

.footer__policy {
	color: var(--muted);
}

.footer__sep {
	opacity: 0.7;
	padding: 0 6px;
}

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

.fineprint {
	margin: 10px 0 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.modal {
	border: none;
	padding: 0;
	background: transparent;
	max-width: 600px;
}

.modal::backdrop {
	background: rgba(0, 0, 0, 0.72);
}

.modal__card {
	width: min(720px, calc(100% - 36px));
	margin: 8vh auto;
	border-radius: var(--radius);
	background: rgba(15, 15, 15, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: var(--shadow);
	padding: 16px;
}

.modal__head {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.modal__title {
	font-size: 1.15rem;
	margin: 0;
}

.modal__close {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.20);
	background: rgba(255, 255, 255, 0.08);
	color: white;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.modal__stores {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
}

.store {
	display: grid;
	place-items: center;
	padding: 14px;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.06);
}

.store img {
	width: min(260px, 100%);
	height: auto;
}

.modal__text {
	margin: 6px 0 14px;
	color: var(--muted);
}

/* Get App modal (white card) */
.modal--getapp::backdrop {
	background: rgba(0, 0, 0, 0.62);
}

.modal--getapp .modal__card {
	position: relative;
	width: min(920px, calc(100% - 36px));
	border-radius: 6px;
	background: #ffffff;
	border: 0;
	padding: clamp(28px, 4vw, 56px);
}

.modal--getapp .modal__title {
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 800;
	color: rgba(0, 0, 0, 0.55);
}

.modal--getapp .modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	border: 2px solid rgba(0, 0, 0, 0.75);
	background: transparent;
	color: rgba(0, 0, 0, 0.85);
	font-size: 20px;
}

.modal--getapp .modal__close:focus-visible {
	outline: 3px solid rgba(0, 0, 0, 0.25);
	outline-offset: 2px;
}

.modal--getapp .store {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 0;
	border: 0;
	background: transparent;
}

.modal__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* 404 page */
.notfound {
	min-height: 100vh;
	display: grid;
	align-items: center;
	padding: 112px 0 64px;
	background-image:
		linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.76)),
		url("/assets/cupixel/3-Phones-headers.jpg");
	background-size: cover;
	background-position: center;
}

.notfound__inner {
	display: grid;
	justify-items: center;
	text-align: center;
}

.notfound__card {
	width: min(760px, 100%);
	border-radius: var(--radius);
	background: rgba(15, 15, 15, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: var(--shadow);
	padding: clamp(22px, 4vw, 44px);
}

.notfound__code {
	margin: 0 0 8px;
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 0.95;
	font-size: clamp(3.25rem, 10vw, 6rem);
}

.notfound__title {
	margin: 0 0 10px;
	line-height: 1.1;
	font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.notfound__text {
	margin: 0 0 18px;
	color: var(--muted);
}

@media (max-width: 880px) {
	.hero {
		padding: 96px 0 42px;
		background-image: url("/assets/cupixel/Desktop-header-image.jpg");
		background-position: center;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		width: 100%;
	}

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

	.modal--getapp .modal__head {
		padding-inline: 46px;
	}

	.modal--getapp .modal__close {
		top: 6px;
		right: 6px;
	}

	.modal--getapp .modal__title {
		font-size: 0.9rem;
		margin: 0;
	}
}

@media (max-width: 400px) {
	.footer__right {
		justify-items: start;
		text-align: left;
	}
}