:root {
	--paper: #f5f1e7;
	--paper-deep: #e8e1d1;
	--paper-light: #fbf9f3;
	--ink: #183c2b;
	--ink-soft: #496354;
	--forest: #315c3d;
	--forest-light: #668765;
	--moss: #8ca17a;
	--amber: #bd734d;
	--amber-dark: #9f5637;
	--line: rgba(30, 63, 44, 0.16);
	--shadow: 0 24px 70px rgba(42, 55, 40, 0.13);
	--serif: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
	--sans: "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
	--page-width: 1180px;
	--header-height: 78px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	background: var(--paper);
	overflow-x: hidden;
}

body {
	margin: 0;
	overflow-x: hidden;
	color: var(--ink);
	background:
		radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.8), transparent 30%),
		linear-gradient(180deg, var(--paper-light), var(--paper));
	font-family: var(--sans);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body::before {
	position: fixed;
	z-index: 20;
	inset: 0;
	pointer-events: none;
	content: "";
	opacity: 0.08;
	background-image: url("./assets/paper-sprout.jpg");
	background-size: 430px auto;
	mix-blend-mode: multiply;
}

button,
input,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

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

button {
	color: inherit;
}

.skip-link {
	position: fixed;
	z-index: 100;
	top: 12px;
	left: 12px;
	padding: 10px 16px;
	color: white;
	background: var(--ink);
	transform: translateY(-150%);
	transition: transform 180ms ease;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: fixed;
	z-index: 50;
	top: 0;
	left: 0;
	right: 0;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	height: var(--header-height);
	padding: 0 max(28px, calc((100vw - var(--page-width)) / 2));
	border-bottom: 1px solid transparent;
	transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
	border-color: var(--line);
	background: rgba(248, 245, 237, 0.9);
	box-shadow: 0 8px 30px rgba(37, 55, 41, 0.08);
	backdrop-filter: blur(18px);
}

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

