/* Yunzi Reading Club platform page */
.el-main {
	--el-accent: #d9272e;
	--el-accent-dark: #aa171d;
	--el-ink: #171717;
	--el-muted: #62676f;
	--el-line: #d9dcdf;
	--el-surface: #f3f4f4;
	--el-paper: #ffffff;
	background: var(--el-paper);
	color: var(--el-ink);
	overflow: hidden;
}

.el-main,
.el-main * {
	box-sizing: border-box;
	letter-spacing: 0;
}

.el-main [data-animate] {
	opacity: 1;
	transform: none;
}

.el-hero {
	position: relative;
	padding: 5rem 1.5rem 4rem;
	background: var(--el-surface);
	border-bottom: 1px solid var(--el-line);
	overflow: visible;
}

.el-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(18rem, 0.72fr);
	gap: 5rem;
	align-items: end;
	width: min(100%, 80rem);
	margin: 0 auto;
}

.el-hero-copy {
	min-width: 0;
}

.el-hero-title {
	max-width: 46rem;
	margin: 0 0 1.75rem;
	color: var(--el-ink);
	font-size: 4rem;
	font-weight: 600;
	line-height: 1.12;
}

.el-hero-desc {
	max-width: 48rem;
	margin: 0 0 1rem;
	color: var(--el-ink);
	font-size: 1.125rem;
	line-height: 1.8;
}

.el-hero-detail {
	max-width: 48rem;
	margin: 0 0 2.5rem;
	color: var(--el-muted);
	font-size: 0.9375rem;
	line-height: 1.85;
}

.el-hero-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--el-ink);
	border-bottom: 1px solid var(--el-line);
}

.el-hero-stat {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
	padding: 1.15rem 1rem 1.15rem 0;
}

.el-hero-stat + .el-hero-stat {
	padding-left: 1rem;
	border-left: 1px solid var(--el-line);
}

.el-hero-stat-num {
	color: var(--el-accent);
	font-family: 'Inter', 'Noto Sans SC', sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.el-hero-stat-label {
	color: var(--el-muted);
	font-size: 0.875rem;
	line-height: 1.65;
}

.el-entry {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1.5rem;
	border-top: 5px solid var(--el-accent);
	background: var(--el-paper);
}

.el-entry-index {
	align-self: stretch;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid var(--el-line);
	color: var(--el-muted);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
}

.el-entry-qr {
	display: block;
	width: min(100%, 13.8rem);
	height: auto;
	margin: 1.5rem auto 1.25rem;
	image-rendering: auto;
}

.el-entry-copy {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	gap: 0.45rem;
	padding-top: 1rem;
	border-top: 1px solid var(--el-line);
	text-align: center;
}

.el-entry-copy strong {
	font-size: 1rem;
	font-weight: 700;
}

.el-entry-copy span {
	color: var(--el-muted);
	font-size: 0.8125rem;
	line-height: 1.65;
}

.el-features {
	margin: 0;
	padding: 5rem 1.5rem;
	background: var(--el-paper);
}

.el-features-intro,
.el-features-inner,
.el-overview-inner,
.el-catalog-inner,
.el-device-inner,
.el-extended-inner,
.el-cta-inner {
	width: min(100%, 80rem);
	margin: 0 auto;
}

.el-features-intro {
	max-width: 72rem;
	margin-bottom: 2rem;
}

.el-features-intro h2,
.el-overview-text h2,
.el-catalog-header h2,
.el-section-header h2,
.el-cosmetic-band h2,
.el-cta-content h2 {
	margin: 0;
	color: var(--el-ink);
	font-size: 2.25rem;
	font-weight: 500;
	line-height: 1.25;
}

.el-features-inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--el-ink);
	border-left: 1px solid var(--el-line);
}

.el-feature-card,
.el-feature-card:hover {
	display: block;
	min-height: 15rem;
	padding: 1.5rem;
	border: 0;
	border-right: 1px solid var(--el-line);
	border-bottom: 1px solid var(--el-line);
	border-radius: 0;
	background: var(--el-paper);
	box-shadow: none;
	transform: none;
}

