@charset "utf-8";
*{box-sizing: border-box;}
body,html{
	height: 100%;
	min-height: 100%;
	overflow-x: hidden;
	background: linear-gradient(to right bottom,#fec000,#dca700);
}
body{
	margin: 0;
	padding: 0;
	overflow-y: auto;
}
body.sheet-open{
	overflow: hidden;
}

.page{
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 420px;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 auto;
	padding: 20px 16px 16px;
}

.hero,
.download-section{
	flex-shrink: 0;
}

.hero{
	text-align: center;
	padding-top: 8px;
}

.logo{
	display: block;
	width: 120px;
	margin: 0 auto 12px;
}

.logotext{
	margin: 0;
	color: #111;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}

.hero-subtitle{
	margin: 10px auto 0;
	max-width: 320px;
	color: #222;
	font-size: 16px;
	line-height: 1.5;
}

.hero-note{
	margin: 8px auto 0;
	max-width: 340px;
	color: rgba(0,0,0,.65);
	font-size: 13px;
	line-height: 1.5;
}

.download-section{
	margin-top: 22px;
	text-align: center;
}

.download{
	padding: 4px 0 16px;
}

.download a{
	display: block;
	border-radius: 5px;
	margin: 0 auto;
}

.download a.android{
	width: 180px;
	height: 50px;
	background: #fff0 url(../img/google.png) no-repeat center;
	background-size: 185px auto;
	margin-bottom: 8px;
}

.download a.apk{
	width: 160px;
	height: 45px;
	background: #fff url(../img/apk.png) no-repeat center;
	background-size: 120px auto;
	margin-bottom: 8px;
}

.download a.ios{
	width: 170px;
	height: 48px;
	background: #fff0 url(../img/ios.png) no-repeat center;
	background-size: 160px auto;
}

.info-trigger{
	display: inline-block;
	margin: 0;
	padding: 0;
	border: none;
	background: none;
	color: rgba(0,0,0,.72);
	font-size: 14px;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.info-trigger:active{
	opacity: .75;
}

.bottom-img{
	flex: 1;
	display: grid;
	place-items: center;
	align-content: center;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 8px 0 0;
}

.bottom-img .bg,
.bottom-img .phone{
	grid-area: 1 / 1;
	width: min(88vw, 340px);
	max-width: 340px;
	max-height: 100%;
	height: auto;
	object-fit: contain;
}

.bottom-img .phone{
	position: relative;
	z-index: 1;
	animation: phoneAni 1s linear infinite alternate;
}

@keyframes phoneAni{
	100%{
		transform: translateY(10px);
	}
}

/* 底部弹窗 */
.sheet-mask{
	position: fixed;
	z-index: 20;
	inset: 0;
	background: rgba(0,0,0,.45);
	opacity: 0;
	transition: opacity .25s ease;
	pointer-events: none;
}
.sheet-mask:not([hidden]){
	opacity: 1;
	pointer-events: auto;
}

.info-sheet{
	position: fixed;
	z-index: 21;
	left: 0;
	right: 0;
	bottom: 0;
	max-height: 78vh;
	border-radius: 16px 16px 0 0;
	background: #fff;
	box-shadow: 0 -8px 32px rgba(0,0,0,.18);
	transform: translateY(100%);
	transition: transform .28s cubic-bezier(.32,.72,0,1);
	display: flex;
	flex-direction: column;
}
.info-sheet.is-open{
	transform: translateY(0);
}

.sheet-handle{
	flex-shrink: 0;
	width: 40px;
	height: 4px;
	margin: 10px auto 4px;
	border-radius: 2px;
	background: rgba(0,0,0,.15);
}

.sheet-header{
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4px 16px 12px;
	border-bottom: 1px solid rgba(0,0,0,.06);
}

.sheet-title{
	margin: 0;
	color: #111;
	font-size: 17px;
	font-weight: 700;
}

.sheet-close{
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0,0,0,.06);
	color: #333;
	font-size: 22px;
	line-height: 36px;
	text-align: center;
	cursor: pointer;
}

.sheet-body{
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 12px 16px 24px;
}

.copy-block{
	margin-top: 0;
	padding: 14px;
	border-radius: 12px;
	background: #f7f7f8;
}

.copy-block + .copy-block{
	margin-top: 12px;
}

.copy-title{
	margin: 0 0 10px;
	color: #111;
	font-size: 16px;
	font-weight: 700;
}

.feature-list,
.steps-list{
	margin: 0;
	padding: 0;
	list-style: none;
}

.feature-list li{
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(0,0,0,.06);
}

.feature-list li:last-child{
	border-bottom: none;
	padding-bottom: 0;
}

.feature-list strong{
	color: #111;
	font-size: 15px;
	font-weight: 700;
}

.feature-list span{
	color: #555;
	font-size: 13px;
	line-height: 1.5;
}

.steps-list{
	counter-reset: step;
}

.steps-list li{
	position: relative;
	margin: 0;
	padding: 10px 0 10px 34px;
	color: #333;
	font-size: 14px;
	line-height: 1.5;
	border-bottom: 1px solid rgba(0,0,0,.06);
}

.steps-list li:last-child{
	border-bottom: none;
	padding-bottom: 0;
}

.steps-list li::before{
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 0;
	top: 10px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #111;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
}

.open-tips{
	position: fixed;
	z-index: 9;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(0,0,0,.8);
	overflow: hidden;
	display: none;
}

.open-tips img{
	width: 300px;
	max-width: 80vw;
	float: right;
	margin-right: 20px;
}

@media (min-width: 768px) {
	.page{
		max-width: 480px;
		padding-top: 32px;
	}

	.logo{
		width: 150px;
	}

	.logotext{
		font-size: 32px;
	}

	.info-sheet{
		left: 50%;
		right: auto;
		width: 100%;
		max-width: 420px;
		transform: translate(-50%, 100%);
	}
	.info-sheet.is-open{
		transform: translate(-50%, 0);
	}
}
