/* ============================================================
   Potatl - Potato Chat 中文下载站
   基于 Twenty Twenty-Five 的定制视觉样式
   ============================================================ */

:root {
	--potatl-blue: #1f6fff;
	--potatl-blue-dark: #1457d6;
	--potatl-ink: #101828;
	--potatl-body: #334155;
	--potatl-muted: #64748b;
	--potatl-line: #e6ecf7;
	--potatl-soft: #f2f7ff;
	--potatl-radius: 18px;
	--potatl-max: 1200px;
	--potatl-shadow: 0 18px 40px rgba(31, 111, 255, 0.10);
}

/* ---------- 基础 ---------- */

body {
	margin: 0;
	background: #fff;
	color: var(--potatl-ink);
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	max-width: 100%;
}

a {
	color: var(--potatl-blue);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--potatl-blue-dark);
}

:focus-visible {
	outline: 2px solid var(--potatl-blue);
	outline-offset: 3px;
	border-radius: 6px;
}

.potatl-container {
	max-width: var(--potatl-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
	box-sizing: border-box;
}

.potatl-main {
	margin: 0;
	padding: 0;
}

/* 覆盖核心区块默认间距，保持设计节奏 */
.potatl-container > .wp-block-heading,
.potatl-section__title {
	margin: 0 0 14px;
	font-size: clamp(26px, 2.4vw, 38px);
	line-height: 1.25;
	color: var(--potatl-ink);
}

.potatl-container > .potatl-section__sub,
.potatl-section__sub {
	margin: 0 0 44px;
	font-size: 16px;
	color: var(--potatl-muted);
	max-width: 720px;
}

/* ---------- 头部 ---------- */

.potatl-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(230, 236, 247, 0.9);
}

body.admin-bar .potatl-header {
	top: 32px;
}

.potatl-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 76px;
}

.potatl-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.potatl-logo__mark {
	display: inline-flex;
	line-height: 0;
}

.potatl-logo__text {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #16233a;
}

.potatl-nav {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.potatl-nav a {
	position: relative;
	display: inline-block;
	padding: 9px 14px;
	font-size: 15px;
	font-weight: 500;
	color: #4a5a70;
	border-radius: 8px;
}

.potatl-nav a:hover {
	color: var(--potatl-blue);
	background: #f5f8ff;
}

.potatl-nav a.is-active {
	color: var(--potatl-blue);
	font-weight: 600;
}

.potatl-nav a.is-active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 2px;
	width: 26px;
	height: 2px;
	margin-left: -13px;
	border-radius: 2px;
	background: var(--potatl-blue);
}

.potatl-header__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 0 0 auto;
}

.potatl-header__link {
	font-size: 14px;
	color: var(--potatl-muted);
}

.potatl-header__link:hover {
	color: var(--potatl-blue);
}

.potatl-header__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--potatl-blue);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 8px 18px rgba(31, 111, 255, 0.22);
}

.potatl-header__btn:hover {
	color: #fff;
	background: var(--potatl-blue-dark);
	transform: translateY(-1px);
}

.potatl-menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--potatl-line);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

.potatl-menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: #334155;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

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

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

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

/* ---------- 首屏 ---------- */

.potatl-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(52px, 7vw, 96px) 0 clamp(56px, 6vw, 88px);
	background:
		radial-gradient(900px 480px at 82% 8%, rgba(139, 180, 255, 0.42) 0%, rgba(139, 180, 255, 0) 62%),
		radial-gradient(700px 420px at 12% 0%, rgba(214, 228, 255, 0.55) 0%, rgba(214, 228, 255, 0) 60%),
		linear-gradient(180deg, #f7faff 0%, #edf3ff 64%, #ffffff 100%);
}

.potatl-hero::after {
	content: "";
	position: absolute;
	left: -10%;
	right: -10%;
	bottom: -120px;
	height: 240px;
	border-radius: 50%;
	background: #fff;
	opacity: 0.55;
	pointer-events: none;
}

