/* ==========================================================================
   千诺科技自动浇花器官网 · 样式表
   本文件完整保留原高保真原型的全部 CSS 变量与组件类名，
   仅在文件末尾追加「动态渲染所需」的少量新规则，
   以最大限度降低视觉回归风险。
   ========================================================================== */

/* ------------------------------------------------------------------ 基础变量 */
:root {
	color-scheme: light dark;
	--background: hsl(0 0% 100%);
	--foreground: hsl(210 8% 12%);
	--card: hsl(0 0% 100%);
	--card-foreground: hsl(210 8% 12%);
	--popover: hsl(0 0% 100%);
	--popover-foreground: hsl(210 8% 12%);
	--primary: hsl(210 8% 14%);
	--primary-foreground: hsl(0 0% 100%);
	--secondary: hsl(210 14% 96%);
	--secondary-foreground: hsl(210 8% 20%);
	--muted: hsl(210 14% 96%);
	--muted-foreground: hsl(210 6% 44%);
	--accent: hsl(210 14% 94%);
	--accent-foreground: hsl(210 8% 20%);
	--border: hsl(210 14% 88%);
	--input: hsl(210 14% 88%);
	--ring: hsl(196 70% 66%);
	--brand: hsl(196 67% 66%);
	--brand-bright: hsl(193 97% 51%);
	--success: hsl(146 58% 40%);
	--success-foreground: hsl(0 0% 100%);
	--warning: hsl(40 90% 50%);
	--warning-foreground: hsl(40 60% 14%);
	--destructive: hsl(0 72% 51%);
	--destructive-foreground: hsl(0 0% 100%);
	--info: hsl(196 70% 46%);
	--info-foreground: hsl(0 0% 100%);
	--radius: 0.5rem;
}
@media (prefers-color-scheme: dark) {
	:root {
		--background: hsl(210 11% 5%);
		--foreground: hsl(210 9% 93%);
		--card: hsl(210 10% 8%);
		--card-foreground: hsl(210 9% 93%);
		--popover: hsl(210 10% 8%);
		--popover-foreground: hsl(210 9% 93%);
		--primary: hsl(210 9% 94%);
		--primary-foreground: hsl(210 11% 5%);
		--secondary: hsl(210 8% 13%);
		--secondary-foreground: hsl(210 9% 93%);
		--muted: hsl(210 8% 13%);
		--muted-foreground: hsl(210 6% 60%);
		--accent: hsl(210 8% 15%);
		--accent-foreground: hsl(210 9% 93%);
		--border: hsl(210 9% 16%);
		--input: hsl(210 9% 18%);
		--ring: hsl(210 8% 50%);
		--brand: hsl(195 69% 66%);
		--brand-bright: hsl(191 98% 51%);
		--success: hsl(147 83% 71%);
		--success-foreground: hsl(147 35% 16%);
		--warning: hsl(42 100% 75%);
		--warning-foreground: hsl(42 60% 16%);
		--destructive: hsl(0 72% 58%);
		--destructive-foreground: hsl(0 0% 100%);
		--info: hsl(195 69% 66%);
		--info-foreground: hsl(195 40% 16%);
	}
}
* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
}
body {
	padding: 16px;
	font: 14px/1.5 var(--font-sans, system-ui, -apple-system, Segoe UI, sans-serif);
	background: var(--background);
	color: var(--foreground);
}
img,
svg,
canvas,
video,
table,
pre {
	max-width: 100%;
}
table {
	border-collapse: collapse;
}

/* ==========================================================================
   以下为原型的 .qn-site 组件样式（保持原样）
   ========================================================================== */