.brand img {
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.brand-copy {
	display: grid;
	line-height: 1.06;
}

.brand-copy strong {
	font-family: var(--serif);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.brand-copy small {
	margin-top: 5px;
	font-family: Georgia, serif;
	font-size: 11px;
	letter-spacing: 0.08em;
}

.site-nav {
	display: flex;
	justify-content: center;
	gap: clamp(24px, 3.2vw, 50px);
	font-family: var(--serif);
	font-size: 14px;
}

.site-nav a {
	position: relative;
	padding: 27px 2px 22px;
}

.site-nav a::after {
	position: absolute;
	left: 50%;
	bottom: 17px;
	width: 0;
	height: 1px;
	content: "";
	background: var(--forest);
	transform: translateX(-50%);
	transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
	width: 100%;
}

.header-download {
	padding: 9px 19px;
	border-radius: 999px;
	color: white;
	background: var(--forest);
	font-family: var(--serif);
	font-size: 13px;
	box-shadow: 0 8px 20px rgba(49, 92, 61, 0.2);
	transition: transform 180ms ease, background 180ms ease;
}

.header-download:hover {
	background: #234b31;
	transform: translateY(-2px);
}

.menu-button {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
}

.menu-button span {
	display: block;
	width: 22px;
	height: 1px;
	margin: 7px auto;
	background: var(--ink);
	transition: transform 180ms ease;
}

.hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
	min-height: min(900px, 100vh);
	padding: calc(var(--header-height) + 100px) max(30px, calc((100vw - var(--page-width)) / 2)) 120px;
	overflow: hidden;
	isolation: isolate;
}

.hero::before {
	position: absolute;
	z-index: -4;
	inset: 0;
	content: "";
	background:
		linear-gradient(90deg, rgba(249, 247, 240, 0.98) 0%, rgba(249, 247, 240, 0.82) 42%, rgba(238, 237, 220, 0.25) 70%, transparent 100%),
		linear-gradient(180deg, #f8f6ef 0%, #e9eadb 62%, #dfe4d2 100%);
}

.hero::after {
	position: absolute;
	z-index: 3;
	right: -8vw;
	bottom: -40px;
	left: -8vw;
	height: 100px;
	content: "";
	background: var(--paper);
	clip-path: polygon(0 36%, 7% 24%, 13% 44%, 22% 30%, 33% 49%, 45% 28%, 56% 44%, 68% 25%, 80% 43%, 91% 20%, 100% 34%, 100% 100%, 0 100%);
	filter: drop-shadow(0 -12px 13px rgba(40, 55, 38, 0.08));
}

.hero-content {
	position: relative;
	z-index: 6;
	align-self: center;
	max-width: 600px;
	padding-bottom: 70px;
}

.hero h1 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(48px, 5.1vw, 72px);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.06em;
	text-wrap: balance;
}

.hero-intro {
	max-width: 520px;
	margin: 30px 0 0;
	color: var(--ink-soft);
	font-family: var(--serif);
	font-size: 17px;
	line-height: 2;
	letter-spacing: 0.04em;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 34px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 7px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-primary {
	color: white;
	background: linear-gradient(135deg, var(--forest), #466f4b);
	box-shadow: 0 12px 26px rgba(49, 92, 61, 0.2);
}

.button-primary:hover {
	box-shadow: 0 16px 32px rgba(49, 92, 61, 0.28);
}

.button-secondary {
	border-color: rgba(49, 92, 61, 0.3);
	background: rgba(255, 255, 255, 0.35);
}

.button-secondary:hover {
	border-color: var(--forest);
	background: rgba(255, 255, 255, 0.72);
}

.android-mark {
	position: relative;
	width: 18px;
	height: 13px;
	margin-right: 10px;
	border-radius: 6px 6px 2px 2px;
	background: currentColor;
}

.android-mark::before,
.android-mark::after {
	position: absolute;
	top: -5px;
	width: 1px;
	height: 6px;
	content: "";
	background: currentColor;
}

.android-mark::before {
	left: 4px;
	transform: rotate(-35deg);
}

.android-mark::after {
	right: 4px;
	transform: rotate(35deg);
}

.download-note {
	margin: 14px 0 0;
	color: var(--ink-soft);
	font-size: 12px;
}

.hero-landscape {
	position: absolute;
	z-index: -2;
	inset: 26% -2% 6% 28%;
	pointer-events: none;
	filter: saturate(0.75);
}

.mountain {
	position: absolute;
	right: 0;
	left: 0;
	border-radius: 50% 50% 0 0;
	transform-origin: center bottom;
	will-change: transform;
}

.mountain-back {
	bottom: 26%;
	height: 48%;
	opacity: 0.45;
	background: #c8d2bd;
	clip-path: polygon(0 72%, 12% 46%, 21% 61%, 34% 27%, 47% 64%, 62% 35%, 73% 58%, 86% 26%, 100% 55%, 100% 100%, 0 100%);
	filter: blur(1px);
}

.mountain-mid {
	bottom: 13%;
	height: 55%;
	opacity: 0.62;
	background: #9bae91;
	clip-path: polygon(0 70%, 14% 34%, 26% 63%, 38% 24%, 52% 61%, 67% 31%, 79% 67%, 90% 37%, 100% 60%, 100% 100%, 0 100%);
}

.mountain-front {
	bottom: 0;
	height: 43%;
	background: linear-gradient(180deg, #71896d, #4b694f);
	clip-path: polygon(0 65%, 9% 48%, 18% 56%, 28% 31%, 39% 67%, 53% 42%, 64% 65%, 78% 34%, 89% 61%, 100% 43%, 100% 100%, 0 100%);
	box-shadow: inset 0 40px 50px rgba(255, 255, 255, 0.15);
}

.river-path {
	position: absolute;
	z-index: 2;
	right: 9%;
	bottom: -10%;
	width: 53%;
	height: 69%;
	border-radius: 50% 0 40% 50%;
	background: rgba(240, 230, 205, 0.86);
	clip-path: polygon(52% 0, 62% 16%, 48% 29%, 58% 45%, 39% 61%, 54% 79%, 22% 100%, 5% 100%, 38% 76%, 27% 60%, 43% 44%, 33% 28%, 45% 12%);
	transform: rotate(-5deg);
}

.floating-leaf {
	position: absolute;
	z-index: 3;
	width: 70px;
	height: 28px;
	border-radius: 100% 0 100% 0;
	background: rgba(75, 105, 79, 0.65);
	animation: leaf-drift 6s ease-in-out infinite;
}

.leaf-one {
	top: 5%;
	right: 4%;
	transform: rotate(28deg);
}

.leaf-two {
	right: 30%;
	bottom: 7%;
	width: 50px;
	height: 20px;
	animation-delay: -2.5s;
	transform: rotate(-18deg);
}

.hero-stage {
	position: relative;
	z-index: 5;
	align-self: center;
	justify-self: end;
	width: min(46vw, 600px);
	aspect-ratio: 1.08;
	margin-top: -30px;
	perspective: 1000px;
}

.hero-stage::before {
	position: absolute;
	z-index: -1;
	inset: -12% -35% -9% 8%;
	content: "";
	background: url("./assets/paper-sprout.jpg") center / cover no-repeat;
	clip-path: polygon(24% 3%, 100% 0, 100% 100%, 8% 92%, 17% 70%, 5% 51%, 19% 31%);
	filter: drop-shadow(-16px 22px 30px rgba(34, 53, 39, 0.16));
	transform: rotate(2deg);
}

.paper-opening {
	position: absolute;
	z-index: 3;
	top: 33%;
	left: 19%;
	width: 53%;
	height: 39%;
	filter: drop-shadow(0 22px 25px rgba(23, 43, 30, 0.18));
	transform: rotate(-4deg);
}

.paper-layer {
	position: absolute;
	inset: 0;
	border-radius: 45% 52% 48% 43%;
}

.paper-layer-back {
	background: #71866e;
	clip-path: polygon(4% 31%, 21% 6%, 42% 15%, 61% 2%, 84% 16%, 97% 39%, 87% 63%, 94% 88%, 69% 83%, 51% 98%, 29% 84%, 8% 91%, 14% 62%);
}

.paper-layer-front {
	inset: -7%;
	background: #f8f4ea;
	clip-path: polygon(0 26%, 19% 0, 37% 12%, 59% 1%, 84% 10%, 100% 35%, 90% 61%, 98% 88%, 70% 80%, 50% 100%, 28% 84%, 3% 94%, 13% 58%);
	mask: radial-gradient(ellipse at center, transparent 0 43%, black 45%);
}

.mascot {
	width: 192px;
	height: 208px;
	background-repeat: no-repeat;
	image-rendering: auto;
}

.mascot-idle {
	background-image: url("./assets/ya-xiao-du-idle.webp");
	background-size: 600% 100%;
}

.mascot-review {
	background-image: url("./assets/ya-xiao-du-review.webp");
	background-position: 0 0;
	background-size: 100% 100%;
}

.hero-stage .mascot {
	position: absolute;
	z-index: 5;
	top: 18%;
	left: 31%;
	width: 230px;
	height: 249px;
	transform-origin: 50% 80%;
	will-change: transform;
}

.mascot-shadow {
	position: absolute;
	z-index: 4;
	top: 65%;
	left: 36%;
	width: 190px;
	height: 36px;
	border-radius: 50%;
	background: rgba(34, 52, 38, 0.16);
	filter: blur(12px);
	transform: rotate(-5deg);
}

.hero-sprout {
	position: absolute;
	z-index: 7;
	top: 8%;
	right: 6%;
	width: 150px;
	height: 210px;
	transform: rotate(8deg);
}

.stem {
	position: absolute;
	bottom: 0;
	left: 68px;
	width: 9px;
	height: 160px;
	border-radius: 50%;
	background: var(--forest);
	transform: rotate(-8deg);
}

.sprout-leaf {
	position: absolute;
	width: 94px;
	height: 48px;
	border-radius: 100% 0 100% 0;
	background: linear-gradient(145deg, #73956a, #365f3c);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.sprout-leaf-left {
	top: 4px;
	left: -2px;
	transform: rotate(28deg);
}

.sprout-leaf-right {
	top: 36px;
	right: -8px;
	background: linear-gradient(145deg, #9fb37d, #53764d);
	transform: rotate(-12deg) scaleX(-1);
}

.scroll-cue {
	position: absolute;
	z-index: 7;
	right: max(24px, calc((100vw - var(--page-width)) / 2));
	bottom: 118px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: var(--ink-soft);
	font-family: var(--serif);
	font-size: 12px;
	letter-spacing: 0.3em;
	writing-mode: vertical-rl;
}

.scroll-cue svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.3;
	writing-mode: horizontal-tb;
	animation: cue-down 1.8s ease-in-out infinite;
}

.reading-principles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	max-width: var(--page-width);
	margin: 0 auto;
	padding: 36px 0 86px;
	border-bottom: 1px solid var(--line);
}

.reading-principles article {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 20px;
	min-height: 110px;
	padding: 16px 54px;
	border-right: 1px solid var(--line);
}

.reading-principles article:last-child {
	border-right: 0;
}

.principle-index {
	color: var(--forest-light);
	font-family: Georgia, serif;
	font-size: 36px;
	line-height: 1;
}

.reading-principles h2 {
	margin: 0 0 8px;
	font-family: var(--serif);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.2em;
}

.reading-principles p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 13px;
}

.section-shell {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
	gap: clamp(60px, 9vw, 130px);
	align-items: center;
	max-width: var(--page-width);
	margin: 0 auto;
	padding: 120px 30px;
}

.section-copy {
	max-width: 470px;
}

.section-number {
	margin: 0 0 20px;
	color: var(--forest-light);
	font-family: Georgia, serif;
	font-size: 13px;
	letter-spacing: 0.18em;
}

.section-copy h2,
.section-heading h2,
.contact-copy h2 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.08em;
}

.section-copy > p:not(.section-number),
.section-heading > p:not(.section-number),
.contact-copy > p:not(.section-number) {
	margin: 20px 0 0;
	color: var(--ink-soft);
	font-size: 15px;
	line-height: 2;
}

.level-control {
	margin-top: 40px;
}

.level-labels {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	color: var(--ink-soft);
	font-family: Georgia, serif;
	font-size: 12px;
	text-align: center;
}

.level-control input[type="range"] {
	width: 100%;
	height: 28px;
	margin: 5px 0;
	background: transparent;
	accent-color: var(--forest);
}

.level-control input[type="range"]::-webkit-slider-runnable-track {
	height: 2px;
	background: linear-gradient(90deg, var(--forest), #b6bdad);
}

.level-control input[type="range"]::-webkit-slider-thumb {
	width: 19px;
	height: 19px;
	margin-top: -8px;
	border: 4px solid var(--paper-light);
	border-radius: 50%;
	background: var(--forest);
	box-shadow: 0 0 0 1px var(--forest);
	appearance: none;
}

.level-status {
	display: flex;
	align-items: baseline;
	gap: 10px;
	color: var(--ink-soft);
	font-size: 12px;
}

.level-status strong {
	color: var(--ink);
	font-family: Georgia, serif;
	font-size: 18px;
}

.level-status span:last-child {
	margin-left: auto;
}

.paper-panel {
	position: relative;
	padding: 54px 58px;
	border: 1px solid rgba(49, 92, 61, 0.15);
	border-radius: 13px;
	background:
		linear-gradient(90deg, transparent 50px, rgba(185, 105, 75, 0.12) 51px, transparent 52px),
		repeating-linear-gradient(180deg, transparent 0 39px, rgba(49, 92, 61, 0.08) 40px),
		var(--paper-light);
	box-shadow: var(--shadow);
}

.paper-panel::before {
	position: absolute;
	z-index: -1;
	inset: 10px -10px -10px 10px;
	content: "";
	border: 1px solid var(--line);
	border-radius: inherit;
	background: #e8e4d8;
}

.article-preview p {
	margin: 0 0 19px;
	font-family: var(--serif);
	font-size: 19px;
	line-height: 2.1;
}

.english-unit {
	display: inline;
	margin: 0 4px;
	padding: 0 4px;
	color: var(--amber-dark);
	background: rgba(189, 115, 77, 0.1);
	transition: opacity 180ms ease, background 180ms ease;
}

.english-unit.hidden {
	color: transparent;
	background: transparent;
	opacity: 0;
	user-select: none;
}

.article-preview .article-meta {
	margin: 30px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	color: var(--ink-soft);
	font-family: var(--sans);
	font-size: 12px;
}

.discovery-section {
	position: relative;
}

.discovery-section::before {
	position: absolute;
	z-index: -1;
	inset: 0 calc((100vw - var(--page-width)) / -2);
	content: "";
	background: linear-gradient(90deg, rgba(219, 226, 208, 0.6), rgba(245, 241, 231, 0.2));
}

.discovery-visual {
	min-height: 520px;
}

.topic-orbit {
	position: relative;
	width: 100%;
	height: 520px;
}

.topic-orbit::before,
.topic-orbit::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 420px;
	height: 280px;
	border: 1px solid rgba(49, 92, 61, 0.14);
	border-radius: 50%;
	content: "";
	transform: translate(-50%, -50%) rotate(-18deg);
}

.topic-orbit::after {
	width: 310px;
	height: 390px;
	transform: translate(-50%, -50%) rotate(26deg);
}

.topic-orbit button {
	position: absolute;
	z-index: 3;
	min-width: 104px;
	padding: 11px 15px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	color: white;
	background: rgba(29, 55, 39, 0.82);
	box-shadow: 0 12px 30px rgba(21, 42, 29, 0.18);
	cursor: pointer;
	font-size: 12px;
	transition: transform 180ms ease, background 180ms ease;
}

.topic-orbit button:hover,
.topic-orbit button.active {
	background: var(--amber-dark);
	transform: scale(1.07);
}

.topic-orbit button:nth-child(1) { top: 12%; left: 24%; }
.topic-orbit button:nth-child(2) { top: 34%; right: 4%; }
.topic-orbit button:nth-child(3) { right: 18%; bottom: 7%; }
.topic-orbit button:nth-child(4) { bottom: 16%; left: 4%; }

.discovery-bottle {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	width: 160px;
	height: 245px;
	border: 2px solid rgba(255, 255, 255, 0.62);
	border-radius: 42% 42% 34% 34% / 20% 20% 56% 56%;
	background:
		radial-gradient(circle at 40% 27%, rgba(255, 255, 255, 0.6), transparent 10%),
		linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(95, 122, 88, 0.18));
	box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.42), 0 30px 60px rgba(45, 65, 46, 0.18);
	transform: translate(-50%, -50%) rotate(-4deg);
	backdrop-filter: blur(4px);
}