.el-feature-card-wide {
	grid-column: span 2;
}

.el-feature-char,
.el-char-gold,
.el-char-teal,
.el-char-rose {
	display: block;
	width: auto;
	height: auto;
	margin: 0 0 3rem;
	border-radius: 0;
	background: transparent;
	color: var(--el-accent);
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
}

.el-feature-body h3 {
	margin: 0 0 0.75rem;
	color: var(--el-ink);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.35;
}

.el-feature-body p {
	margin: 0;
	color: var(--el-muted);
	font-size: 0.875rem;
	line-height: 1.75;
}

.el-overview {
	padding: 5rem 1.5rem;
	background: #191919;
}

.el-overview-inner {
	display: block;
}

.el-overview-text {
	max-width: 52rem;
	margin-bottom: 3rem;
}

.el-overview-text h2 {
	margin-bottom: 1rem;
	color: #ffffff;
}

.el-overview-text p {
	margin: 0;
	color: #b9bdc2;
	font-size: 0.9375rem;
	line-height: 1.8;
}

.el-overview-gallery {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr;
	gap: 1.25rem;
	align-items: end;
}

.el-screen {
	margin: 0;
	background: #ffffff;
}

.el-screen img {
	display: block;
	width: 100%;
	height: 34rem;
	border: 1px solid #505050;
	object-fit: cover;
	object-position: top;
}

.el-screen-primary img {
	height: 39rem;
}

.el-screen figcaption {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 3.25rem;
	padding: 0.75rem 1rem;
	border-top: 1px solid var(--el-line);
	color: var(--el-ink);
	font-size: 0.875rem;
	font-weight: 600;
}

.el-screen figcaption span {
	color: var(--el-accent);
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
}

.el-catalog {
	padding: 5rem 1.5rem;
	background: var(--el-surface);
}

.el-catalog-header,
.el-section-header {
	max-width: 52rem;
	margin: 0 0 3rem;
	text-align: left;
}

.el-catalog-header h2,
.el-section-header h2 {
	margin-bottom: 1rem;
}

.el-catalog-header p,
.el-section-header p {
	margin: 0;
	color: var(--el-muted);
	font-size: 0.9375rem;
	line-height: 1.8;
}

.el-catalog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--el-ink);
	border-left: 1px solid var(--el-line);
}

.el-cat-card,
.el-cat-card:hover {
	min-width: 0;
	padding: 1.5rem;
	border: 0;
	border-right: 1px solid var(--el-line);
	border-bottom: 1px solid var(--el-line);
	border-radius: 0;
	background: var(--el-paper);
	box-shadow: none;
	transform: none;
}

.el-cat-card h3 {
	min-height: 2.8rem;
	margin: 0 0 1rem;
	color: var(--el-ink);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.4;
}

.el-cat-tags {
	display: block;
}

.el-cat-tags span,
.el-cat-tags span:hover {
	position: relative;
	display: block;
	margin: 0;
	padding: 0.38rem 0 0.38rem 0.9rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--el-muted);
	font-size: 0.75rem;
	line-height: 1.55;
}

.el-cat-tags span::before {
	position: absolute;
	top: 0.92rem;
	left: 0;
	width: 0.28rem;
	height: 0.28rem;
	background: var(--el-accent);
	content: '';
}

.el-device {
	padding: 5rem 1.5rem;
	background: var(--el-paper);
}

.el-device-topics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--el-ink);
	border-left: 1px solid var(--el-line);
	list-style: none;
}

.el-device-topics li {
	position: relative;
	min-height: 5.5rem;
	padding: 1.25rem 2.25rem 1.25rem 1.25rem;
	border-right: 1px solid var(--el-line);
	border-bottom: 1px solid var(--el-line);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.5;
}

