:root {
	--color-primary: #2fbe82;
	--color-primary-hover: #26a06d;
	--color-primary-soft: #47d098;
	--color-primary-tint: rgba(47, 190, 130, 0.14);
	--color-sage: #3d9e72;
	--color-accent-pink: #f48fb1;
	--color-accent-blue: #3ec9d6;
	--color-sand: #efe7d8;
	--color-success: #2fbe82;
	--color-danger: #e53935;
	--color-text: #152822;
	--color-text-muted: #2d4a3e;
	--color-bg: #f4faf7;
	--color-surface: #ffffff;
	--color-bg-muted: #e8f3ed;
	--color-border: rgba(21, 40, 34, 0.1);
	--shadow-card: 0 2px 8px rgba(0, 0, 0, 0.05);
	--shadow-card-hover: 0 12px 28px rgba(0, 0, 0, 0.08);
	--radius-sm: 12px;
	--radius-md: 16px;
	--font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
	--text-body: 15px;
	--text-small: 13px;
	--leading: 1.55;
	--header-h: 72px;
	--container: 1200px;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
}

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--text-body);
	line-height: var(--leading);
	color: var(--color-text);
	background: var(--color-bg);
}

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

a {
	color: var(--color-primary-soft);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.2s var(--ease);
}

a:hover {
	color: var(--color-primary);
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	padding: 0.75rem 1rem;
	background: var(--color-primary);
	color: #fff;
	z-index: 200;
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.5rem, 6vw, 5rem);
}

/* Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding-top: env(safe-area-inset-top, 0px);
	background: rgba(244, 250, 247, 0.9);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--color-border);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: var(--header-h);
	gap: 0.75rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: var(--color-text);
	font-weight: 700;
	font-size: 1.125rem;
	flex-shrink: 0;
	min-width: 0;
	max-width: calc(100% - 48px - 0.75rem);
}

.brand__name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.brand:hover {
	color: var(--color-text);
}

.brand__logo-wrap {
	flex-shrink: 0;
}

.brand__logo {
	border-radius: 10px;
}

.brand--footer .brand__name {
	font-size: 1rem;
}

.nav-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 48px;
	height: 48px;
	min-width: 48px;
	min-height: 48px;
	padding: 0;
	margin-left: auto;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: var(--radius-sm);
	flex-shrink: 0;
}

.nav-toggle:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

.nav-toggle__bar {
	display: block;
	height: 2px;
	width: 22px;
	background: var(--color-text);
	border-radius: 2px;
	margin-inline: auto;
	transition:
		transform 0.25s var(--ease),
		opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.nav {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1.25rem;
}

.nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.nav__link {
	position: relative;
	display: inline-block;
	padding: 0.5rem 0.25rem;
	color: var(--color-text);
	text-decoration: none;
	font-weight: 500;
}

.nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0.15rem;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--color-primary), var(--color-accent-blue));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.28s var(--ease);
	border-radius: 2px;
}

.nav__link:hover {
	color: var(--color-primary-soft);
}

.nav__link:hover::after {
	transform: scaleX(1);
}

@media (max-width: 767px) {
	:root {
		--header-h: 64px;
	}

	.header .container {
		padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
	}

	.header__inner {
		gap: 0.5rem;
	}

	.brand {
		font-size: 1.0625rem;
		gap: 0.45rem;
		max-width: calc(100% - 48px - 0.5rem);
	}

	.brand__logo {
		width: 40px;
		height: 40px;
	}

	.nav-toggle {
		display: flex;
	}

	.nav {
		position: fixed;
		top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-width: 100%;
		background: var(--color-bg);
		padding: 1rem max(1.25rem, env(safe-area-inset-left, 0px)) calc(1.5rem + env(safe-area-inset-bottom, 0px))
			max(1.25rem, env(safe-area-inset-right, 0px));
		transform: translateX(100%);
		transition: transform 0.3s var(--ease);
		overflow-y: auto;
		box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
		z-index: 99;
	}

	.nav.is-open {
		transform: translateX(0);
	}

	.nav__list {
		gap: 0;
	}

	.nav__list li {
		border-bottom: 1px solid var(--color-border);
	}

	.nav__link {
		display: block;
		padding: 1rem 0.25rem;
		font-size: 1.0625rem;
	}
}

@media (min-width: 768px) {
	.nav-toggle {
		display: none;
	}

	.header__inner {
		display: flex;
		align-items: center;
		gap: 1rem;
	}

	.brand {
		flex-shrink: 0;
		max-width: none;
	}

	.nav {
		flex-direction: row;
		align-items: center;
		gap: 1.5rem;
		position: static;
		padding: 0;
		transform: none;
		box-shadow: none;
		overflow: visible;
		flex: 1;
		min-width: 0;
		justify-content: flex-end;
	}

	.nav__list {
		flex-direction: row;
		flex: 0 1 auto;
		justify-content: flex-end;
		gap: 1.25rem;
	}
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.55rem 1.1rem;
	font-family: inherit;
	font-size: var(--text-small);
	font-weight: 600;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		border-color 0.2s var(--ease),
		transform 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}

.btn--sm {
	padding: 0.45rem 0.95rem;
	font-size: 13px;
}

.btn--lg {
	padding: 0.85rem 1.5rem;
	font-size: 15px;
}

.btn--primary {
	background: var(--color-primary);
	color: #fff;
	box-shadow: 0 4px 18px rgba(47, 190, 130, 0.42);
}

.btn--primary:hover {
	background: var(--color-primary-hover);
	color: #fff;
	transform: scale(1.02);
}

.btn--outline {
	background: transparent;
	color: var(--color-primary-soft);
	border-color: rgba(47, 190, 130, 0.5);
}

.btn--outline:hover {
	background: var(--color-primary-tint);
	color: var(--color-primary);
	transform: scale(1.02);
}

.btn--ghost {
	background: transparent;
	color: var(--color-text);
	border-color: transparent;
}

.btn--ghost:hover {
	background: var(--color-bg-muted);
	color: var(--color-text);
	transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
	.btn--primary:hover,
	.btn--outline:hover,
	.btn--ghost:hover {
		transform: none;
	}
}

/* Hero — 整屏首屏，下方内容需滚动进入 */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	padding: calc(env(safe-area-inset-top, 0px) + var(--header-h) + clamp(1.5rem, 4vw, 2.5rem)) 0 clamp(4rem, 8vh, 5rem);
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 92% 58% at 14% 18%, rgba(47, 190, 130, 0.38) 0%, transparent 55%),
		radial-gradient(ellipse 70% 50% at 88% 72%, rgba(47, 190, 130, 0.18) 0%, transparent 48%),
		linear-gradient(168deg, #9fdcc0 0%, #b8e8d2 28%, #d4f0e5 58%, #eaf7f0 100%);
	z-index: 0;
}

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 38%, rgba(244, 250, 247, 0.55) 100%);
	pointer-events: none;
}

.hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	gap: clamp(2.25rem, 6vw, 4rem);
	align-items: center;
	width: 100%;
}

.hero__copy {
	max-width: min(36rem, 100%);
	min-width: 0;
}

.hero__visual {
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
}

@media (min-width: 900px) {
	.hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(2rem, 4vw, 3.5rem);
		align-items: center;
	}

	.hero__visual {
		padding-left: clamp(0.25rem, 2vw, 1rem);
	}

	.hero__illustration {
		max-width: min(100%, 560px);
	}
}

@keyframes hero-reveal {
	from {
		opacity: 0;
		transform: translateY(36px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes hero-slide {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-18px);
	}
}

.hero__visual-reveal {
	animation: hero-reveal 0.88s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	opacity: 0;
}

.hero__visual-slide {
	animation: hero-slide 4.2s ease-in-out 0.9s infinite;
}

.hero__illustration {
	width: 100%;
	max-width: min(100%, 420px);
	height: auto;
	display: block;
	filter: drop-shadow(0 28px 56px rgba(13, 40, 32, 0.22)) drop-shadow(0 12px 28px rgba(13, 40, 32, 0.12))
		drop-shadow(0 4px 12px rgba(47, 190, 130, 0.18));
	transition:
		transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		filter 0.5s ease;
}

@media (min-width: 600px) {
	.hero__illustration {
		max-width: min(100%, 480px);
	}
}

@media (hover: hover) and (pointer: fine) {
	.hero__visual:hover .hero__illustration {
		transform: scale(1.045) translateY(-10px);
		filter: drop-shadow(0 40px 72px rgba(13, 40, 32, 0.3)) drop-shadow(0 18px 36px rgba(13, 40, 32, 0.16))
			drop-shadow(0 8px 20px rgba(47, 190, 130, 0.32));
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__visual-reveal {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.hero__visual-slide {
		animation: none;
	}

	.hero__illustration {
		transition: filter 0.35s ease;
		filter: drop-shadow(0 16px 32px rgba(13, 40, 32, 0.16)) drop-shadow(0 6px 14px rgba(47, 190, 130, 0.12));
	}
}

@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) {
	.hero__visual:hover .hero__illustration {
		transform: none;
		filter: drop-shadow(0 22px 40px rgba(13, 40, 32, 0.2)) drop-shadow(0 8px 18px rgba(47, 190, 130, 0.18));
	}
}

.hero__eyebrow {
	margin: 0 0 0.75rem;
	font-size: var(--text-small);
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #0f6b4a;
	text-transform: uppercase;
}

.hero__title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #0a3d2c;
}

.hero__subtitle {
	margin: 0 0 1.75rem;
	font-size: clamp(1rem, 2vw, 1.125rem);
	color: #1a4d3c;
	max-width: 40em;
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.hero__note {
	margin: 0;
	font-size: var(--text-small);
	color: #2d5c48;
}

.hero__note strong {
	color: #0f7a55;
	font-weight: 700;
}

.hero__note-mark {
	cursor: help;
	color: var(--color-danger);
	font-size: 0.85em;
}

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: clamp(1rem, 3vh, 1.75rem);
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	padding: 0.5rem 1rem;
	font-size: var(--text-small);
	font-weight: 600;
	color: #0f7a55;
	text-decoration: none;
	opacity: 0.9;
	transition:
		opacity 0.2s var(--ease),
		transform 0.2s var(--ease);
}

.hero__scroll:hover {
	opacity: 1;
	color: #0a5c3f;
	transform: translateX(-50%) translateY(4px);
}

.hero__scroll-icon {
	display: block;
	width: 22px;
	height: 22px;
	border: 2px solid currentColor;
	border-radius: 50%;
	position: relative;
}

.hero__scroll-icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 5px;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateX(-50%) rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
	.hero__scroll:hover {
		transform: translateX(-50%);
	}
}

