/*
Theme Name: Permute Studio
Theme URI: https://www.permute.vip/
Author: Permute
Description: Permute 4 官方网站主题，原生 PHP 模板，不依赖 Elementor / Astra。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: permute
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #f5f6f8;
	--bg-soft: #eef0f4;
	--surface: #ffffff;
	--ink: #0b0e14;
	--ink-2: #1a2130;
	--muted: #69707e;
	--muted-2: #8b93a1;
	--line: #e5e7ec;
	--line-strong: #d7dbe2;
	--accent: #2f5cff;
	--accent-soft: #eef2ff;
	--dark: #0a0d13;
	--dark-2: #11161f;
	--ok: #12b76a;
	--tmall: #ff5000;
	--spectrum: linear-gradient(115deg, #ff6b6b 0%, #ffb84d 22%, #6ee7a8 44%, #4cc9f0 64%, #8b7bff 82%, #ff6bd6 100%);
	--container: 1180px;
	--r-xl: 28px;
	--r-lg: 22px;
	--r-md: 14px;
	--r-sm: 10px;
	--shadow-sm: 0 2px 10px rgba(12, 17, 26, .05);
	--shadow-md: 0 18px 50px rgba(12, 17, 26, .10);
	--shadow-lg: 0 40px 90px rgba(12, 17, 26, .18);
	--ff: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	--mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--ff);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font-family: inherit; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin: .35em 0; }
code { font-family: var(--mono); font-size: .9em; background: #eef0f4; padding: 2px 7px; border-radius: 6px; color: #334155; }
::selection { background: #dbe4ff; color: #0b0e14; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 880px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .01em;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(11, 14, 20, .18); }
.btn-dark:hover { background: #1d2432; color: #fff; box-shadow: 0 14px 30px rgba(11, 14, 20, .24); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-light:hover { border-color: #bcc3cf; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: rgba(12, 17, 26, .05); color: var(--ink); }
.btn-tmall { background: var(--tmall); color: #fff; box-shadow: 0 12px 26px rgba(255, 80, 0, .22); }
.btn-tmall:hover { background: #e84800; color: #fff; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(245, 246, 248, .82);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid rgba(12, 17, 26, .07);
}
.header-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 3px 10px rgba(12, 17, 26, .16); }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.brand-sub { display: block; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--muted-2); text-transform: uppercase; line-height: 1; margin-top: 2px; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
	display: block;
	padding: 8px 13px;
	border-radius: 9px;
	font-size: 14.5px;
	font-weight: 500;
	color: #3d4452;
	transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: rgba(12, 17, 26, .05); color: var(--ink); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--ink); font-weight: 600; background: rgba(12, 17, 26, .05); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-actions .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.nav-toggle {
	display: none;
	width: 40px; height: 40px;
	align-items: center; justify-content: center;
	border: 1px solid var(--line-strong);
	background: #fff;
	border-radius: 10px;
	cursor: pointer;
}
.nav-toggle span { display: block; width: 17px; height: 1.8px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
	content: ""; position: absolute; left: 0; width: 17px; height: 1.8px; background: var(--ink);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after { top: 5.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 78px; }
.hero::before, .hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: .5;
	pointer-events: none;
	z-index: 0;
}
.hero::before { width: 520px; height: 520px; right: -140px; top: -180px; background: conic-gradient(from 210deg, #ffd9a8, #b8f2d0, #b9d4ff, #e8c8ff, #ffd9a8); }
.hero::after { width: 420px; height: 420px; left: -180px; bottom: -220px; background: conic-gradient(from 40deg, #cfe0ff, #ffe3c7, #d8c8ff, #cfe0ff); opacity: .38; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 13px 6px 9px;
	border: 1px solid var(--line-strong);
	background: rgba(255, 255, 255, .72);
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	color: #49505e;
	letter-spacing: .02em;
	margin-bottom: 22px;
}
.eyebrow .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--spectrum); }
.hero h1 { font-size: clamp(42px, 4.9vw, 66px); line-height: 1.05; letter-spacing: -.038em; font-weight: 750; }
.grad-text { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-lead { margin-top: 22px; font-size: 17.5px; line-height: 1.75; color: #4c5463; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-meta li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #5a6270; }
.hero-meta svg { width: 15px; height: 15px; color: var(--ok); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual::before {
	content: "";
	position: absolute; inset: -6% -4%;
	background: var(--spectrum);
	border-radius: 36px;
	opacity: .16;
	filter: blur(30px);
	z-index: 0;
}
.app-window {
	position: relative; z-index: 1;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: 20px;
	padding: 9px;
	box-shadow: var(--shadow-lg);
}
.app-window img { border-radius: 12px; }
.app-badge {
	position: absolute;
	left: -22px; bottom: -26px;
	z-index: 2;
	display: flex; align-items: center; gap: 11px;
	padding: 12px 18px 12px 12px;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 16px;
	box-shadow: var(--shadow-md);
}
.app-badge img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 4px 12px rgba(12, 17, 26, .18); }
.app-badge strong { display: block; font-size: 14px; line-height: 1.3; }
.app-badge span { display: block; font-size: 11.5px; color: var(--muted); }
.float-chip {
	position: absolute; z-index: 2;
	padding: 7px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	border: 1px solid rgba(255, 255, 255, .9);
	box-shadow: var(--shadow-md);
	font-size: 12.5px;
	font-weight: 600;
	color: #3a4150;
}
.float-chip.c1 { top: 8%; right: -18px; }
.float-chip.c2 { top: 24%; left: -30px; }
.float-chip.c3 { bottom: 28%; right: -26px; }

/* ---------- Trust bar ---------- */
.trust { border-top: 1px solid rgba(12, 17, 26, .07); border-bottom: 1px solid rgba(12, 17, 26, .07); background: rgba(255, 255, 255, .55); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 22px; text-align: center; border-left: 1px solid rgba(12, 17, 26, .07); }
.trust-item:first-child { border-left: 0; }
.trust-item strong { display: block; font-size: 24px; letter-spacing: -.03em; }
.trust-item span { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--dark); color: #dfe4ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lead { color: #98a2b3; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 13px; }
.section-kicker::before { content: ""; width: 22px; height: 2px; background: var(--spectrum); border-radius: 2px; }
.section h2 { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -.032em; line-height: 1.14; }
.section-lead { margin-top: 15px; font-size: 16.5px; line-height: 1.75; color: var(--muted); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 28px 26px;
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.feature-ico {
	display: flex; align-items: center; justify-content: center;
	width: 46px; height: 46px;
	border-radius: 13px;
	background: var(--accent-soft);
	color: var(--accent);
	margin-bottom: 18px;
}
.feature-ico svg { width: 22px; height: 22px; }
.feature-card:nth-child(2) .feature-ico { background: #fff4e8; color: #e9820b; }
.feature-card:nth-child(3) .feature-ico { background: #e9f9f1; color: #0f9f63; }
.feature-card:nth-child(4) .feature-ico { background: #f2edff; color: #7c5cff; }
.feature-card:nth-child(5) .feature-ico { background: #e9f6fd; color: #1189c9; }
.feature-card:nth-child(6) .feature-ico { background: #ffeef4; color: #db3a72; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Showcase ---------- */
.showcase { background: linear-gradient(180deg, #0a0d13 0%, #10151e 100%); }
.show-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.show-tab {
	border: 1px solid rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .04);
	color: #b9c1cf;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
	transition: all .18s ease;
}
.show-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.show-tab.is-active { background: #fff; color: #0b0e14; border-color: #fff; font-weight: 600; }
.show-panel { display: none; }
.show-panel.is-active { display: block; animation: fadeUp .35s ease; }
.show-frame {
	position: relative;
	border-radius: 22px;
	padding: 10px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	box-shadow: 0 40px 100px rgba(0, 0, 0, .45);
}
.show-frame img { border-radius: 14px; width: 100%; }
.show-caption { text-align: center; margin: 20px 0 0; color: #8f99a9; font-size: 13.5px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Formats ---------- */
.format-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.format-card {
	background: rgba(255, 255, 255, .045);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 16px;
	padding: 22px 20px;
	transition: background .2s ease, border-color .2s ease;
}
.format-card:hover { background: rgba(255, 255, 255, .075); border-color: rgba(255, 255, 255, .22); }
.format-card h3 { font-size: 15.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.format-card h3 .bar { width: 7px; height: 7px; border-radius: 50%; background: var(--spectrum); }
.format-card p { margin: 0; font-size: 12.5px; line-height: 1.9; color: #8f99a9; letter-spacing: .01em; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; }
.step-num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	border-radius: 12px;
	background: var(--ink); color: #fff;
	font-size: 15px; font-weight: 700;
	margin-bottom: 16px;
}
.step-card h3 { font-size: 17px; margin-bottom: 7px; }
.step-card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---------- Pricing ---------- */
.pricing-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.pricing-main { padding: 44px 46px; }
.pricing-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: #eef2ff; color: #2f5cff; font-size: 12px; font-weight: 700; letter-spacing: .03em; margin-bottom: 18px; }
.pricing-main h3 { font-size: 27px; margin-bottom: 8px; }
.pricing-main .sub { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: #444c5a; }
.check-list svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; margin-top: 3px; }
.pricing-side {
	background: var(--ink);
	color: #fff;
	padding: 44px 40px;
	display: flex; flex-direction: column; justify-content: center; text-align: center;
	position: relative; overflow: hidden;
}
.pricing-side::before {
	content: ""; position: absolute; width: 320px; height: 320px; right: -140px; top: -120px;
	background: var(--spectrum); filter: blur(70px); opacity: .28; border-radius: 50%;
}
.pricing-side > * { position: relative; z-index: 1; }
.price { display: flex; align-items: flex-start; justify-content: center; gap: 3px; line-height: 1; }
.price .cur { font-size: 24px; font-weight: 600; margin-top: 9px; }
.price .num { font-size: 64px; font-weight: 750; letter-spacing: -.04em; }
.price-note { color: #99a3b3; font-size: 13px; margin: 12px 0 24px; }
.pricing-side .btn { width: 100%; }
.pricing-side .small { margin: 14px 0 0; font-size: 12px; color: #8b95a5; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 28px 24px; box-shadow: var(--shadow-sm); }
.stars { display: flex; gap: 3px; color: #f5a623; margin-bottom: 14px; }
.stars svg { width: 15px; height: 15px; fill: currentColor; }
.review-card blockquote { margin: 0 0 18px; font-size: 15px; line-height: 1.8; color: #333b48; }
.review-who { display: flex; align-items: center; gap: 11px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--spectrum); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; }
.review-who strong { display: block; font-size: 13.5px; }
.review-who span { display: block; font-size: 12px; color: var(--muted-2); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden; }
.faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 24px;
	font-size: 15.5px;
	font-weight: 600;
	display: flex; align-items: center; justify-content: space-between; gap: 18px;
	transition: background .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #fafbfc; }
.faq-item summary::after {
	content: "+";
	font-size: 21px;
	font-weight: 300;
	color: var(--muted);
	line-height: 1;
	flex-shrink: 0;
	transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 21px; font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--dark); border-radius: var(--r-xl); padding: 54px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -100px; bottom: -220px; background: var(--spectrum); filter: blur(80px); opacity: .3; border-radius: 50%; }
.cta-left { display: flex; align-items: center; gap: 22px; position: relative; z-index: 1; }
.cta-left img { width: 68px; height: 68px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.cta-left h2 { color: #fff; font-size: 27px; margin-bottom: 5px; }
.cta-left p { margin: 0; color: #98a2b3; font-size: 14px; }
.cta-actions { display: flex; gap: 10px; position: relative; z-index: 1; flex-shrink: 0; }
.cta-actions .btn-light { background: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0d13; color: #98a2b3; margin-top: 0; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #5f6877; }
.footer-brand p { margin: 16px 0 0; font-size: 13.5px; line-height: 1.8; max-width: 30em; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 9px; }
.footer-col a { font-size: 13.5px; color: #98a2b3; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12.5px; color: #6b7585; }
.footer-bottom a { color: #8a94a4; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Generic page ---------- */
.page-hero { padding: 64px 0 46px; background: linear-gradient(180deg, #eef0f4 0%, var(--bg) 100%); border-bottom: 1px solid rgba(12, 17, 26, .06); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(34px, 4vw, 50px); letter-spacing: -.035em; }
.page-hero .lead { margin-top: 14px; max-width: 44em; font-size: 16.5px; color: var(--muted); }
.page-body { padding: 58px 0 84px; }
.prose { max-width: 820px; font-size: 16px; line-height: 1.85; color: #2b3240; }
.prose h2 { margin: 2em 0 .6em; font-size: 26px; }
.prose h3 { margin: 1.7em 0 .5em; font-size: 20px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 14px; border: 1px solid var(--line); margin: 1.4em 0; }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 3px solid var(--accent); background: #fff; border-radius: 0 12px 12px 0; color: #4a5261; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.prose th { background: #f3f5f8; font-weight: 600; }

/* About */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 27px 24px; box-shadow: var(--shadow-sm); }
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.75; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about-shot { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 9px; box-shadow: var(--shadow-md); }
.about-shot img { border-radius: 12px; }

/* Download */
.download-card { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-md); }
.download-card .app-icon { width: 148px; height: 148px; border-radius: 34px; box-shadow: 0 18px 40px rgba(12, 17, 26, .2); }
.download-card h2 { font-size: 30px; margin-bottom: 8px; }
.download-card .desc { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.dc-download-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dc-download-meta { color: var(--muted) !important; font-size: 13px !important; }
.download-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.info-card h4 { font-size: 13px; color: var(--muted-2); letter-spacing: .04em; margin-bottom: 6px; font-weight: 600; }
.info-card p { margin: 0; font-size: 14px; color: #333b48; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.contact-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.contact-card a { color: var(--accent); font-weight: 600; }

/* Reviews page */
.feedback-hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px 36px; box-shadow: var(--shadow-sm); margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* ---------- Docs ---------- */
.doc-hero { background: linear-gradient(180deg, #eceff4 0%, var(--bg) 100%); border-bottom: 1px solid rgba(12, 17, 26, .06); padding: 34px 0 40px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted-2); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: #c2c8d2; }
.doc-hero h1 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; }
.doc-hero .doc-sub { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.doc-layout { display: grid; grid-template-columns: 262px minmax(0, 1fr) 210px; gap: 38px; padding: 42px 0 84px; align-items: start; }
.doc-sidebar { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.doc-nav-toggle { display: none; }
.doc-side-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 12px 6px; }
.doc-nav-group { margin-bottom: 20px; }
.doc-nav-group h4 { font-size: 12.5px; color: var(--muted-2); font-weight: 600; margin: 0 0 7px 6px; }
.doc-nav-group ul { list-style: none; margin: 0; padding: 0; }
.doc-nav-group li { margin: 1px 0; }
.doc-nav-group a { display: block; padding: 7px 11px; border-radius: 8px; font-size: 13.5px; color: #4a5261; line-height: 1.45; }
.doc-nav-group a:hover { background: rgba(12, 17, 26, .05); color: var(--ink); }
.doc-nav-group a.is-current { background: var(--ink); color: #fff; font-weight: 600; }
.doc-article { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 42px 46px 46px; box-shadow: var(--shadow-sm); min-width: 0; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted-2); }
.doc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.doc-meta svg { width: 14px; height: 14px; }
.doc-content { font-size: 16px; line-height: 1.9; color: #2b3240; }
.doc-content > *:first-child { margin-top: 0; }
.doc-content h2 { font-size: 23px; margin: 2em 0 .6em; padding-top: .2em; scroll-margin-top: 96px; }
.doc-content h3 { font-size: 18px; margin: 1.7em 0 .5em; scroll-margin-top: 96px; }
.doc-content h4 { font-size: 16px; margin: 1.4em 0 .4em; }
.doc-content p { margin: 0 0 1.15em; }
.doc-content ul, .doc-content ol { margin: 0 0 1.3em; padding-left: 1.45em; }
.doc-content li { margin: .45em 0; }
.doc-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.doc-content img { border-radius: 12px; border: 1px solid var(--line); margin: 1.3em 0; box-shadow: var(--shadow-sm); }
.doc-content figure { margin: 1.5em 0; }
.doc-content figcaption { font-size: 12.5px; color: var(--muted-2); text-align: center; margin-top: 8px; }
.doc-content blockquote { margin: 1.4em 0; padding: 15px 20px; background: #f7f8fa; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; color: #4a5261; }
.doc-content code { font-size: .88em; }
.doc-content pre, .prose pre { margin: 1.3em 0; padding: 16px 20px; background: #0f1420; color: #e6edf7; border-radius: 12px; overflow: auto; font-size: 13px; line-height: 1.65; }
.doc-content pre code, .prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.doc-content .wp-block-heading { scroll-margin-top: 96px; }
.doc-toc { position: sticky; top: 92px; }
.doc-toc h4 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 12px; }
.doc-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-strong); }
.doc-toc li { margin: 0; }
.doc-toc a { display: block; padding: 5px 0 5px 13px; margin-left: -1px; border-left: 2px solid transparent; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.doc-toc a:hover, .doc-toc a.is-active { color: var(--ink); border-left-color: var(--ink); }
.doc-toc .lvl-3 a { padding-left: 25px; font-size: 12px; }
.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.doc-pager a { display: block; padding: 15px 18px; border: 1px solid var(--line); border-radius: 13px; background: #fafbfc; transition: border-color .15s ease, background .15s ease; }
.doc-pager a:hover { border-color: var(--line-strong); background: #fff; color: inherit; }
.doc-pager small { display: block; font-size: 11.5px; color: var(--muted-2); margin-bottom: 4px; }
.doc-pager strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.doc-pager .is-next { text-align: right; }
.doc-cta { margin-top: 38px; padding: 26px 28px; border-radius: var(--r-md); background: linear-gradient(120deg, #f2f5ff, #fff4ec); border: 1px solid #e4e9f7; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.doc-cta h3 { font-size: 17px; margin-bottom: 4px; }
.doc-cta p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Docs archive */
.docs-hero { position: relative; overflow: hidden; padding: 64px 0 58px; background: linear-gradient(180deg, #eceff4 0%, var(--bg) 100%); border-bottom: 1px solid rgba(12, 17, 26, .06); }
.docs-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%; background: conic-gradient(from 200deg, #ffd9a8, #b8f2d0, #b9d4ff, #e8c8ff, #ffd9a8); filter: blur(80px); opacity: .4; }
.docs-hero .container { position: relative; z-index: 1; }
.docs-hero h1 { font-size: clamp(34px, 4.2vw, 52px); letter-spacing: -.035em; }
.docs-hero p { margin: 14px 0 0; color: var(--muted); font-size: 16px; max-width: 40em; }
.docs-search { display: flex; gap: 10px; max-width: 560px; margin-top: 26px; }
.docs-search input {
	flex: 1; height: 50px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff;
	font-size: 14.5px; font-family: inherit; color: var(--ink); outline: none;
	box-shadow: var(--shadow-sm);
}
.docs-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 92, 255, .12); }
.docs-search button { height: 50px; border-radius: 12px; padding: 0 24px; border: 0; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.doc-cat-section { margin-bottom: 46px; scroll-margin-top: 90px; }
.doc-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.doc-cat-head h2 { font-size: 23px; letter-spacing: -.025em; }
.doc-cat-head span { font-size: 12.5px; color: var(--muted-2); }
.doc-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 21px 22px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.doc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); color: inherit; }
.doc-card h3 { font-size: 15px; margin-bottom: 6px; line-height: 1.45; }
.doc-card p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.doc-card .arrow { margin-top: 14px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--accent); }
.doc-card .arrow svg { width: 13px; height: 13px; }
.docs-empty { background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 60px 30px; text-align: center; color: var(--muted); }

/* Search results */
.doc-search-list { max-width: 900px; }
.doc-search-item { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; margin-bottom: 10px; }
.doc-search-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); color: inherit; }
.doc-search-item h3 { font-size: 16px; margin-bottom: 5px; }
.doc-search-item p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
	.doc-layout { grid-template-columns: 240px minmax(0, 1fr); }
	.doc-toc { display: none; }
	.format-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
	.main-nav, .header-actions .btn-ghost { display: none; }
	.nav-toggle { display: inline-flex; }
	.header-actions { margin-left: auto; }
	.main-nav.is-open {
		display: block; position: absolute; left: 0; right: 0; top: 68px;
		background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 18px;
		box-shadow: 0 18px 40px rgba(12, 17, 26, .12);
	}
	.main-nav.is-open ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-nav.is-open a { padding: 11px 12px; font-size: 15px; }
	.hero { padding: 56px 0 62px; }
	.hero-grid { grid-template-columns: 1fr; gap: 46px; }
	.hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: 1fr; }
	.pricing-wrap { grid-template-columns: 1fr; }
	.pricing-main, .pricing-side { padding: 34px 30px; }
	.review-grid { grid-template-columns: 1fr; }
	.about-split { grid-template-columns: 1fr; gap: 28px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
	.doc-layout { grid-template-columns: 1fr; padding-top: 0; }
	.doc-sidebar { position: static; max-height: none; margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 16px 18px; }
	.doc-nav-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
	.doc-nav-toggle span { font-size: 21px; font-weight: 300; color: var(--muted); line-height: 1; transition: transform .2s ease; }
	.doc-sidebar.is-open .doc-nav-toggle span { transform: rotate(45deg); }
	.doc-sidebar-inner { display: none; margin-top: 14px; }
	.doc-sidebar.is-open .doc-sidebar-inner { display: block; }
	.doc-sidebar .doc-nav-group:last-child { margin-bottom: 0; }
	.doc-card-grid { grid-template-columns: repeat(2, 1fr); }
	.doc-article { padding: 30px 26px 34px; }
	.cta-band { flex-direction: column; align-items: flex-start; padding: 38px 30px; }
	.cta-actions { width: 100%; flex-wrap: wrap; }
	.download-card { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
	.download-card .app-icon { margin: 0 auto; }
	.download-card .dc-download-wrap { justify-content: center; }
	.download-info { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.feedback-hero-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	.container { padding: 0 20px; }
	.section { padding: 64px 0; }
	.hero h1 { font-size: 38px; }
	.hero-lead { font-size: 16px; }
	.hero-actions .btn { flex: 1; }
	.hero-meta { gap: 8px 14px; }
	.trust-grid { grid-template-columns: 1fr 1fr; }
	.trust-item:nth-child(3) { border-left: 0; }
	.trust-item { border-top: 1px solid rgba(12, 17, 26, .07); }
	.trust-item:first-child, .trust-item:nth-child(2) { border-top: 0; }
	.feature-grid { grid-template-columns: 1fr; }
	.format-grid { grid-template-columns: 1fr 1fr; }
	.check-list { grid-template-columns: 1fr; }
	.doc-card-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.page-hero { padding: 46px 0 36px; }
	.docs-hero { padding: 46px 0 42px; }
	.docs-search { flex-direction: column; }
	.docs-search button { width: 100%; }
	.app-badge { left: 8px; bottom: -22px; }
	.float-chip.c1, .float-chip.c3 { display: none; }
	.doc-hero { padding: 24px 0 32px; }
	.doc-pager { grid-template-columns: 1fr; }
	.doc-cta { flex-direction: column; align-items: flex-start; }
	.cta-left { align-items: flex-start; }
	.cta-left img { width: 54px; height: 54px; }
	.footer-bottom { flex-direction: column; }
}