.qn-site {
	--accent: var(--primary);
	--accentText: var(--primary-foreground);
	--soft: color-mix(in srgb, var(--primary) 9%, var(--card));
	--soft2: color-mix(in srgb, var(--primary) 15%, var(--card));
	--ink: var(--foreground);
	--sub: var(--muted-foreground);
	--line: var(--border);
	--shadow: 0 18px 50px color-mix(in srgb, var(--foreground) 10%, transparent);
	font-family: var(--font-sans);
	color: var(--ink);
	width: 100%;
	background: transparent;
	position: relative;
}
.qn-site * {
	box-sizing: border-box;
}
.qn-site button,
.qn-site input,
.qn-site select,
.qn-site textarea {
	font: inherit;
}
.qn-wrap {
	width: min(100%, 1100px);
	margin: 0 auto;
	padding: 0 20px;
}
.qn-nav {
	position: sticky;
	top: 0;
	z-index: 20;
	background: color-mix(in srgb, var(--card) 92%, transparent);
	backdrop-filter: blur(16px);
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 6px);
	margin-bottom: 14px;
}
.qn-navin {
	height: 66px;
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 0 18px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: max-content;
}
.brandmark {
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: var(--accent);
	color: var(--accentText);
	display: grid;
	place-items: center;
	font-weight: 900;
	letter-spacing: -2px;
	overflow: hidden;
}
.brandmark img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.brandname {
	font-weight: 800;
	line-height: 1.05;
}
.brandname small {
	display: block;
	color: var(--sub);
	font-size: 10px;
	letter-spacing: 0.14em;
	margin-top: 3px;
}
.navlinks {
	display: flex;
	gap: 18px;
	margin-left: auto;
}
.navlinks button,
.lang {
	border: 0;
	background: transparent;
	color: var(--sub);
	padding: 8px 0;
	cursor: pointer;
}
.navlinks button:hover,
.lang:hover {
	color: var(--ink);
}
.actions {
	display: flex;
	align-items: center;
	gap: 9px;
}
.btn {
	border: 1px solid var(--line);
	background: var(--card);
	color: var(--ink);
	height: 42px;
	padding: 0 17px;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 700;
	transition:
		0.2s transform,
		0.2s background;
}
.btn:hover {
	transform: translateY(-2px);
}
.btn.primary {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--accentText);
}
.btn.ghost {
	background: transparent;
}
.menuBtn {
	display: none;
}
.hero {
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 14px);
	background: linear-gradient(135deg, var(--card), var(--soft));
	overflow: hidden;
	position: relative;
}
.hero:after {
	content: "";
	position: absolute;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	right: -90px;
	top: -100px;
	background: color-mix(in srgb, var(--primary) 15%, transparent);
	filter: blur(8px);
}
.heroGrid {
	min-height: 560px;
	padding: 70px 50px 46px;
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: 32px;
	align-items: center;
	position: relative;
	z-index: 1;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--line);
	background: color-mix(in srgb, var(--card) 78%, transparent);
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--sub);
	font-size: 13px;
	font-weight: 700;
}
.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--success);
}
h1 {
	font-size: clamp(42px, 5.4vw, 72px);
	line-height: 1.02;
	letter-spacing: -0.055em;
	margin: 20px 0 20px;
	max-width: 650px;
}
.hero p {
	font-size: 18px;
	line-height: 1.75;
	color: var(--sub);
	max-width: 590px;
}
.heroActions {
	display: flex;
	gap: 11px;
	margin-top: 28px;
}
.micro {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 28px;
	color: var(--sub);
	font-size: 13px;
}
.micro span:before {
	content: "✓";
	color: var(--success);
	font-weight: 900;
	margin-right: 6px;
}
.productStage {
	position: relative;
	min-height: 410px;
	display: grid;
	place-items: center;
}
.halo {
	position: absolute;
	width: 88%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, var(--soft2), transparent 68%);
}
.productSvg {
	width: 100%;
	max-width: 470px;
	filter: drop-shadow(0 28px 28px color-mix(in srgb, var(--foreground) 18%, transparent));
	animation: float 5s ease-in-out infinite;
}
.productImage {
	width: 100%;
	max-width: 470px;
	border-radius: calc(var(--radius) + 10px);
	filter: drop-shadow(0 28px 28px color-mix(in srgb, var(--foreground) 18%, transparent));
	animation: float 5s ease-in-out infinite;
}
.waterPath {
	stroke-dasharray: 7 9;
	animation: flow 2s linear infinite;
}
.badge {
	position: absolute;
	border: 1px solid var(--line);
	background: color-mix(in srgb, var(--card) 88%, transparent);
	backdrop-filter: blur(10px);
	border-radius: 16px;
	padding: 12px 14px;
	box-shadow: var(--shadow);
	font-size: 12px;
	color: var(--sub);
}
.badge strong {
	display: block;
	color: var(--ink);
	font-size: 15px;
	margin-bottom: 3px;
}
.badge.one {
	left: 0;
	top: 35px;
}
.badge.two {
	right: 0;
	bottom: 42px;
}
.trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	margin: 14px 0;
}
.stat {
	background: var(--card);
	padding: 22px 18px;
	text-align: center;
}
.stat b {
	display: block;
	font-size: 24px;
}
.stat span {
	font-size: 12px;
	color: var(--sub);
}
.section {
	padding: 78px 0;
}
.sectionHead {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: end;
	margin-bottom: 28px;
}
.kicker {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--accent);
	font-weight: 800;
}
.section h2 {
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.08;
	letter-spacing: -0.04em;
	margin: 8px 0 0;
}
.sectionHead p {
	max-width: 430px;
	color: var(--sub);
	line-height: 1.7;
}
.sceneGrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
.scene {
	min-height: 200px;
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 6px);
	padding: 20px;
	background: var(--card);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: 0.25s;
}
.scene:hover {
	transform: translateY(-5px);
	border-color: var(--accent);
	box-shadow: var(--shadow);
}
.sceneIcon {
	width: 50px;
	height: 50px;
	border-radius: 16px;
	background: var(--soft);
	display: grid;
	place-items: center;
	font-size: 24px;
}
.scene h3 {
	margin: 24px 0 7px;
	font-size: 18px;
}
.scene p {
	margin: 0;
	color: var(--sub);
	font-size: 14px;
	line-height: 1.6;
}
.flowPanel {
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 10px);
	background: var(--card);
	padding: 36px;
}
.flow {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	align-items: center;
	gap: 10px;
}
.flowStep {
	text-align: center;
	position: relative;
}
.flowIcon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	margin: 0 auto 14px;
	background: var(--soft);
	border: 1px solid var(--line);
	display: grid;
	place-items: center;
	font-size: 25px;
}
.flowStep:not(:last-child):after {
	content: "";
	position: absolute;
	left: 68%;
	right: -32%;
	top: 31px;
	height: 2px;
	background: linear-gradient(
		90deg,
		var(--accent),
		color-mix(in srgb, var(--primary) 10%, transparent)
	);
}
.flowStep b {
	display: block;
}
.flowStep small {
	color: var(--sub);
}
.products {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.productCard {
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 10px);
	background: var(--card);
	padding: 26px;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.productCard.recommended {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--soft);
}
.ribbon {
	position: absolute;
	right: 16px;
	top: 16px;
	background: var(--soft);
	color: var(--accent);
	border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border));
	border-radius: 999px;
	padding: 6px 10px;
	font-size: 11px;
	font-weight: 800;
	z-index: 2;
}
.miniProduct {
	height: 200px;
	border-radius: 20px;
	background: linear-gradient(145deg, var(--muted), var(--soft));
	display: grid;
	place-items: center;
	margin-bottom: 22px;
	overflow: hidden;
	padding: 12px;
	position: relative;
}
/*
 * 产品图用绝对定位严格填满内容区：
 * grid 的隐式行高会被图片固有尺寸（900×900）撑开，使 max-height:100% 失去约束，
 * 图片转而按 max-width 放大、再被 overflow:hidden 上下裁掉。
 */