.discovery-bottle::before {
	position: absolute;
	top: -50px;
	left: 42px;
	width: 76px;
	height: 62px;
	border: 2px solid rgba(255, 255, 255, 0.62);
	border-bottom: 0;
	border-radius: 10px 10px 3px 3px;
	content: "";
	background: #a98b64;
	box-shadow: inset 0 0 0 10px rgba(92, 67, 44, 0.13);
}

.discovery-bottle span {
	position: absolute;
	right: 25px;
	bottom: 28px;
	left: 25px;
	height: 95px;
	border-radius: 50% 50% 30% 30%;
	background: linear-gradient(180deg, #90a578, #36583a);
	clip-path: polygon(0 45%, 17% 28%, 34% 43%, 48% 12%, 69% 46%, 82% 30%, 100% 48%, 100% 100%, 0 100%);
}

.discovery-section .button {
	margin-top: 28px;
}

.random-result {
	min-height: 28px;
	margin-top: 13px !important;
	font-family: var(--serif);
	font-size: 13px !important;
}

.growth-section {
	padding: 120px max(30px, calc((100vw - var(--page-width)) / 2));
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background:
		linear-gradient(rgba(248, 245, 236, 0.9), rgba(248, 245, 236, 0.9)),
		url("./assets/paper-sprout.jpg") center / cover;
}

.section-heading {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

.growth-path {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
	align-items: center;
	max-width: 930px;
	margin: 70px auto 0;
}

.growth-path article {
	text-align: center;
}

.growth-path article > span {
	display: grid;
	place-items: center;
	width: 104px;
	height: 104px;
	margin: 0 auto 17px;
	border: 1px solid rgba(49, 92, 61, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.58);
	box-shadow: inset 0 0 0 8px rgba(49, 92, 61, 0.04);
	font-family: var(--serif);
	font-size: 34px;
}

.growth-path h3 {
	margin: 0;
	font-family: var(--serif);
	font-size: 18px;
	letter-spacing: 0.12em;
}

.growth-path p {
	margin: 8px 0 0;
	color: var(--ink-soft);
	font-size: 12px;
}

.growth-path i {
	width: 58px;
	height: 1px;
	background: var(--moss);
}

.growth-path i::after {
	display: block;
	float: right;
	width: 7px;
	height: 7px;
	border-top: 1px solid var(--moss);
	border-right: 1px solid var(--moss);
	content: "";
	transform: translateY(-3px) rotate(45deg);
}

.reading-trace {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 40px;
	max-width: 760px;
	margin: 74px auto 0;
	padding: 34px 38px;
	border: 1px solid rgba(49, 92, 61, 0.13);
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.58);
	box-shadow: 0 18px 50px rgba(42, 55, 40, 0.08);
}

.reading-trace h3 {
	margin: 0 0 20px;
	font-family: var(--serif);
	font-size: 23px;
}

.reading-trace dl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 20px;
	margin: 0;
}