.potatl-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: 40px;
	align-items: center;
}

.potatl-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.potatl-hero__title {
	margin: 0 0 22px !important;
	font-size: clamp(34px, 4vw, 58px) !important;
	line-height: 1.16 !important;
	font-weight: 700 !important;
	letter-spacing: -0.025em;
	color: var(--potatl-ink);
	text-wrap: balance;
}

.potatl-hero__lead {
	margin: 0 0 34px !important;
	font-size: 16px;
	line-height: 1.75;
	color: var(--potatl-muted);
	max-width: 540px;
}

.potatl-platform-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 300px;
}

.potatl-platform-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 54px;
	padding: 0 20px;
	border: 1px solid rgba(213, 226, 250, 0.9);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #1e2a3b;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 6px 16px rgba(30, 64, 140, 0.06);
	transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.potatl-platform-btn:hover {
	background: #fff;
	color: var(--potatl-blue);
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(31, 111, 255, 0.14);
}

.potatl-platform-btn__icon {
	width: 20px;
	height: 20px;
	fill: #3c4a5d;
	transition: fill 0.2s ease;
	flex: 0 0 20px;
}

.potatl-platform-btn:hover .potatl-platform-btn__icon {
	fill: var(--potatl-blue);
}

.potatl-platform-btn--more {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	color: #47607f;
	font-weight: 500;
	height: 46px;
}

.potatl-platform-btn--more:hover {
	background: transparent;
	box-shadow: none;
	color: var(--potatl-blue);
}

/* 设备示意图 */

.potatl-mock {
	position: relative;
	height: 500px;
	min-height: 0;
}

.potatl-mock__glow {
	position: absolute;
	width: 380px;
	height: 380px;
	right: 10px;
	top: 50px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(31, 111, 255, 0.18) 0%, rgba(31, 111, 255, 0) 70%);
	filter: blur(8px);
}

