:root {
	font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
	color: #231f20;
	background: #fff4e8;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }
body { position: relative; overflow-x: hidden; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.page-background {
	position: fixed;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

.site-shell {
	width: min(100% - 40px, 1272px);
	min-height: 100svh;
	margin: 0 auto;
	padding: 24px 0 34px;
}

.site-header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 70px;
	padding: 0 18px 0 34px;
	border: 1px solid rgba(255, 255, 255, .82);
	border-radius: 38px;
	background: rgba(255, 250, 245, .72);
	box-shadow: 0 12px 35px rgba(180, 83, 42, .06);
	backdrop-filter: blur(14px);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-self: start;
	font-size: 21px;
	font-weight: 800;
	white-space: nowrap;
}

.brand-mark { display: block; width: 52px; height: 52px; overflow: hidden; }
.brand-mark img { width: 64px; height: 64px; margin: -4px 0 0 -6px; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 54px; font-size: 15px; font-weight: 500; }
.main-nav a { position: relative; padding: 24px 0; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: #ff3a24; }
.main-nav a.active::after {
	position: absolute;
	right: 0;
	bottom: 13px;
	left: 0;
	height: 2px;
	border-radius: 2px;
	background: #ff3a24;
	content: "";
}

.nav-download {
	justify-self: end;
	width: 184px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.nav-download img { display: block; width: 100%; height: auto; }

.hero-section {
	display: grid;
	grid-template-columns: 44% 56%;
	align-items: center;
	min-height: 524px;
	padding: 12px 6px 0;
}
.hero-copy { position: relative; z-index: 2; padding: 22px 0 0; }
.hero-copy h1, .hero-copy h2, .hero-copy p { margin: 0; }
.hero-copy h1 {
	font-size: clamp(62px, 5.25vw, 82px);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -.06em;
	white-space: nowrap;
}
.hero-copy h1 span { margin-right: .18em; color: #f23823; }
.hero-copy h2 {
	margin-top: 14px;
	color: #f04a24;
	font-size: clamp(38px, 3.3vw, 52px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: .02em;
	white-space: nowrap;
}
.hero-copy > p { margin-top: 17px; color: #f05b32; font-size: 20px; letter-spacing: .04em; }

.download-image-group { position: relative; width: 100%; max-width: 490px; }
.hero-downloads { margin-top: 24px; }
.download-image-group > img { display: block; width: 100%; height: auto; }
.download-hit {
	position: absolute;
	top: 11%;
	bottom: 12%;
	width: 47%;
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: transparent;
	cursor: pointer;
}
.download-hit.android-hit { left: 1%; }
.download-hit.ios-hit { right: 1%; }
.download-hit span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.hero-visual { position: relative; z-index: 1; align-self: stretch; min-width: 0; }
.hero-visual img {
	position: absolute;
	top: -10px;
	right: -92px;
	width: 780px;
	max-width: none;
	height: auto;
	pointer-events: none;
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; z-index: 2; }
.feature-card {
	display: grid;
	grid-template-columns: 150px 1fr 42px;
	align-items: center;
	min-height: 166px;
	padding: 8px 20px 8px 6px;
	border: 1px solid rgba(255, 255, 255, .92);
	border-radius: 21px;
	background: rgba(255, 253, 249, .72);
	box-shadow: 0 18px 42px rgba(143, 64, 27, .07);
	backdrop-filter: blur(12px);
}
.feature-icon { display: block; width: 148px; height: 148px; object-fit: contain; }
.feature-card h3, .feature-card p { margin: 0; }
.feature-card h3 { font-size: 27px; line-height: 1.2; }
.feature-card p { margin-top: 14px; color: #73635d; font-size: 16px; line-height: 1.55; }
.feature-arrow {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .72);
	color: #ff4b2e;
	font-size: 24px;
	transition: transform .2s ease;
}
.feature-arrow:hover { transform: translateX(4px); }

.promo-banner {
	display: grid;
	grid-template-columns: 276px 1fr 470px;
	align-items: center;
	min-height: 158px;
	margin-top: 34px;
	padding: 0 34px 0 0;
	border: 1px solid rgba(255, 255, 255, .94);
	border-radius: 22px;
	background: rgba(255, 253, 249, .84);
	box-shadow: 0 18px 42px rgba(143, 64, 27, .08);
	backdrop-filter: blur(12px);
}
.promo-mascot { width: 276px; height: 156px; object-fit: contain; }
.promo-copy h2, .promo-copy p { margin: 0; }
.promo-copy h2 { color: #f04a24; font-size: 36px; line-height: 1.15; }
.promo-copy p { margin-top: 16px; color: #74645e; font-size: 17px; }
.promo-downloads { max-width: 470px; justify-self: end; }

button:focus-visible, a:focus-visible { outline: 3px solid #168bff; outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.toast {
	position: fixed;
	z-index: 20;
	bottom: 24px;
	left: 50%;
	max-width: calc(100% - 32px);
	padding: 13px 18px;
	border-radius: 14px;
	color: #fff;
	background: rgba(25, 23, 25, .93);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
	font-size: 13px;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 16px);
	transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
	.main-nav { gap: 28px; }
	.hero-visual img { right: -120px; width: 700px; }
	.feature-card { grid-template-columns: 112px 1fr 36px; }
	.feature-icon { width: 110px; height: 110px; }
	.feature-card h3 { font-size: 23px; }
	.promo-banner { grid-template-columns: 220px 1fr 390px; }
	.promo-mascot { width: 220px; }
}

@media (max-width: 820px) {
	.site-shell { width: min(100% - 28px, 680px); padding-top: 14px; }
	.site-header { grid-template-columns: 1fr auto; height: 64px; padding: 0 8px 0 16px; }
	.brand { font-size: 18px; }
	.brand-mark { width: 44px; height: 44px; }
	.brand-mark img { width: 54px; height: 54px; }
	.main-nav { display: none; }
	.nav-download { width: 150px; }
	.hero-section { display: flex; min-height: 0; padding-top: 42px; flex-direction: column; }
	.hero-copy { width: 100%; padding: 0; text-align: center; }
	.hero-copy h1 { font-size: clamp(48px, 13vw, 72px); white-space: normal; }
	.hero-copy h2 { font-size: clamp(31px, 8vw, 45px); white-space: normal; }
	.hero-copy > p { font-size: 16px; }
	.hero-downloads { width: min(100%, 500px); margin-right: auto; margin-left: auto; }
	.hero-visual {
		width: 100vw;
		min-height: 490px;
		margin: -12px calc((100% - 100vw) / 2) 0;
		overflow: hidden;
		flex: none;
	}
	.hero-visual img { top: 0; right: 50%; width: min(760px, 126vw); transform: translateX(50%); }
	.feature-grid { grid-template-columns: 1fr; gap: 14px; }
	.feature-card { grid-template-columns: 126px 1fr 42px; min-height: 150px; }
	.feature-icon { width: 122px; height: 122px; }
	.promo-banner { grid-template-columns: 1fr; gap: 8px; padding: 20px; text-align: center; }
	.promo-mascot { width: 240px; height: 160px; margin: -8px auto -12px; }
	.promo-copy h2 { font-size: 31px; }
	.promo-copy p { margin-top: 10px; font-size: 15px; }
	.promo-downloads { width: min(100%, 470px); margin: 8px auto 0; justify-self: center; }
}

@media (max-width: 480px) {
	.site-shell { width: calc(100% - 20px); }
	.site-header { height: 58px; }
	.brand { gap: 4px; font-size: 16px; }
	.brand-mark { width: 38px; height: 38px; }
	.brand-mark img { width: 48px; height: 48px; }
	.nav-download { width: 122px; }
	.hero-section { padding-top: 34px; }
	.hero-copy h1 { font-size: 46px; }
	.hero-copy h2 { margin-top: 8px; font-size: 29px; }
	.hero-copy > p { margin-top: 12px; font-size: 14px; letter-spacing: 0; }
	.hero-downloads { margin-top: 18px; }
	.hero-visual { min-height: 360px; }
	.hero-visual img { width: 132vw; }
	.feature-card { grid-template-columns: 104px 1fr 34px; padding-right: 12px; }
	.feature-icon { width: 100px; height: 100px; }
	.feature-card h3 { font-size: 22px; }
	.feature-card p { margin-top: 8px; font-size: 14px; }
	.feature-arrow { width: 32px; height: 32px; font-size: 20px; }
	.promo-banner { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.toast, .feature-arrow { transition: none; }
}