.reading-trace dl div {
	display: flex;
	flex-direction: column;
}

.reading-trace dt {
	color: var(--ink-soft);
	font-size: 11px;
}

.reading-trace dd {
	margin: 2px 0 0;
	font-family: Georgia, serif;
	font-size: 19px;
}

.reading-trace svg {
	align-self: end;
	width: 100%;
}

.chart-area {
	fill: rgba(93, 128, 86, 0.12);
}

.chart-line {
	fill: none;
	stroke: var(--forest);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 520;
	stroke-dashoffset: 520;
	transition: stroke-dashoffset 1.5s ease;
}

.reading-trace.visible .chart-line {
	stroke-dashoffset: 0;
}

.reader-section {
	grid-template-columns: 0.65fr 1.35fr;
}

.feature-list {
	display: grid;
	gap: 16px;
	margin: 38px 0 0;
	padding: 0;
	list-style: none;
	color: var(--ink-soft);
	font-size: 13px;
}

.feature-list li {
	display: flex;
	align-items: center;
	gap: 13px;
}

.feature-list span {
	display: grid;
	place-items: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(49, 92, 61, 0.2);
	border-radius: 50%;
	color: var(--forest);
	font-family: var(--serif);
}

.reader-demo {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 245px;
	min-height: 430px;
	border: 10px solid #c9c2ad;
	border-radius: 18px;
	background: var(--paper-light);
	box-shadow: var(--shadow);
}