.miniProduct img {
	position: absolute;
	left: 12px;
	top: 12px;
	width: calc(100% - 24px);
	height: calc(100% - 24px);
	object-fit: contain;
	display: block;
}
.device {
	width: 160px;
	height: 105px;
	border-radius: 30px;
	background: var(--card);
	border: 8px solid color-mix(in srgb, var(--foreground) 14%, var(--card));
	box-shadow: 0 20px 24px color-mix(in srgb, var(--foreground) 13%, transparent);
	position: relative;
}
.device:before {
	content: "";
	position: absolute;
	width: 66px;
	height: 54px;
	left: 18px;
	top: 18px;
	background: var(--foreground);
	border-radius: 9px;
	box-shadow: inset 0 0 0 7px color-mix(in srgb, var(--foreground) 70%, var(--card));
}
.device:after {
	content: "";
	position: absolute;
	width: 34px;
	height: 34px;
	right: 16px;
	top: 17px;
	border-radius: 50%;
	border: 7px solid color-mix(in srgb, var(--foreground) 35%, var(--card));
	background: var(--card);
	box-shadow:
		0 44px 0 -3px var(--card),
		0 44px 0 3px color-mix(in srgb, var(--foreground) 35%, var(--card));
}
.productCard h3 {
	font-size: 26px;
	margin: 0 0 5px;
}
.productCard > p {
	color: var(--sub);
	margin: 0 0 18px;
}
.chips {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
	margin: 16px 0 22px;
}
.chip {
	font-size: 12px;
	padding: 7px 10px;
	border-radius: 999px;
	background: var(--muted);
	color: var(--sub);
}
.cardActions {
	display: flex;
	gap: 9px;
	margin-top: auto;
	flex-wrap: wrap;
}
.selector {
	margin-top: 18px;
	border: 1px dashed color-mix(in srgb, var(--primary) 55%, var(--border));
	background: var(--soft);
	border-radius: var(--radius);
	padding: 20px;
	display: grid;
	grid-template-columns: 1.1fr 1fr auto;
	gap: 12px;
	align-items: end;
}
.field label {
	display: block;
	font-size: 12px;
	font-weight: 750;
	margin-bottom: 7px;
}
.field select,
.field input,
.field textarea {
	width: 100%;
	border: 1px solid var(--line);
	background: var(--card);
	color: var(--ink);
	border-radius: 10px;
	padding: 11px 12px;
	outline: none;
}
.field select:focus,
.field input:focus,
.field textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--soft);
}
.result {
	grid-column: 1/-1;
	display: none;
	border-top: 1px solid var(--line);
	padding-top: 15px;
	color: var(--sub);
}
.result.show {
	display: block;
}
.result strong {
	color: var(--accent);
}
.bento {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 0.8fr;
	grid-template-rows: repeat(2, minmax(190px, auto));
	gap: 12px;
}
.tile {
	border: 1px solid var(--line);
	background: var(--card);
	border-radius: calc(var(--radius) + 5px);
	padding: 24px;
	overflow: hidden;
}
.tile.big {
	grid-row: 1/3;
	background: linear-gradient(160deg, var(--soft), var(--card));
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.tile h3 {
	font-size: 22px;
	margin: 0 0 8px;
}
.tile p {
	color: var(--sub);
	font-size: 14px;
	line-height: 1.65;
	margin: 0;
}
.dial {
	width: 220px;
	height: 220px;
	border-radius: 50%;
	border: 1px solid var(--line);
	margin: 30px auto 0;
	display: grid;
	place-items: center;
	background: repeating-conic-gradient(
		from 0deg,
		var(--soft2) 0 2deg,
		transparent 2deg 30deg
	);
	position: relative;
}
.dial:after {
	content: "AUTO";
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: var(--card);
	border: 12px solid color-mix(in srgb, var(--foreground) 18%, var(--card));
	display: grid;
	place-items: center;
	font-weight: 900;
	letter-spacing: 0.12em;
}
.business {
	border-radius: calc(var(--radius) + 14px);
	background: var(--foreground);
	color: var(--background);
	padding: 52px;
	display: grid;
	grid-template-columns: 1fr 0.95fr;
	gap: 32px;
	align-items: center;
}
.business .kicker {
	color: color-mix(in srgb, var(--primary) 65%, var(--background));
}
.business h2 {
	margin: 8px 0 16px;
}
.business p {
	color: color-mix(in srgb, var(--background) 70%, transparent);
	line-height: 1.7;
}
.businessCards {
	display: grid;
	gap: 9px;
}
.biz {
	border: 1px solid color-mix(in srgb, var(--background) 20%, transparent);
	border-radius: 16px;
	padding: 16px 18px;
	background: color-mix(in srgb, var(--background) 6%, transparent);
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-decoration: none;
	color: inherit;
}
/* 没配外链的合作卡片渲染为 <button>，需要补回被 button 默认样式改掉的对齐与光标 */
button.biz {
	width: 100%;
	text-align: left;
	cursor: pointer;
	font: inherit;
}
button.biz:hover {
	border-color: color-mix(in srgb, var(--background) 40%, transparent);
}
.biz strong {
	display: block;
}
.biz span {
	font-size: 12px;
	color: color-mix(in srgb, var(--background) 65%, transparent);
}
.faq {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 32px;
}
.faqList {
	border-top: 1px solid var(--line);
}
.faqItem {
	border-bottom: 1px solid var(--line);
}
.faqQ {
	width: 100%;
	border: 0;
	background: transparent;
	color: var(--ink);
	padding: 18px 0;
	display: flex;
	justify-content: space-between;
	gap: 14px;
	text-align: left;
	font-weight: 750;
	cursor: pointer;
}
.faqA {
	display: none;
	color: var(--sub);
	padding: 0 28px 18px 0;
	line-height: 1.7;
	font-size: 14px;
}
.faqItem.open .faqA {
	display: block;
}
.faqItem.open .plus {
	transform: rotate(45deg);
}
.plus {
	transition: 0.2s;
}
.contact {
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 12px);
	background: linear-gradient(145deg, var(--card), var(--soft));
	padding: 42px;
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 34px;
}
.contact h2 {
	margin-top: 8px;
}
.contact p {
	color: var(--sub);
	line-height: 1.7;
}
.formGrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.field.full {
	grid-column: 1/-1;
}
.field textarea {
	min-height: 92px;
	resize: vertical;
}
.formMsg {
	font-size: 13px;
	margin-top: 10px;
	color: var(--success);
	min-height: 20px;
}
.formMsg.error {
	color: var(--destructive);
}
.footer {
	padding: 30px 0 86px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid var(--line);
	color: var(--sub);
	font-size: 12px;
}
.mobileBar {
	display: none;
}
.toast {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 50;
	background: var(--foreground);
	color: var(--background);
	border-radius: 12px;
	padding: 12px 16px;
	box-shadow: var(--shadow);
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: 0.25s;
}
.toast.show {
	opacity: 1;
	transform: none;
}
@keyframes float {
	50% {
		transform: translateY(-10px) rotate(-1deg);
	}
}
@keyframes flow {
	to {
		stroke-dashoffset: -32;
	}
}
@media (max-width: 820px) {
	.qn-wrap {
		padding: 0 12px;
	}
	.navlinks,
	.actions .ghost {
		display: none;
	}
	.actions {
		margin-left: auto;
	}
	.menuBtn {
		display: inline-flex;
	}
	.heroGrid {
		grid-template-columns: 1fr;
		padding: 44px 22px 26px;
		min-height: auto;
	}
	.heroText {
		text-align: center;
	}
	.heroText p {
		margin-left: auto;
		margin-right: auto;
	}
	.heroActions {
		justify-content: center;
	}
	.micro {
		justify-content: center;
	}
	.productStage {
		min-height: 330px;
	}
	.badge.one {
		left: 2px;
		top: 14px;
	}
	.badge.two {
		right: 2px;
		bottom: 20px;
	}
	.trust {
		grid-template-columns: 1fr 1fr;
	}
	.section {
		padding: 56px 0;
	}
	.sectionHead {
		display: block;
	}
	.sectionHead p {
		margin-top: 14px;
	}
	.sceneGrid {
		grid-template-columns: 1fr 1fr;
	}
	.flow {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.flowStep {
		display: grid;
		grid-template-columns: 56px 1fr;
		text-align: left;
		align-items: center;
		gap: 14px;
	}
	.flowIcon {
		width: 54px;
		height: 54px;
		margin: 0;
	}
	.flowStep:not(:last-child):after {
		left: 27px;
		right: auto;
		top: 54px;
		height: 24px;
		width: 2px;
		background: linear-gradient(var(--accent), var(--soft2));
	}
	.products,
	.business,
	.faq,
	.contact {
		grid-template-columns: 1fr;
	}
	.selector {
		grid-template-columns: 1fr 1fr;
	}
	.selector .btn {
		grid-column: 1/-1;
	}
	.bento {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}
	.tile.big {
		grid-column: 1/-1;
		grid-row: auto;
	}
	.business,
	.contact {
		padding: 28px 22px;
	}
	.mobileBar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: 10px;
		z-index: 30;
		background: var(--card);
		border: 1px solid var(--line);
		border-radius: 999px;
		padding: 6px;
		box-shadow: var(--shadow);
	}
	.mobileBar .btn {
		width: 100%;
	}
	.toast {
		bottom: 86px;
	}
	.footer {
		padding-bottom: 105px;
	}
}
@media (max-width: 520px) {
	.brandname small {
		display: none;
	}
	.qn-navin {
		height: 58px;
		padding: 0 10px;
	}
	.lang {
		font-size: 12px;
	}
	.heroGrid {
		padding-top: 36px;
	}
	.heroActions {
		flex-direction: column;
	}
	.heroActions .btn {
		width: 100%;
	}
	h1 {
		font-size: 40px;
	}
	.productStage {
		min-height: 280px;
	}
	.badge {
		padding: 9px 10px;
	}
	.badge strong {
		font-size: 13px;
	}
	.trust {
		margin-top: 10px;
	}
	.stat {
		padding: 16px 8px;
	}
	.stat b {
		font-size: 20px;
	}
	.sceneGrid,
	.products,
	.bento,
	.formGrid,
	.selector {
		grid-template-columns: 1fr;
	}
	.field.full {
		grid-column: auto;
	}
	.section {
		padding: 48px 0;
	}
	.flowPanel {
		padding: 24px 18px;
	}
	.business {
		padding: 28px 20px;
	}
	.contact {
		padding: 26px 18px;
	}
	.footer {
		display: block;
	}
	.footer div + div {
		margin-top: 8px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.productSvg,
	.productImage,
	.waterPath {
		animation: none;
	}
	.btn,
	.scene,
	.toast {
		transition: none;
	}
}

/* ==========================================================================
   以下为「动态渲染」追加的新规则（不影响原有组件外观）
   ========================================================================== */

/* 顶部导航移动端下拉菜单 */
.navMenu {
	display: none;
	border-top: 1px solid var(--line);
	padding: 10px 14px 14px;
}
.navMenu.open {
	display: grid;
	gap: 6px;
}
.navMenu button {
	border: 0;
	background: transparent;
	color: var(--ink);
	text-align: left;
	padding: 11px 8px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 700;
}
.navMenu button:hover {
	background: var(--soft);
}
@media (min-width: 821px) {
	.navMenu {
		display: none !important;
	}
}

/* 产品网格：自适应 1～6 个产品位 */
.products {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.products.count-1 {
	grid-template-columns: minmax(0, 620px);
}
.products.count-2 {
	grid-template-columns: 1fr 1fr;
}
.products.count-4,
.products.count-5,
.products.count-6 {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.products.count-3 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.products.many .productCard {
	padding: 22px;
}
.products.many .productCard h3 {
	font-size: 22px;
}
@media (max-width: 820px) {
	.products.count-1,
	.products.count-2,
	.products.count-3,
	.products.count-4,
	.products.count-5,
	.products.count-6 {
		grid-template-columns: 1fr;
	}
}

/* Bento：当卡片数不等于 5 时自动流式排布，避免出现空洞 */
.bento.auto {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	grid-template-rows: auto;
}
.bento.auto .tile.big {
	grid-row: auto;
}
@media (max-width: 820px) {
	.bento.auto {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 520px) {
	.bento.auto {
		grid-template-columns: 1fr;
	}
}

/* 流程步骤：步数不等于 5 时改用自适应列宽 */
.flow.flowAuto {
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* 首屏加载骨架 */
.qn-site.is-loading .summary,
.loading {
	display: grid;
	place-items: center;
	min-height: 60vh;
	gap: 14px;
	color: var(--sub);
}
.loadingSpinner {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 3px solid var(--line);
	border-top-color: var(--accent);
	animation: spin 0.9s linear infinite;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
@media (prefers-reduced-motion: reduce) {
	.loadingSpinner {
		animation: none;
	}
}
.loadError {
	display: grid;
	place-items: center;
	min-height: 50vh;
	gap: 16px;
	text-align: center;
	color: var(--sub);
}

/* 产品详情弹窗 */
.modalBackdrop {
	position: fixed;
	inset: 0;
	z-index: 60;
	background: color-mix(in srgb, var(--foreground) 45%, transparent);
	backdrop-filter: blur(4px);
	display: grid;
	place-items: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.2s;
}
.modalBackdrop.show {
	opacity: 1;
}
.modalBackdrop[hidden] {
	display: none;
}
.modal {
	width: min(100%, 880px);
	max-height: min(88vh, 820px);
	overflow: auto;
	background: var(--card);
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 12px);
	box-shadow: var(--shadow);
	transform: translateY(12px) scale(0.99);
	transition: transform 0.2s;
}
.modalBackdrop.show .modal {
	transform: none;
}
.modalHead {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	padding: 18px 22px;
	background: color-mix(in srgb, var(--card) 94%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.modalHead strong {
	font-size: 17px;
}
.modalClose {
	border: 1px solid var(--line);
	background: var(--card);
	color: var(--ink);
	width: 36px;
	height: 36px;
	border-radius: 999px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
}
.modalBody {
	padding: 22px;
	display: grid;
	gap: 22px;
}
.modalTop {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	align-items: start;
}
.gallery {
	display: grid;
	gap: 10px;
}
.galleryMain {
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 6px);
	background: linear-gradient(145deg, var(--muted), var(--soft));
	aspect-ratio: 4 / 3;
	display: grid;
	place-items: center;
	overflow: hidden;
	position: relative;
	padding: 14px;
}
.galleryMain img {
	position: absolute;
	left: 14px;
	top: 14px;
	width: calc(100% - 28px);
	height: calc(100% - 28px);
	object-fit: contain;
}
.galleryThumbs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.galleryThumbs button {
	width: 62px;
	height: 62px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--card);
	cursor: pointer;
	overflow: hidden;
	padding: 4px;
}
.galleryThumbs button.active {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--soft);
}
.galleryThumbs img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.galleryNav {
	position: absolute;
	inset-inline: 8px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}
.galleryNav button {
	pointer-events: auto;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: color-mix(in srgb, var(--card) 90%, transparent);
	color: var(--ink);
	cursor: pointer;
}
.specTable {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	font-size: 13px;
}
.specTable th,
.specTable td {
	text-align: left;
	padding: 9px 12px;
	border-bottom: 1px solid var(--line);
}
.specTable tr:last-child th,
.specTable tr:last-child td {
	border-bottom: 0;
}
.specTable th {
	width: 38%;
	color: var(--sub);
	font-weight: 700;
	background: var(--soft);
}
.richText {
	line-height: 1.75;
	font-size: 14px;
	color: var(--sub);
}
.richText h1,
.richText h2,
.richText h3,
.richText h4 {
	color: var(--ink);
	margin: 18px 0 8px;
	font-size: 16px;
}
.richText p {
	margin: 0 0 10px;
}
.richText ul {
	margin: 0 0 10px;
	padding-left: 20px;
}
.richText li {
	margin: 4px 0;
}
.richText:first-child h3 {
	margin-top: 0;
}
.modalActions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	border-top: 1px solid var(--line);
	padding-top: 18px;
}
@media (max-width: 820px) {
	.modalTop {
		grid-template-columns: 1fr;
	}
}

/* 产品详情页 */
.detailPage {
	width: min(100%, 1100px);
	margin: 0 auto;
	padding: 0 20px 80px;
}
.detailHero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: start;
	margin: 22px 0 34px;
}
.detailHero h1 {
	font-size: clamp(30px, 4vw, 46px);
	letter-spacing: -0.04em;
	margin: 6px 0 10px;
}
.detailPanel {
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 10px);
	background: var(--card);
	padding: 26px;
}
@media (max-width: 820px) {
	.detailHero {
		grid-template-columns: 1fr;
	}
}
.detailBack {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	text-decoration: none;
}

/* 无障碍：仅供读屏 */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* 蜜罐字段：对用户不可见 */
.hpField {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