/* 首屏下方：App 设计稿展示 */
.app-preview {
	background: #e6f9f0;
	overflow-y: hidden;
	box-shadow:
		0 -12px 40px -10px rgba(21, 40, 34, 0.16),
		0 -4px 16px -6px rgba(21, 40, 34, 0.08),
		0 14px 44px -12px rgba(21, 40, 34, 0.15),
		0 6px 20px -8px rgba(21, 40, 34, 0.1);
}

.app-preview__grid {
	position: relative;
	z-index: 0;
	isolation: isolate;
	display: grid;
	gap: clamp(1.5rem, 4vw, 2.5rem);
	align-items: center;
}

@media (min-width: 900px) {
	.app-preview__grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		gap: clamp(1.25rem, 3vw, 2rem);
	}
}

.app-preview__visual {
	z-index: 0;
	min-width: 0;
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-inline: calc(-1 * clamp(0.75rem, 3vw, 1.5rem));
	padding-block: 0.25rem;
	min-height: min(58vw, 480px);
}

@media (min-width: 900px) {
	.app-preview__visual {
		min-height: min(32vw, 520px);
		margin-inline: calc(-1 * clamp(0.75rem, 3vw, 1.5rem)) 0;
	}
}

.app-preview__img {
	--img-zoom: 1.28;
	--img-shift: -3.5%;
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	border-radius: 0;
	box-shadow: none;
	transform: translateX(var(--img-shift)) scale(var(--img-zoom));
	transform-origin: 30% 50%;
	transition: transform 0.65s cubic-bezier(0.22, 1, 0.32, 1);
}

.app-preview__visual:hover .app-preview__img {
	--img-zoom: 1.36;
	--img-shift: -15%;
}

@media (min-width: 600px) {
	.app-preview__img {
		--img-zoom: 1.36;
		--img-shift: -4.5%;
		transform-origin: 28% 50%;
	}

	.app-preview__visual:hover .app-preview__img {
		--img-zoom: 1.45;
		--img-shift: -8.5%;
	}
}

@media (min-width: 900px) {
	.app-preview__img {
		--img-zoom: 1.48;
		--img-shift: -5.5%;
		transform-origin: 16% 50%;
	}

	.app-preview__visual:hover .app-preview__img {
		--img-zoom: 1.58;
		--img-shift: -10%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.app-preview__img {
		transition: none;
	}
}

.app-preview__copy {
	position: relative;
	z-index: 1;
	max-width: 32rem;
	min-width: 0;
}

@media (min-width: 900px) {
	.app-preview__copy {
		justify-self: end;
	}
}

.app-preview__title {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 2.8vw, 1.85rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #1a1a1a;
}

.app-preview__title-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(47, 190, 130, 0.25);
	flex-shrink: 0;
}