.reader-demo::before {
	position: absolute;
	inset: -5px;
	border: 1px solid rgba(46, 63, 47, 0.36);
	border-radius: 12px;
	content: "";
	pointer-events: none;
}

.reader-page {
	padding: 58px 46px 40px;
	border-right: 1px solid var(--line);
	background:
		linear-gradient(90deg, transparent 52px, rgba(185, 105, 75, 0.1) 53px, transparent 54px),
		var(--paper-light);
}

.reader-page p {
	margin: 0 0 24px;
	font-family: var(--serif);
	font-size: 18px;
	line-height: 2.15;
}

.word-token {
	padding: 1px 5px;
	border: 0;
	color: var(--amber-dark);
	background: rgba(189, 115, 77, 0.11);
	cursor: pointer;
	font-family: Georgia, serif;
	font-size: 17px;
}

.word-token.active {
	outline: 1px solid rgba(189, 115, 77, 0.4);
	background: rgba(189, 115, 77, 0.2);
}

.reader-progress {
	position: absolute;
	bottom: 26px;
	left: 45px;
	width: 42%;
	height: 3px;
	background: #dad7cc;
}

.reader-progress span {
	display: block;
	width: 58%;
	height: 100%;
	background: var(--forest);
}

.word-card {
	padding: 44px 28px;
	background: rgba(235, 232, 221, 0.55);
}