.potatl-phone {
	position: absolute;
	right: 42px;
	top: 0;
	width: 262px;
	height: 480px;
	padding: 11px;
	border-radius: 38px;
	background: linear-gradient(160deg, #1b2942 0%, #0b1220 100%);
	box-shadow: 0 40px 70px rgba(20, 47, 100, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
	transform: rotate(-4deg);
	animation: potatl-float 7s ease-in-out infinite;
}

.potatl-phone::before {
	content: "";
	position: absolute;
	top: 20px;
	left: 50%;
	width: 84px;
	height: 20px;
	margin-left: -42px;
	border-radius: 999px;
	background: #0b1220;
	z-index: 3;
}

.potatl-phone__screen {
	position: relative;
	height: 100%;
	overflow: hidden;
	border-radius: 29px;
	background: #f6f8fc;
	display: flex;
	flex-direction: column;
}

.potatl-app-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 38px 18px 12px;
	background: #fff;
	border-bottom: 1px solid #eef2f9;
}

.potatl-app-head__title {
	font-size: 15px;
	font-weight: 700;
	color: #16233a;
}

.potatl-app-head__icons {
	display: inline-flex;
	gap: 6px;
}

.potatl-app-head__icons i {
	width: 14px;
	height: 14px;
	border-radius: 4px;
	background: #e8eef9;
}

.potatl-chatlist {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 10px;
	overflow: hidden;
}

.potatl-chat {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 9px 8px;
	border-radius: 12px;
	background: #fff;
}

.potatl-chat:nth-child(2) {
	background: #f2f7ff;
}

.potatl-av {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	background: #94a3b8;
	flex: 0 0 38px;
}

.potatl-av--blue { background: linear-gradient(135deg, #4b92ff, #1f6fff); }
.potatl-av--purple { background: linear-gradient(135deg, #b07cff, #8b5cf6); }
.potatl-av--green { background: linear-gradient(135deg, #4fd1a8, #2fbf8f); }
.potatl-av--orange { background: linear-gradient(135deg, #ffc06b, #ff9d2e); }
.potatl-av--pink { background: linear-gradient(135deg, #ff9fbe, #ff6b9a); }

.potatl-chat__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.35;
}

.potatl-chat__body b {
	font-size: 12px;
	font-weight: 600;
	color: #1c2a3d;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.potatl-chat__body i {
	font-size: 10.5px;
	font-style: normal;
	color: #8a98ab;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.potatl-chat__time {
	font-size: 9.5px;
	color: #a6b2c4;
	align-self: flex-start;
	margin-top: 2px;
}

.potatl-desktop {
	position: absolute;
	left: 0;
	bottom: 26px;
	width: 290px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 26px 50px rgba(20, 47, 100, 0.18);
	overflow: hidden;
	animation: potatl-float 7s ease-in-out infinite 1.2s;
}

.potatl-desktop__bar {
	display: flex;
	gap: 5px;
	padding: 9px 12px;
	background: #f7f9fc;
	border-bottom: 1px solid #eef2f9;
}

.potatl-desktop__bar i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #d7e0ee;
}

.potatl-desktop__body {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
}

.potatl-desktop__lines {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.potatl-desktop__lines b {
	display: block;
	height: 6px;
	border-radius: 999px;
	background: #e7edf8;
}

.potatl-desktop__lines b:nth-child(1) { width: 130px; background: #dbe7fb; }
.potatl-desktop__lines b:nth-child(2) { width: 96px; }
.potatl-desktop__lines b:nth-child(3) { width: 118px; }
.potatl-desktop__lines b:nth-child(4) { width: 72px; }

@keyframes potatl-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.potatl-phone {
	animation-name: potatl-float-phone;
}

@keyframes potatl-float-phone {
	0%, 100% { transform: rotate(-4deg) translateY(0); }
	50% { transform: rotate(-4deg) translateY(-10px); }
}

/* ---------- 通用区块 ---------- */

.potatl-section {
	padding: clamp(56px, 6.5vw, 96px) 0;
}

.potatl-section__title.is-left {
	margin-left: 0;
}

/* ---------- 下载区 ---------- */

.potatl-download-section {
	background: #fff;
}

.potatl-dl-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 30px;
}

.potatl-dl-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 24px 20px 20px;
	border: 1px solid var(--potatl-line);
	border-radius: 18px;
	background: #fff;
	color: var(--potatl-ink);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.potatl-dl-card:hover {
	color: var(--potatl-ink);
	transform: translateY(-4px);
	border-color: #d4e2fb;
	box-shadow: var(--potatl-shadow);
}

.potatl-dl-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #f3f7ff;
}

.potatl-dl-card__icon svg {
	width: 24px;
	height: 24px;
	fill: #3c4a5d;
}

.potatl-dl-card__icon.is-green { background: #e8f8f2; }
.potatl-dl-card__icon.is-green svg { fill: #2fbf8f; }
.potatl-dl-card__icon.is-blue { background: #e9f1ff; }
.potatl-dl-card__icon.is-blue svg { fill: #1f6fff; }
.potatl-dl-card__icon.is-sky { background: #e8f4ff; }
.potatl-dl-card__icon.is-sky svg { fill: #2f8bff; }
.potatl-dl-card__icon.is-purple { background: #f2ebff; }
.potatl-dl-card__icon.is-purple svg { fill: #8b5cf6; }
.potatl-dl-card__icon.is-orange { background: #fff3e4; }
.potatl-dl-card__icon.is-orange svg { fill: #f39328; }

.potatl-dl-card__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.potatl-dl-card__body b {
	font-size: 16px;
	font-weight: 600;
}

.potatl-dl-card__body i {
	font-style: normal;
	font-size: 12.5px;
	color: var(--potatl-muted);
	line-height: 1.5;
}

.potatl-dl-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 7px 16px;
	border-radius: 999px;
	background: #f2f7ff;
	color: var(--potatl-blue);
	font-size: 13px;
	font-weight: 600;
}

.potatl-dl-card:hover .potatl-dl-card__cta {
	background: var(--potatl-blue);
	color: #fff;
}

.potatl-note {
	margin: 0;
	padding: 14px 18px;
	border-radius: 12px;
	background: #f8fafc;
	color: #7a8799;
	font-size: 13px;
	line-height: 1.7;
}

/* ---------- 特色区 ---------- */

.potatl-features {
	background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.potatl-features .potatl-section__title,
.potatl-features .potatl-section__sub {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.potatl-feature-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 22px;
}

.potatl-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 28px 16px 26px;
	border-radius: 18px;
	background: transparent;
	transition: background 0.25s ease, transform 0.25s ease;
}

.potatl-feature:hover {
	background: #fff;
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(30, 64, 140, 0.07);
}

.potatl-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--potatl-tint, #eef2ff);
	color: var(--potatl-accent, #1f6fff);
}

.potatl-feature__icon svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.potatl-feature h3 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
	color: var(--potatl-ink);
}

.potatl-feature p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--potatl-muted);
}

.is-purple { --potatl-accent: #8b5cf6; --potatl-tint: #f3ecff; }
.is-sky { --potatl-accent: #2f8bff; --potatl-tint: #e9f3ff; }
.is-blue { --potatl-accent: #1f6fff; --potatl-tint: #e8f0ff; }
.is-orange { --potatl-accent: #f39328; --potatl-tint: #fff2e2; }
.is-pink { --potatl-accent: #ff6b9a; --potatl-tint: #ffe9f0; }
.is-green { --potatl-accent: #2fbf8f; --potatl-tint: #e6f8f1; }
.is-teal { --potatl-accent: #0fb5c4; --potatl-tint: #e2f7f9; }
.is-yellow { --potatl-accent: #d9a419; --potatl-tint: #fdf4dc; }
.is-magenta { --potatl-accent: #c65cff; --potatl-tint: #f7e9ff; }
.is-coral { --potatl-accent: #ff6b6b; --potatl-tint: #ffeaea; }

/* ---------- 电脑版 ---------- */

.potatl-pc {
	background: #fff;
}

.potatl-pc__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.potatl-pc__copy ul.potatl-checks {
	margin: 24px 0 32px;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.potatl-checks li {
	position: relative;
	padding-left: 32px;
	font-size: 15px;
	color: var(--potatl-body);
	line-height: 1.6;
}

.potatl-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--potatl-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='m9.6 16.8-4-4 1.5-1.5 2.5 2.5 6.9-6.9 1.5 1.5z'/%3E%3C/svg%3E") no-repeat center / 14px 14px;
}

.potatl-eyebrow {
	display: inline-flex;
	align-items: center;
	margin: 0 0 14px !important;
	padding: 6px 14px;
	border-radius: 999px;
	background: #eef4ff;
	color: var(--potatl-blue);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.potatl-eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	margin-right: 7px;
	border-radius: 50%;
	background: var(--potatl-blue);
}

.potatl-pc__copy .potatl-section__title {
	font-size: clamp(26px, 2.4vw, 36px);
	margin-bottom: 16px;
}

.potatl-pc__copy p {
	color: var(--potatl-body);
	font-size: 15.5px;
	line-height: 1.8;
}

.potatl-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.potatl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	padding: 0 28px;
	border-radius: 999px;
	background: var(--potatl-blue);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 12px 26px rgba(31, 111, 255, 0.24);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.potatl-btn:hover {
	color: #fff;
	background: var(--potatl-blue-dark);
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(31, 111, 255, 0.28);
}

.potatl-btn--ghost {
	background: #fff;
	color: var(--potatl-ink);
	border: 1px solid #dbe5f5;
	box-shadow: none;
}

.potatl-btn--ghost:hover {
	background: #f7faff;
	color: var(--potatl-blue);
	border-color: #b9cdf1;
	box-shadow: none;
}

.potatl-pc__visual {
	position: relative;
}

.potatl-window {
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e8eef8;
	box-shadow: 0 30px 60px rgba(20, 47, 100, 0.12);
	overflow: hidden;
}

.potatl-window__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 42px;
	padding: 0 16px;
	background: #f7f9fc;
	border-bottom: 1px solid #eef2f9;
}

.potatl-window__dots {
	display: inline-flex;
	gap: 6px;
}

.potatl-window__dots i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #dfe6f2;
}

.potatl-window__dots i:first-child { background: #ffb3b3; }
.potatl-window__dots i:nth-child(2) { background: #ffd78a; }
.potatl-window__dots i:nth-child(3) { background: #a9e6c9; }

.potatl-window__title {
	font-size: 12px;
	color: #8a97a8;
}

.potatl-window__body {
	display: grid;
	grid-template-columns: 176px minmax(0, 1fr);
	background: #fbfcff;
	min-height: 300px;
}

.potatl-window__side {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 20px;
	background: #fff;
	border-right: 1px solid #eef2f9;
}

.potatl-line {
	display: block;
	height: 8px;
	border-radius: 999px;
	background: #e9eef8;
}

.potatl-line:nth-child(2) { width: 78%; }
.potatl-line:nth-child(3) { width: 62%; }
.potatl-line:nth-child(4) { width: 70%; }
.potatl-line:nth-child(5) { width: 50%; }

.potatl-window__main {
	display: flex;
	flex-direction: column;
	gap: 14px;
	justify-content: center;
	padding: 28px;
}

.potatl-bubble {
	max-width: 78%;
	padding: 11px 16px;
	border-radius: 14px;
	font-size: 13px;
	line-height: 1.5;
	background: #eef2f9;
	color: #54637a;
}

.potatl-bubble.is-out {
	align-self: flex-end;
	background: #1f6fff;
	color: #fff;
	box-shadow: 0 8px 18px rgba(31, 111, 255, 0.24);
}

/* ---------- FAQ ---------- */

.potatl-faq {
	background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.potatl-faq .potatl-section__title,
.potatl-faq .potatl-section__sub {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.potatl-faq-list {
	max-width: 860px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.potatl-faq-item {
	border: 1px solid var(--potatl-line);
	border-radius: 14px;
	background: #fff;
	padding: 0 22px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.potatl-faq-item[open] {
	border-color: #cfdef8;
	box-shadow: 0 10px 26px rgba(30, 64, 140, 0.06);
}

.potatl-faq-item summary {
	position: relative;
	padding: 19px 34px 19px 0;
	cursor: pointer;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--potatl-ink);
	list-style: none;
}

.potatl-faq-item summary::-webkit-details-marker {
	display: none;
}

.potatl-faq-item summary::after {
	content: "+";
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
	font-size: 20px;
	font-weight: 400;
	color: var(--potatl-blue);
	transition: transform 0.2s ease;
}

.potatl-faq-item[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.potatl-faq-item p {
	margin: 0;
	padding: 0 0 20px;
	font-size: 14.5px;
	line-height: 1.8;
	color: var(--potatl-body);
}

/* ---------- SEO 文本 ---------- */

.potatl-seo {
	background: #fff;
}

.potatl-seo__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}

.potatl-seo__text .potatl-section__title {
	font-size: clamp(24px, 2.1vw, 32px);
}

.potatl-seo__text p {
	font-size: 15px;
	line-height: 1.9;
	color: var(--potatl-body);
}

.potatl-related {
	padding: 26px 26px 22px;
	border-radius: 18px;
	background: #f5f9ff;
	border: 1px solid #e4edfd;
}

.potatl-related h3 {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 600;
	color: var(--potatl-ink);
}

.potatl-related ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.potatl-related li {
	position: relative;
	padding-left: 16px;
	font-size: 14px;
	line-height: 1.5;
}

.potatl-related li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #9dbbef;
}

.potatl-related a {
	color: #2a4a7f;
}

.potatl-related a:hover {
	color: var(--potatl-blue);
}

/* ---------- 底部 CTA ---------- */

.potatl-cta {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 6vw, 84px) 0;
	background:
		radial-gradient(500px 260px at 82% 10%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%),
		linear-gradient(120deg, #1f6fff 0%, #3f8bff 55%, #58b2ff 100%);
	color: #fff;
	text-align: center;
}

.potatl-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.potatl-cta .potatl-cta__title {
	margin: 0 0 14px !important;
	font-size: clamp(26px, 2.8vw, 40px);
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.02em;
}

.potatl-cta .potatl-cta__sub {
	margin: 0 0 30px !important;
	color: rgba(255, 255, 255, 0.82);
	font-size: 15.5px;
}

.potatl-btn--light {
	background: #fff;
	color: var(--potatl-blue);
	box-shadow: 0 14px 30px rgba(8, 34, 80, 0.22);
}

.potatl-btn--light:hover {
	background: #fff;
	color: var(--potatl-blue-dark);
	box-shadow: 0 18px 36px rgba(8, 34, 80, 0.26);
}

/* ---------- 页脚 ---------- */

.potatl-footer {
	padding: 64px 0 32px;
	background: #fff;
	border-top: 1px solid var(--potatl-line);
}

.potatl-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-bottom: 44px;
	border-bottom: 1px solid #eff3fa;
}

.potatl-footer__brand .potatl-logo {
	margin-bottom: 16px;
}

.potatl-footer__brand p {
	margin: 0;
	max-width: 300px;
	font-size: 13.5px;
	line-height: 1.8;
	color: #7b8899;
}

.potatl-footer__col h3 {
	margin: 0 0 16px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--potatl-ink);
}

.potatl-footer__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.potatl-footer__col a {
	font-size: 13.5px;
	color: #6b7a90;
	line-height: 1.5;
}

.potatl-footer__col a:hover {
	color: var(--potatl-blue);
}

.potatl-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 26px;
}

.potatl-footer__bottom p {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.7;
	color: #93a0b1;
}

/* ---------- 博客列表 ---------- */

.potatl-page-sub {
	margin: 14px 0 0 !important;
	max-width: 720px;
	font-size: 15.5px;
	line-height: 1.8;
	color: var(--potatl-muted);
}

.potatl-blog {
	padding: 52px 0 80px;
	background: #fff;
}

.potatl-cat-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 34px;
}

.potatl-cat-nav a {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid var(--potatl-line);
	border-radius: 999px;
	background: #fff;
	color: #4a5a70;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.potatl-cat-nav a:hover {
	border-color: #c6d9f7;
	background: #f6f9ff;
	color: var(--potatl-blue);
}

.potatl-cat-nav a.is-active {
	border-color: var(--potatl-blue);
	background: var(--potatl-blue);
	color: #fff;
}

.potatl-post-card__cat {
	margin: 0 0 10px !important;
	font-size: 12px;
	line-height: 1.4;
}

.potatl-post-card__cat a {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 6px;
	background: #eef4ff;
	color: var(--potatl-blue);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.potatl-post-card__cat a:hover {
	background: #e2edff;
	color: var(--potatl-blue-dark);
}

.potatl-archive-back {
	color: var(--potatl-blue);
	font-weight: 600;
	text-decoration: none;
}

.potatl-archive-back:hover {
	text-decoration: underline;
}

.potatl-post-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.potatl-post-grid > li {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 26px 24px 22px;
	border: 1px solid var(--potatl-line);
	border-radius: 18px;
	background: #fff;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.potatl-post-grid > li:hover {
	transform: translateY(-4px);
	border-color: #d4e2fb;
	box-shadow: var(--potatl-shadow);
}

.potatl-post-card__title {
	margin: 0 0 12px !important;
	font-size: 19px !important;
	line-height: 1.45 !important;
	font-weight: 600 !important;
	letter-spacing: 0;
}

.potatl-post-card__title a {
	color: var(--potatl-ink);
}

.potatl-post-card__title a:hover {
	color: var(--potatl-blue);
}

.potatl-post-card__excerpt {
	margin: 0 0 22px !important;
	font-size: 13.8px;
	line-height: 1.75;
	color: var(--potatl-muted);
	flex-grow: 1;
}

.potatl-post-card__excerpt p {
	margin: 0;
	font-size: 13.8px;
	line-height: 1.75;
	color: var(--potatl-muted);
}

.potatl-post-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid #f0f4fb;
	font-size: 12.5px;
	color: #93a0b1;
}

.potatl-post-card__meta .wp-block-post-date {
	color: #93a0b1;
	font-size: 12.5px;
}

.potatl-post-card__more {
	margin: 0 !important;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--potatl-blue);
}

.potatl-pagination {
	margin-top: 44px;
	gap: 8px;
	font-size: 14px;
}

.potatl-pagination .page-numbers,
.potatl-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid var(--potatl-line);
	background: #fff;
	color: #4a5a70;
	text-decoration: none;
}

.potatl-pagination .page-numbers:hover,
.potatl-pagination a:hover {
	border-color: #b9cdf1;
	color: var(--potatl-blue);
}

.potatl-pagination .page-numbers.current {
	background: var(--potatl-blue);
	border-color: var(--potatl-blue);
	color: #fff;
}

/* ---------- 文章详情 ---------- */

.potatl-post-meta-inline {
	margin-top: 14px;
	gap: 14px;
	font-size: 13px;
	color: var(--potatl-muted);
}

.potatl-post-meta-inline .wp-block-post-date,
.potatl-post-meta-inline .wp-block-post-terms,
.potatl-post-meta-inline a {
	font-size: 13px;
	color: #7b8899;
}

.potatl-post-nav {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--potatl-line);
}

.potatl-post-nav__links {
	gap: 20px;
	font-size: 14px;
	color: var(--potatl-muted);
}

.potatl-post-nav__links a {
	color: #2a4a7f;
	font-weight: 500;
}

.potatl-post-nav__links a:hover {
	color: var(--potatl-blue);
}

.potatl-post-back {
	margin-top: 26px;
}

.potatl-post-back-btn .wp-block-button__link {
	padding: 10px 22px;
	border-radius: 999px;
	background: #f2f7ff;
	border: 1px solid #dfe9fb;
	color: var(--potatl-blue);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
}

.potatl-post-back-btn .wp-block-button__link:hover {
	background: #e8f1ff;
	color: var(--potatl-blue-dark);
}

/* ---------- 内容页 ---------- */

.potatl-page-hero {
	padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px);
	background:
		radial-gradient(700px 320px at 85% 0%, rgba(139, 180, 255, 0.34) 0%, rgba(139, 180, 255, 0) 62%),
		linear-gradient(180deg, #f7faff 0%, #edf3ff 100%);
	border-bottom: 1px solid #eaf0fb;
}

.potatl-page-title {
	margin: 0 !important;
	font-size: clamp(28px, 3vw, 44px) !important;
	line-height: 1.2 !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	color: var(--potatl-ink);
}

.potatl-page-body {
	padding: 48px 0 80px;
}

.potatl-page-body > .potatl-container {
	max-width: 900px;
}

.potatl-page-body .wp-block-post-content > * {
	margin-top: 0;
}

.potatl-page-body h2 {
	margin: 40px 0 14px;
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.35;
	color: var(--potatl-ink);
}

.potatl-page-body h3 {
	margin: 28px 0 10px;
	font-size: 19px;
	color: var(--potatl-ink);
}

.potatl-page-body p,
.potatl-page-body li {
	font-size: 15px;
	line-height: 1.9;
	color: var(--potatl-body);
}

.potatl-page-body ul,
.potatl-page-body ol {
	padding-left: 22px;
	margin: 0 0 20px;
}

.potatl-page-body li + li {
	margin-top: 8px;
}

.potatl-page-body p {
	margin: 0 0 18px;
}

.potatl-page-body .potatl-btn-row {
	margin: 26px 0 8px;
}

.potatl-page-body .potatl-dl-grid {
	margin-top: 24px;
}

.potatl-page-body .potatl-note {
	margin-top: 26px;
}

.potatl-page-body .potatl-faq-list {
	margin-top: 24px;
	max-width: none;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1180px) {
	.potatl-feature-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.potatl-nav {
		display: none;
	}

	.potatl-header__actions {
		margin-left: auto;
	}

	.potatl-menu-toggle {
		display: inline-flex;
		margin-left: auto;
	}

	.potatl-nav.is-open {
		display: flex;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 12px 24px 20px;
		background: #fff;
		border-bottom: 1px solid var(--potatl-line);
		box-shadow: 0 18px 30px rgba(20, 47, 100, 0.08);
	}

	.potatl-nav.is-open a {
		padding: 12px 10px;
		border-radius: 10px;
	}

	.potatl-nav.is-open a.is-active::after {
		display: none;
	}

	.potatl-header {
		position: relative;
	}

	.potatl-header__inner {
		position: relative;
	}

	.potatl-header__actions {
		display: none;
	}

	.potatl-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.potatl-hero__copy {
		align-items: flex-start;
	}

	.potatl-platform-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 620px;
	}

	.potatl-mock {
		height: 460px;
		max-width: 520px;
		margin: 0 auto;
		width: 100%;
	}

	.potatl-phone {
		right: 12%;
	}

	.potatl-desktop {
		left: 0;
		bottom: 10px;
	}

	.potatl-dl-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.potatl-feature-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.potatl-pc__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.potatl-pc__visual {
		order: 2;
		max-width: 640px;
	}

	.potatl-seo__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 768px) {
	.potatl-container {
		padding-left: 18px;
		padding-right: 18px;
	}

	.potatl-header__inner {
		min-height: 66px;
	}

	.potatl-logo__text {
		font-size: 16px;
	}

	.potatl-hero {
		padding-top: 40px;
	}

	.potatl-hero__title {
		font-size: clamp(28px, 8vw, 38px) !important;
	}

	.potatl-hero__lead {
		font-size: 15px;
		margin-bottom: 26px !important;
	}

	.potatl-platform-list {
		grid-template-columns: minmax(0, 1fr);
		max-width: 340px;
	}

	.potatl-platform-btn {
		justify-content: flex-start;
		padding-left: 24px;
	}

	.potatl-mock {
		height: 420px;
	}

	.potatl-phone {
		width: 232px;
		height: 424px;
		right: 4px;
	}

	.potatl-desktop {
		width: 232px;
		left: 0;
		bottom: 0;
	}

	.potatl-window__body {
		grid-template-columns: 120px minmax(0, 1fr);
		min-height: 240px;
	}

	.potatl-window__side {
		padding: 18px 14px;
	}

	.potatl-window__main {
		padding: 18px;
	}

	.potatl-dl-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.potatl-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.potatl-feature {
		padding: 22px 12px;
	}

	.potatl-feature__icon {
		width: 68px;
		height: 68px;
		margin-bottom: 14px;
	}

	.potatl-section {
		padding: 60px 0;
	}

	.potatl-section__sub {
		margin-bottom: 32px;
		font-size: 15px;
	}

	.potatl-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px;
	}

	.potatl-footer__brand {
		grid-column: 1 / -1;
	}

	.potatl-footer {
		padding-top: 48px;
	}
}

@media (max-width: 1024px) {
	.potatl-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 768px) {
	.potatl-post-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 16px !important;
	}

	.potatl-blog {
		padding: 36px 0 60px;
	}

	.potatl-cat-nav {
		gap: 8px;
		margin-bottom: 24px;
	}

	.potatl-cat-nav a {
		padding: 7px 13px;
		font-size: 12.5px;
	}
}

@media (max-width: 520px) {
	.potatl-dl-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.potatl-dl-card {
		flex-direction: row;
		align-items: center;
		gap: 14px;
	}

	.potatl-dl-card__cta {
		margin-top: 0;
		margin-left: auto;
	}

	.potatl-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