.app-preview__desc {
	margin: 0 0 1.5rem;
	font-size: 1.02rem;
	line-height: 1.65;
	color: #4a5c56;
}

.btn--coop {
	display: inline-flex;
	width: 100%;
	max-width: 100%;
	justify-content: center;
	padding: 0.9rem 1.35rem;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	text-decoration-thickness: 0;
	border: none;
	border-radius: 999px;
	background: linear-gradient(90deg, #3ecf8a 0%, #2fbe82 45%, #26a06d 100%);
	box-shadow: 0 6px 24px rgba(47, 190, 130, 0.45);
	word-break: break-all;
}

@media (min-width: 480px) {
	.btn--coop {
		width: auto;
		max-width: none;
		word-break: normal;
	}
}

.btn--coop:hover {
	color: #fff;
	filter: brightness(1.04);
	transform: scale(1.02);
	box-shadow: 0 8px 28px rgba(38, 160, 109, 0.5);
}

.btn--coop:focus-visible {
	outline: 2px solid var(--color-primary-hover);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.btn--coop:hover {
		transform: none;
	}
}

/* Sections */
.section {
	padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.section--muted {
	background: var(--color-bg-muted);
}

.section__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 2.5rem;
}

.section__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
}

.section__desc {
	margin: 0;
	color: var(--color-text-muted);
	font-size: 1.05rem;
}

/* Grid & cards */
.grid {
	display: grid;
	gap: 1.25rem;
}

.grid--features {
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.grid--features {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1200px) {
	.grid--features {
		grid-template-columns: repeat(4, 1fr);
	}
}

.card {
	background: var(--color-surface);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	padding: 1.5rem 1.35rem;
	transition:
		transform 0.25s var(--ease),
		box-shadow 0.25s var(--ease);
}

.card--feature:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-card-hover);
}

@media (prefers-reduced-motion: reduce) {
	.card--feature:hover {
		transform: none;
	}
}

.card__icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	color: var(--color-primary-soft);
	background: linear-gradient(145deg, rgba(47, 190, 130, 0.18), rgba(62, 201, 214, 0.14));
	border-radius: var(--radius-sm);
}

.icon-line {
	width: 28px;
	height: 28px;
}

.card__title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 700;
}

.card__text {
	margin: 0 0 1rem;
	color: var(--color-text-muted);
	font-size: var(--text-body);
}

.card__more {
	font-weight: 600;
	font-size: var(--text-small);
	text-decoration: none;
	color: var(--color-primary-soft);
}

.card__more:hover {
	color: var(--color-primary);
}

/* Tabs（发现区记录工具卡片复用 panel 样式） */
.discover-tools {
	max-width: 800px;
	margin-inline: auto;
}

.tabs {
	max-width: 800px;
	margin-inline: auto;
}

.tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	justify-content: center;
}

.tabs__tab {
	font-family: inherit;
	font-size: var(--text-small);
	font-weight: 600;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	border: 2px solid var(--color-border);
	background: var(--color-surface);
	color: var(--color-text-muted);
	cursor: pointer;
	transition:
		background 0.2s,
		color 0.2s,
		border-color 0.2s;
}

.tabs__tab:hover {
	border-color: rgba(47, 190, 130, 0.4);
	color: var(--color-text);
}

.tabs__tab[aria-selected="true"] {
	background: var(--color-primary-tint);
	border-color: var(--color-primary-soft);
	color: var(--color-text);
}

.tabs__tab:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

.tabs__panel {
	background: var(--color-surface);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	padding: 1.75rem 1.5rem;
	border: 1px solid var(--color-border);
}

.tabs__panel.is-hidden {
	display: none;
}

.tabs__panel-title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
}

.tabs__panel-text {
	margin: 0 0 1rem;
	color: var(--color-text-muted);
}

.tabs__bullets {
	margin: 0;
	padding-left: 1.2rem;
	color: var(--color-text-muted);
}

.tabs__bullets li {
	margin-bottom: 0.35rem;
}

/* Stats */
.stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.stats {
		grid-template-columns: repeat(3, 1fr);
	}
}

.stat {
	background: var(--color-surface);
	border-radius: var(--radius-md);
	padding: 1.5rem;
	box-shadow: var(--shadow-card);
	text-align: center;
	border: 1px solid var(--color-border);
}