.word-card > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.word-card > div p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 11px;
}

.word-card h3 {
	margin: 35px 0 0;
	font-family: Georgia, serif;
	font-size: 30px;
	font-weight: 500;
}

.word-card .phonetic {
	margin: 2px 0 22px;
	color: var(--ink-soft);
	font-family: Georgia, serif;
	font-size: 13px;
}

.word-card > p:last-of-type {
	min-height: 50px;
	margin: 0;
	font-size: 14px;
}

.sound-button {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.sound-button svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
}

.word-save {
	width: 100%;
	margin-top: 32px;
	padding: 10px;
	border: 1px solid rgba(49, 92, 61, 0.3);
	border-radius: 4px;
	background: transparent;
	cursor: pointer;
	font-size: 12px;
}

.word-save.saved {
	color: white;
	background: var(--forest);
}

.download-section {
	padding: 120px max(30px, calc((100vw - var(--page-width)) / 2));
	background: #ece8dc;
}

.platform-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 60px;
}

.platform-list article {
	position: relative;
	min-height: 260px;
	padding: 42px;
	border: 1px solid rgba(49, 92, 61, 0.13);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.58);
	box-shadow: 0 14px 36px rgba(42, 55, 40, 0.07);
}

.platform-list article::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	content: "";
	background: transparent;
}