.el-device-topics li::after {
	position: absolute;
	top: 1.35rem;
	right: 1.1rem;
	color: var(--el-accent);
	content: '+';
	font-family: 'Inter', sans-serif;
	font-weight: 600;
}

.el-device-grid {
	display: none;
}

.el-extended {
	padding: 0 1.5rem 5rem;
	background: var(--el-paper);
}

.el-cosmetic-band {
	margin: 0;
	padding: 2.5rem;
	background: var(--el-ink);
	color: #ffffff;
}

.el-cosmetic-band h2 {
	color: #ffffff;
}

.el-cta {
	padding: 4rem 1.5rem;
	background: #24282c;
}

.el-cta-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 10rem;
	gap: 3rem;
	align-items: center;
}

.el-cta-content h2 {
	margin-bottom: 0.65rem;
	color: #ffffff;
	text-align: left;
}

.el-cta-content p {
	margin: 0;
	color: #ffffff;
	font-size: 0.9375rem;
	line-height: 1.7;
	text-align: left;
}

.el-cta-qr {
	width: 10rem;
	justify-self: end;
}

.el-cta-qr img {
	display: block;
	width: 100%;
	height: auto;
}

.el-main a:focus-visible {
	outline: 3px solid #171717;
	outline-offset: 3px;
}

@media (max-width: 64rem) {
	.el-hero-inner {
		grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.7fr);
		gap: 2.5rem;
	}

	.el-hero-title {
		font-size: 3rem;
	}

	.el-hero-stats,
	.el-features-inner,
	.el-catalog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.el-hero-stat:nth-child(3) {
		padding-left: 0;
		border-top: 1px solid var(--el-line);
		border-left: 0;
	}

	.el-hero-stat:nth-child(4) {
		border-top: 1px solid var(--el-line);
	}

	.el-feature-card-wide {
		grid-column: auto;
	}

	.el-overview-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.el-screen img,
	.el-screen-primary img {
		height: 30rem;
	}

	.el-device-topics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 48rem) {
	.el-hero,
	.el-features,
	.el-overview,
	.el-catalog,
	.el-device,
	.el-cta {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.el-hero {
		padding-top: 5rem;
		padding-bottom: 3rem;
	}

	.el-hero-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.5rem;
	}

	.el-hero-title {
		font-size: 2.25rem;
		line-height: 1.18;
	}

	.el-hero-desc {
		font-size: 1rem;
	}

	.el-entry {
		width: min(100%, 22rem);
		margin: 0 auto;
	}

	.el-features,
	.el-overview,
	.el-catalog,
	.el-device {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}

	.el-features-intro h2,
	.el-overview-text h2,
	.el-catalog-header h2,
	.el-section-header h2,
	.el-cosmetic-band h2,
	.el-cta-content h2 {
		font-size: 1.75rem;
	}

	.el-features-inner,
	.el-catalog-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.el-feature-card {
		min-height: 0;
	}

	.el-feature-char {
		margin-bottom: 2rem;
	}

	.el-overview-gallery {
		display: flex;
		gap: 1rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 0.75rem;
	}

	.el-screen {
		flex: 0 0 78vw;
		scroll-snap-align: start;
	}

	.el-screen img,
	.el-screen-primary img {
		height: 31rem;
	}

	.el-device-topics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.el-extended {
		padding-right: 1rem;
		padding-bottom: 4rem;
		padding-left: 1rem;
	}

	.el-cosmetic-band {
		padding: 2rem 1.5rem;
	}

	.el-cta-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.el-cta-qr {
		width: 9rem;
		justify-self: start;
	}
}

@media (max-width: 30rem) {
	.el-hero-stats,
	.el-device-topics {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.el-hero-stat:nth-child(3) {
		padding-left: 0;
		border-left: 0;
		border-top: 1px solid var(--el-line);
	}

	.el-hero-stat:nth-child(4) {
		border-top: 1px solid var(--el-line);
	}
}

@media (prefers-reduced-motion: reduce) {
	.el-main *,
	.el-main *::before,
	.el-main *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