.stat__value {
	display: block;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	color: var(--color-primary-soft);
	letter-spacing: -0.02em;
}

.stat__suffix {
	font-size: 0.55em;
	font-weight: 700;
	margin-left: 0.1em;
}

.stat__label {
	display: block;
	margin-top: 0.35rem;
	font-size: var(--text-small);
	color: var(--color-text-muted);
}

.stat__mark {
	color: var(--color-danger);
	cursor: help;
}

.expert {
	background: linear-gradient(120deg, rgba(47, 190, 130, 0.12), rgba(239, 231, 216, 0.45));
	border-radius: var(--radius-md);
	padding: 1.5rem 1.35rem;
	margin-bottom: 2.5rem;
	border: 1px solid var(--color-border);
}

.expert__title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
}

.expert__text {
	margin: 0;
	color: var(--color-text-muted);
}

/* Testimonials */
.testimonials__heading {
	text-align: center;
	margin: 0 0 1.5rem;
	font-size: 1.35rem;
}

.grid--testimonials {
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.grid--testimonials {
		grid-template-columns: repeat(3, 1fr);
	}
}

.quote {
	margin: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.quote__index {
	position: absolute;
	top: 0.35rem;
	left: 0.5rem;
	right: auto;
	font-size: clamp(4.5rem, 12vw, 6.5rem);
	font-weight: 800;
	line-height: 1;
	color: color-mix(in srgb, var(--color-primary) 10%, transparent);
	pointer-events: none;
	user-select: none;
	z-index: 0;
}

@supports not (color: color-mix(in srgb, white, black)) {
	.quote__index {
		color: rgba(47, 190, 130, 0.1);
	}
}

.quote__text {
	margin: 0 0 1rem;
	font-size: var(--text-body);
	flex: 1;
	position: relative;
	z-index: 1;
	padding-left: 4.5rem;
}

.quote__cite {
	font-size: var(--text-small);
	color: var(--color-text-muted);
	position: relative;
	z-index: 1;
	padding-left: 4.5rem;
}

/* Footer */
.footer {
	position: relative;
	background: color-mix(in srgb, var(--color-primary) 28%, #0d2820 72%);
	color: #fff;
	padding: clamp(2.5rem, 5vw, 3.5rem) 0 calc(2rem + env(safe-area-inset-bottom, 0px));
}

@supports not (background: color-mix(in srgb, white, black)) {
	.footer {
		background: #185544;
	}
}

.footer a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer a:hover {
	border-bottom-color: #fff;
}

.footer__main {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 768px) {
	.footer__main {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		align-items: start;
		gap: clamp(2.5rem, 6vw, 4rem);
	}
}

.footer__title {
	margin: 0 0 1rem;
	font-size: clamp(1.125rem, 2vw, 1.25rem);
	font-weight: 700;
	color: #fff;
}

.footer__text {
	margin: 0;
	font-size: var(--text-body);
	line-height: var(--leading);
	color: rgba(255, 255, 255, 0.88);
	max-width: 36em;
}

.footer__contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer__contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: var(--text-body);
	line-height: var(--leading);
	color: rgba(255, 255, 255, 0.9);
}

.footer__contact-list a {
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 0.15rem;
	color: rgba(255, 255, 255, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer__icon svg {
	display: block;
}

.footer__legal {
	margin-top: clamp(2rem, 4vw, 2.75rem);
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	text-align: center;
}

.footer__copy {
	margin: 0 0 0.5rem;
	font-size: var(--text-small);
	color: rgba(255, 255, 255, 0.75);
}

.footer__icp-wrap {
	margin: 0;
}

.footer__icp {
	font-size: var(--text-small);
	color: rgba(255, 255, 255, 0.75);
	border-bottom-color: rgba(255, 255, 255, 0.35);
}

.footer__icp:hover {
	color: #fff;
	border-bottom-color: #fff;
}

.footer__help {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right, 0px));
	bottom: max(1rem, env(safe-area-inset-bottom, 0px));
	z-index: 90;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(13, 40, 32, 0.92);
	color: #fff;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	transition:
		background 0.2s var(--ease),
		transform 0.2s var(--ease);
}

.footer__help:hover {
	background: rgba(10, 32, 26, 0.98);
	color: #fff;
	transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
	.footer__help:hover {
		transform: none;
	}
}

/* Reveal animation */
.reveal {
	opacity: 0;
	transform: translateY(16px);
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity 0.55s var(--ease),
		transform 0.55s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
	}

	.reveal.is-visible {
		transition: none;
	}
}