.platform-list article.platform-current::before {
	background: var(--forest);
}

.platform-status {
	color: var(--forest-light);
	font-size: 11px;
	letter-spacing: 0.12em;
}

.platform-list h3 {
	margin: 14px 0 5px;
	font-family: Georgia, serif;
	font-size: 29px;
	font-weight: 500;
}

.platform-list p {
	min-height: 50px;
	margin: 0 0 26px;
	color: var(--ink-soft);
	font-size: 13px;
}

.platform-list .button {
	min-height: 42px;
	font-size: 12px;
}

.contact-section {
	position: relative;
	display: grid;
	grid-template-columns: 0.72fr 1.28fr;
	gap: 80px;
	max-width: var(--page-width);
	margin: 0 auto;
	padding: 120px 30px;
}

.contact-section::before {
	position: absolute;
	z-index: -1;
	inset: 55px -45px;
	border: 1px solid rgba(49, 92, 61, 0.1);
	content: "";
	background: rgba(250, 248, 241, 0.6);
	box-shadow: 0 18px 55px rgba(42, 55, 40, 0.06);
	transform: rotate(-0.4deg);
}

.contact-copy {
	position: relative;
}

.contact-mascot {
	margin: 35px auto -25px;
	transform: scale(0.68);
	transform-origin: left top;
}

.feedback-form {
	position: relative;
	padding: 42px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 18px 45px rgba(42, 55, 40, 0.08);
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.feedback-form label {
	display: grid;
	gap: 8px;
	margin-bottom: 20px;
}

.feedback-form label span {
	color: var(--ink-soft);
	font-size: 12px;
}

.feedback-form input,
.feedback-form textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid rgba(49, 92, 61, 0.25);
	border-radius: 0;
	outline: none;
	color: var(--ink);
	background: transparent;
	transition: border-color 180ms ease;
}

.feedback-form input {
	height: 44px;
}

.feedback-form textarea {
	padding: 12px 0;
	resize: vertical;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
	border-color: var(--forest);
}

.honey-field {
	display: none;
}

.form-submit {
	width: 100%;
}

.form-status {
	min-height: 24px;
	margin: 10px 0 0;
	color: var(--ink-soft);
	font-size: 12px;
	text-align: center;
}

.site-footer {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 38px;
	padding: 40px max(30px, calc((100vw - var(--page-width)) / 2));
	border-top: 1px solid var(--line);
	color: var(--ink-soft);
	background: #e6e2d6;
	font-size: 12px;
}

.footer-brand {
	color: var(--ink);
}

.site-footer nav {
	display: flex;
	gap: 24px;
}

.copyright {
	grid-column: 2 / -1;
	margin: -20px 0 0;
	text-align: right;
}

.toast {
	position: fixed;
	z-index: 100;
	right: 24px;
	bottom: 24px;
	max-width: min(380px, calc(100vw - 48px));
	padding: 13px 18px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	color: white;
	background: rgba(24, 60, 43, 0.94);
	box-shadow: 0 16px 40px rgba(16, 34, 24, 0.25);
	font-size: 13px;
	opacity: 0;
	transform: translateY(18px);
	pointer-events: none;
	transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
	opacity: 1;
	transform: translateY(0);
}

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes leaf-drift {
	0%, 100% { translate: 0 0; rotate: 0deg; }
	50% { translate: 16px -20px; rotate: 12deg; }
}

@keyframes cue-down {
	0%, 100% { transform: translateY(0); opacity: 0.5; }
	50% { transform: translateY(7px); opacity: 1; }
}

@media (max-width: 1020px) {
	.site-header {
		grid-template-columns: auto 1fr auto;
		padding: 0 24px;
	}

	.site-nav {
		gap: 20px;
	}

	.hero {
		grid-template-columns: 1fr 0.9fr;
		padding-right: 26px;
		padding-left: 40px;
	}

	.hero-stage {
		width: 48vw;
	}

	.hero-stage .mascot {
		width: 190px;
		height: 206px;
	}

	.section-shell {
		gap: 50px;
	}

	.reading-principles article {
		padding: 15px 25px;
	}

	.reader-demo {
		grid-template-columns: 1fr 210px;
	}
}

