/* Juice Bar Sort website. Fonts: same as the game (SIL Open Font License, see fonts/OFL-*.txt) */
@font-face {
	font-family: 'Lilita One';
	src: url('fonts/lilita-one.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Fredoka';
	src: url('fonts/fredoka.woff2') format('woff2');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--orange: #ff7a1a;
	--orange-dark: #e2620a;
	--peach: #ffb070;
	--cream: #fff6ea;
	--ink: #3b2416;
	--ink-soft: #6e5443;
	--sky: #29b6f6;
	--line: rgba(59, 36, 22, 0.12);
	--card: #ffffff;
	--sys: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: 'Fredoka', var(--sys);
	font-size: 17px;
	line-height: 1.55;
}

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

a {
	color: var(--orange-dark);
}

.wrap {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px;
}

/* header */
.top {
	background: var(--peach);
	border-bottom: 3px solid rgba(0, 0, 0, 0.06);
}

.top .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 68px;
	flex-wrap: wrap;
	padding-top: 8px;
	padding-bottom: 8px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ink);
	font-family: 'Lilita One', var(--sys);
	font-size: 22px;
	letter-spacing: 0.3px;
}

.brand img {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.nav {
	display: flex;
	gap: 6px 18px;
	flex-wrap: wrap;
	font-weight: 600;
}

.nav a {
	color: var(--ink);
	text-decoration: none;
}

.nav a:hover,
.nav a[aria-current='page'] {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* landing */
.hero {
	background: linear-gradient(180deg, var(--peach) 0%, #ffd2a6 55%, var(--cream) 100%);
	padding: 40px 0 56px;
}

.hero .wrap {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 36px;
	align-items: center;
}

.hero h1 {
	font-family: 'Lilita One', var(--sys);
	font-weight: 400;
	font-size: clamp(38px, 6vw, 60px);
	line-height: 1.05;
	margin: 0 0 14px;
	color: #fff;
	text-shadow: 0 3px 0 var(--orange-dark), 0 6px 14px rgba(0, 0, 0, 0.18);
}

.hero p.lead {
	font-size: 20px;
	margin: 0 0 24px;
	color: var(--ink);
}

.hero .shot {
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 14px 34px rgba(80, 36, 0, 0.28);
	border: 4px solid #fff;
}

.cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 22px;
	border-radius: 16px;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(#ffb75a, var(--orange));
	box-shadow: 0 4px 0 var(--orange-dark);
}

.btn:hover {
	filter: brightness(1.05);
}

.btn svg {
	width: 22px;
	height: 22px;
}

.soon {
	font-size: 15px;
	color: var(--ink-soft);
	font-weight: 600;
}

section {
	padding: 48px 0;
}

h2 {
	font-family: 'Lilita One', var(--sys);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.15;
	margin: 0 0 20px;
}

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.features li {
	background: var(--card);
	border-radius: 18px;
	padding: 18px 18px 16px;
	box-shadow: 0 3px 0 var(--line);
	border: 1px solid var(--line);
}

.features b {
	display: block;
	font-size: 19px;
	margin-bottom: 4px;
}

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	counter-reset: step;
	padding: 0;
	margin: 0;
	list-style: none;
}

.steps li {
	position: relative;
	padding: 18px 18px 16px 70px;
	background: #fff;
	border-radius: 18px;
	border: 1px solid var(--line);
}

.steps li::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 18px;
	top: 16px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--sky);
	color: #fff;
	font-family: 'Lilita One', var(--sys);
	font-size: 20px;
}

.portrait {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 32px;
	align-items: center;
}

.portrait .steps {
	grid-template-columns: 1fr;
}

.portrait img {
	border-radius: 22px;
	border: 4px solid #fff;
	box-shadow: 0 10px 26px rgba(80, 36, 0, 0.22);
}

/* legal pages */
.doc {
	max-width: 780px;
	margin: 0 auto;
	padding: 36px 20px 56px;
	font-family: var(--sys);
	font-size: 16px;
	line-height: 1.65;
}

.doc h1 {
	font-family: 'Lilita One', var(--sys);
	font-weight: 400;
	font-size: 38px;
	line-height: 1.1;
	margin: 0 0 6px;
}

.doc h2 {
	font-size: 24px;
	margin: 34px 0 10px;
}

.doc .meta {
	color: var(--ink-soft);
	margin: 0 0 24px;
}

.doc ul {
	padding-left: 22px;
}

.doc li {
	margin: 4px 0;
}

.doc .box {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 14px 18px;
}

/* footer */
.foot {
	background: var(--ink);
	color: #f6e6d6;
	padding: 28px 0;
	font-size: 15px;
}

.foot .wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	justify-content: space-between;
	align-items: center;
}

.foot nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}

.foot a {
	color: #ffd2a6;
}

@media (max-width: 760px) {
	body {
		font-size: 16px;
	}
	.wrap {
		padding: 0 16px;
	}
	.hero {
		padding: 28px 0 40px;
	}
	.hero .wrap,
	.portrait {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.portrait img {
		max-width: 260px;
		margin: 0 auto;
	}
	.doc {
		padding: 28px 16px 44px;
	}
	.doc h1 {
		font-size: 32px;
	}
}