@media (max-width: 820px) {
	:root {
		--header-height: 68px;
	}

	.site-header {
		grid-template-columns: auto auto;
		justify-content: space-between;
	}

	.header-download {
		display: none;
	}

	.menu-button {
		display: block;
	}

	.menu-button[aria-expanded="true"] span:first-child {
		transform: translateY(4px) rotate(45deg);
	}

	.menu-button[aria-expanded="true"] span:last-child {
		transform: translateY(-4px) rotate(-45deg);
	}

	.site-nav {
		position: fixed;
		top: var(--header-height);
		right: 16px;
		left: 16px;
		display: grid;
		gap: 0;
		padding: 18px;
		border: 1px solid var(--line);
		border-radius: 12px;
		background: rgba(248, 245, 237, 0.97);
		box-shadow: var(--shadow);
		opacity: 0;
		transform: translateY(-12px);
		pointer-events: none;
		transition: opacity 180ms ease, transform 180ms ease;
	}

	.site-nav.open {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.site-nav a {
		padding: 13px;
		border-bottom: 1px solid var(--line);
	}

	.site-nav a:last-child {
		border-bottom: 0;
	}

	.site-nav a::after {
		display: none;
	}

	.hero {
		display: block;
		min-height: 980px;
		padding: 130px 28px 100px;
	}

	.hero h1 {
		font-size: clamp(42px, 10vw, 62px);
		letter-spacing: 0.06em;
	}

	.hero-content {
		max-width: 600px;
		padding: 0;
	}

	.hero-stage {
		width: min(620px, 94vw);
		margin: 25px auto 0;
	}

	.hero-stage .mascot {
		top: 17%;
		left: 32%;
	}

	.hero-landscape {
		inset: 43% -10% 7% 0;
	}

	.scroll-cue {
		display: none;
	}

	.reading-principles {
		grid-template-columns: 1fr;
		padding: 30px;
	}

	.reading-principles article {
		min-height: auto;
		padding: 24px 0;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.reading-principles article:last-child {
		border-bottom: 0;
	}

	.section-shell,
	.reader-section,
	.contact-section {
		grid-template-columns: 1fr;
		gap: 55px;
		padding: 90px 28px;
	}

	.section-copy {
		max-width: none;
	}

	.discovery-section::before {
		inset: 0;
	}

	.discovery-visual {
		order: 2;
	}

	.growth-section,
	.download-section {
		padding: 90px 28px;
	}

	.growth-path {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}

	.growth-path i {
		display: none;
	}

	.reading-trace {
		grid-template-columns: 1fr;
	}

	.platform-list {
		grid-template-columns: 1fr;
	}

	.contact-section::before {
		inset: 40px 14px;
	}

	.contact-mascot {
		position: absolute;
		right: 0;
		bottom: -100px;
	}

	.site-footer {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.site-footer nav {
		justify-content: center;
	}

	.footer-brand {
		justify-self: center;
	}

	.copyright {
		grid-column: auto;
		margin: 0;
		text-align: center;
	}
}

@media (max-width: 560px) {
	.brand-copy strong {
		font-size: 15px;
	}

	.hero {
		min-height: 850px;
		padding-top: 112px;
	}

	.hero-intro {
		font-size: 15px;
	}

	.hero-actions {
		align-items: stretch;
		flex-direction: column;
		max-width: 290px;
	}

	.hero-stage {
		width: 112vw;
		margin-left: -14vw;
	}

	.hero-stage .mascot {
		top: 20%;
		left: 36%;
		width: 155px;
		height: 168px;
	}

	.hero-sprout {
		right: 4%;
		transform: scale(0.72);
	}

	.paper-opening {
		left: 26%;
	}

	.article-preview {
		padding: 38px 28px;
	}

	.article-preview p {
		font-size: 16px;
	}

	.topic-orbit {
		height: 440px;
		transform: scale(0.87);
	}

	.growth-path {
		grid-template-columns: 1fr;
	}

	.reading-trace {
		padding: 28px 24px;
	}

	.reader-demo {
		grid-template-columns: 1fr;
		border-width: 7px;
	}

	.reader-page {
		padding: 42px 25px 54px;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.word-card {
		padding: 28px 25px;
	}

	.platform-list article {
		padding: 34px 28px;
	}

	.form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.feedback-form {
		padding: 30px 22px;
	}

	.site-footer nav {
		flex-direction: column;
		gap: 9px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}
