/* XingTu theme — mobile-first */

:root {
	--brand: #c6f432;          /* Xingtu lime */
	--brand-dark: #9fce1d;
	--ink: #111318;
	--ink-soft: #3d424d;
	--ink-mute: #6b7280;
	--bg: #ffffff;
	--bg-soft: #f5f7f0;
	--bg-dark: #0d0f12;
	--bg-dark-2: #16191f;
	--line: #e5e7eb;
	--radius: 12px;
	--radius-lg: 20px;
	--container: 1000px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 20px;
}

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--brand);
	color: var(--ink);
	padding: 8px 16px;
	z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	cursor: pointer;
	border: 2px solid transparent;
}
.btn:active { transform: scale(.97); }

.btn-primary {
	background: var(--brand);
	color: var(--ink);
}
.btn-primary:hover { background: var(--brand-dark); }

.btn-outline {
	border-color: var(--ink);
	color: var(--ink);
	background: transparent;
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-lg { padding: 14px 28px; font-size: 17px; }

.btn-badge {
	background: rgba(0,0,0,.15);
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 12px;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -.02em;
}
.logo-mark {
	width: 28px; height: 28px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #e2ff7a, var(--brand) 60%, var(--brand-dark));
	box-shadow: 0 0 12px rgba(198,244,50,.6);
}
.logo-tld { color: var(--ink-mute); font-weight: 600; }

.nav-toggle {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 10px;
	cursor: pointer;
}
.nav-toggle-bar {
	width: 22px; height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0; right: 0;
	background: #fff;
	border-bottom: 1px solid var(--line);
	padding: 16px 20px 20px;
}
.site-nav.is-open { display: block; }

.nav-menu {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}
.nav-menu a {
	display: block;
	padding: 10px 0;
	text-decoration: none;
	font-weight: 600;
	color: var(--ink-soft);
}
.nav-menu a:hover { color: var(--ink); }

@media (min-width: 860px) {
	.nav-toggle { display: none; }
	.site-nav {
		display: flex !important;
		position: static;
		align-items: center;
		gap: 24px;
		background: none;
		border: 0;
		padding: 0;
	}
	.nav-menu {
		display: flex;
		gap: 24px;
		margin: 0;
	}
	.nav-menu a { padding: 4px 0; }
}

/* ---------- Language switcher ---------- */
.lang-switcher {
	list-style: none;
	display: flex;
	gap: 4px;
	margin: 16px 0 0;
	padding: 0;
}
.lang-switcher a {
	display: block;
	padding: 4px 8px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	color: var(--ink-mute);
	border: 1px solid var(--line);
}
.lang-switcher .current-lang a {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}
@media (min-width: 860px) {
	.lang-switcher { margin: 0; }
}

/* ---------- Hero ---------- */
.hero {
	background: var(--bg-dark);
	color: #fff;
	text-align: center;
	padding: 56px 0 64px;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	width: 480px; height: 480px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(198,244,50,.25), transparent 65%);
	top: -200px;
	left: 50%;
	transform: translateX(-50%);
	pointer-events: none;
}
.hero-inner { position: relative; }

.hero-eyebrow {
	color: var(--brand);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin: 0 0 12px;
}
.hero-title {
	font-size: clamp(28px, 6vw, 44px);
	line-height: 1.2;
	letter-spacing: -.02em;
	margin: 0 0 16px;
}
.hero-sub {
	color: #b7bcc7;
	max-width: 560px;
	margin: 0 auto 28px;
	font-size: 17px;
}
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 24px;
}
.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--ink); }

.hero-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
	color: #8d93a1;
	font-size: 14px;
}
.hero-trust li::before {
	content: "✓ ";
	color: var(--brand);
	font-weight: 700;
}

.hero-meta {
	margin: 16px 0 0;
	font-size: 13px;
	color: #6f7581;
}

/* ---------- Pillar content ---------- */
.pillar { background: #fff; }
.pillar .entry-content h2 { scroll-margin-top: 80px; }

.toc {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 20px 24px;
	margin-bottom: 32px;
}
.toc-title {
	font-weight: 700;
	margin: 0 0 10px;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .05em;
}
.toc ol {
	margin: 0;
	padding-left: 20px;
	columns: 1;
}
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.toc a:hover { color: var(--brand-dark); }

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	margin: 16px 0 24px;
}
.entry-content th, .entry-content td {
	border: 1px solid var(--line);
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
}
.entry-content th {
	background: var(--bg-soft);
	white-space: nowrap;
	width: 180px;
}
@media (max-width: 640px) {
	.entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.entry-content th { width: auto; min-width: 140px; }
	.entry-content td { min-width: 200px; }
	.entry-content td, .entry-content li { text-align: left; }
}

/* ---------- Editor page wrapper ---------- */
.editor-wrap { padding-top: 24px; }
.editor-header { text-align: center; margin-bottom: 20px; }
.editor-header .entry-title { margin-bottom: 8px; }
.editor-lead { color: var(--ink-soft); margin: 0 auto; max-width: 640px; font-size: 16px; }
.editor-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 20px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 18px 20px;
	margin: 20px 0 40px;
	text-align: center;
}
.editor-cta p { margin: 0; color: var(--ink-soft); font-weight: 600; }
.editor-content { margin-inline: auto; }

/* ---------- Tools nav (shared) ---------- */
.tools-nav { margin: 40px 0; }
.tools-nav h2 { text-align: center; font-size: 22px; margin: 0 0 18px; }
.tools-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
}
@media (min-width: 560px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }
.tool-card {
	display: grid;
	grid-template-columns: 44px 1fr;
	column-gap: 14px;
	align-items: start;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 16px 18px;
	text-decoration: none;
	color: var(--ink);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tool-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(17,19,24,.08); border-color: #cfd4dc; }
.tool-card.is-current { border-color: var(--brand); background: var(--bg-soft); }
.tool-card.is-soon { opacity: .55; pointer-events: none; }
.tool-card-icon {
	grid-row: 1 / span 3;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: var(--bg-dark);
	color: var(--brand);
	display: flex; align-items: center; justify-content: center;
	font-size: 20px;
	line-height: 1;
}
.tool-card.is-current .tool-card-icon { background: var(--brand); color: var(--ink); }
.tool-card-title { font-weight: 700; font-size: 15px; margin: 0 0 3px; line-height: 1.3; }
.tool-card-desc { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.45; }
.tool-card-soon { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section:nth-child(even) { background: var(--bg-soft); }

.section-title {
	font-size: clamp(24px, 4.5vw, 32px);
	letter-spacing: -.02em;
	margin: 0 0 12px;
	text-align: center;
}
.section-lead {
	max-width: 680px;
	margin: 0 auto 32px;
	text-align: center;
	color: var(--ink-soft);
}
.section-more { text-align: center; margin: 32px 0 0; }

/* ---------- Feature grid ---------- */
.feature-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
	margin-top: 32px;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 24px 20px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- Download (home preview cards) ---------- */
.dl-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
	max-width: 640px;
	margin: 32px auto 0;
}
@media (min-width: 640px) { .dl-grid { grid-template-columns: 1fr 1fr; } }
.dl-card {
	background: var(--bg-dark-2);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: 28px 24px;
	text-align: center;
}
.dl-card h3 { margin: 0 0 6px; font-size: 20px; }
.dl-meta { color: #9aa0ac; font-size: 14px; margin: 0 0 16px; }
.dl-card .btn-outline { border-color: #fff; color: #fff; }
.dl-card .btn-outline:hover { background: #fff; color: var(--ink); }

/* ---------- Icons & button variants ---------- */
.icon { width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -.15em; }
.btn-icon { gap: 10px; }
.btn-icon .icon { font-size: 1.15em; }
.btn-ghost {
	background: transparent;
	color: inherit;
	border-color: transparent;
	padding-inline: 12px;
	gap: 6px;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-ghost .icon { transition: transform .15s ease; }
.btn-ghost:hover .icon { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2e36; }
.btn-sm { padding: 7px 14px; font-size: 14px; }

/* ---------- Download hub ---------- */
.dl-header { text-align: center; margin-bottom: 28px; }
.dl-header .editor-lead { margin-top: 6px; }

.dl-platforms {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
	margin-bottom: 48px;
}
@media (min-width: 860px) { .dl-platforms { grid-template-columns: 1.15fr 1fr; } }

.dl-app {
	position: relative;
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 18px;
	padding: 26px 24px;
	border-radius: 24px;
	overflow: hidden;
}
.dl-app-android {
	background: radial-gradient(120% 120% at 100% 0%, #26301a 0%, var(--bg-dark) 55%);
	color: #fff;
	border: 1px solid rgba(198,244,50,.25);
}
.dl-app-ios {
	background: #fff;
	color: var(--ink);
	border: 1px solid var(--line);
}
.dl-app-icon {
	width: 72px; height: 72px;
	border-radius: 20px;
	display: flex; align-items: center; justify-content: center;
	font-size: 34px; font-weight: 800;
	background: linear-gradient(145deg, #e2ff7a, var(--brand) 55%, #9fce1d);
	color: var(--ink);
	box-shadow: 0 10px 30px rgba(198,244,50,.28);
}
.dl-app-ios .dl-app-icon { background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(17,19,24,.18); }
.dl-app-ios .dl-app-icon .icon { font-size: 36px; }
.dl-app-body { min-width: 0; }
.dl-app-eyebrow {
	display: flex; align-items: center; gap: 8px;
	margin: 0 0 6px;
	font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .08em;
	color: var(--brand);
}
.dl-app-ios .dl-app-eyebrow { color: var(--ink-mute); }
.dl-app-title { margin: 0 0 10px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.dl-app-title span { color: var(--brand); }
.dl-app-ios .dl-app-title span { color: var(--ink-mute); font-weight: 600; }
.dl-app-meta {
	list-style: none; margin: 0 0 18px; padding: 0;
	display: flex; flex-wrap: wrap; gap: 6px;
}
.dl-app-meta li {
	font-size: 13px; font-weight: 600;
	padding: 5px 10px; border-radius: 999px;
	background: rgba(255,255,255,.08);
	color: #c9ced8;
}
.dl-app-ios .dl-app-meta li { background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--line); }
.dl-app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.dl-app-ios .btn-ghost:hover { background: var(--bg-soft); }
.dl-app-trust {
	display: flex; align-items: center; gap: 8px;
	margin: 14px 0 0; font-size: 12px;
	color: #8d93a1;
}
.dl-app-trust .icon { color: var(--brand); }
.dl-app-ios .dl-app-trust .icon { color: #2e9e5b; }
@media (max-width: 480px) {
	.dl-app { grid-template-columns: 1fr; padding: 22px 18px; }
	.dl-app-icon { width: 56px; height: 56px; border-radius: 16px; font-size: 28px; }
}

.dl-versions { margin-bottom: 48px; }
.dl-content { margin-inline: auto; }

.ver-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ver-head h2 { margin: 0; font-size: 22px; }
.ver-count { margin: 0; font-size: 13px; color: var(--ink-mute); }

.ver-filters { margin: 14px 0 16px; display: grid; gap: 8px; }
.ver-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ver-filter-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-mute); min-width: 74px; }
.ver-filters .xt-chip {
	background: #fff;
	color: var(--ink-soft);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 13px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: border-color .12s ease, background .12s ease;
}
.ver-filters .xt-chip:hover { border-color: #bfc5cf; }
.ver-filters .xt-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.version-list {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
	overflow: hidden;
}
.ver-row {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "main dl" "meta dl" "notes notes";
	align-items: center;
	column-gap: 14px;
	row-gap: 2px;
	padding: 14px 18px;
	border-top: 1px solid var(--line);
	transition: background .12s ease;
}
.ver-row:first-child { border-top: 0; }
.ver-row:hover { background: #fafbf7; }
.ver-row[hidden] { display: none; }
.ver-row.is-latest { background: var(--bg-soft); }
.ver-main { grid-area: main; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ver-name { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.ver-badge {
	font-size: 11px; font-weight: 700; letter-spacing: .04em;
	padding: 2px 8px; border-radius: 999px;
	background: #eef0f3; color: var(--ink-soft);
}
.ver-badge-new { background: var(--brand); color: var(--ink); }
.ver-badge-vi { background: #e2f5e8; color: #1f7a45; }
.ver-meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-mute); }
.ver-dl { grid-area: dl; }
.ver-notes { grid-area: notes; margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.ver-notes summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.ver-more-wrap { text-align: center; margin: 18px 0 0; }
.ver-empty { text-align: center; color: var(--ink-mute); margin: 18px 0 0; }

/* ---------- Posts ---------- */
.post-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
	margin-top: 32px;
}
@media (min-width: 640px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.post-card:hover {
	box-shadow: 0 10px 30px rgba(17,19,24,.08);
	transform: translateY(-2px);
}
.post-card-link { text-decoration: none; display: block; }
.post-card-thumb img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card-body { padding: 18px; }
.post-card-title { margin: 0 0 8px; font-size: 17px; line-height: 1.4; }
.post-card-excerpt { margin: 0 0 12px; color: var(--ink-soft); font-size: 14px; }
.post-card-meta { color: var(--ink-mute); font-size: 13px; }

/* ---------- FAQ (accordion, native <details>) ---------- */
.faq-item {
	max-width: 760px;
	margin: 0 auto 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	transition: border-color .15s ease;
}
.faq-item summary {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 52px 16px 18px;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
	color: var(--ink);
	transition: background .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
	content: "";
	flex: 0 0 auto;
	width: 26px; height: 26px;
	border-radius: 50%;
	border: 1.5px solid #c9cdd4;
	color: #8a909b;
	background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
	background-size: 12px 2px, 2px 12px;
	background-position: center center;
	background-repeat: no-repeat;
	transition: border-color .15s ease, color .15s ease, background-size .15s ease;
}
.faq-item summary::after {
	content: "";
	position: absolute;
	right: 22px; top: 50%;
	width: 9px; height: 9px;
	border-right: 2px solid #8a909b;
	border-bottom: 2px solid #8a909b;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s ease, border-color .15s ease;
}
.faq-item summary:hover { background: #fafbfc; }
.faq-item[open] { border-color: #b7dfc2; }
.faq-item[open] summary { background: #f0f9f2; }
.faq-item[open] summary::before { border-color: #2e9e5b; color: #2e9e5b; background-size: 12px 2px, 0 0; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); border-color: #2e9e5b; }
.faq-item > p, .faq-item > div {
	padding: 14px 22px 18px 58px;
	margin: 0;
	color: var(--ink-soft);
	font-size: 16px;
}
.faq-item > div p { margin: 0 0 10px; }
.faq-item > div p:last-child { margin: 0; }
.entry-content .faq-item { max-width: none; }

/* ---------- Article / page ---------- */
.page-wrap { padding-block: 32px 64px; }
.article-wrap { max-width: 760px; }

.breadcrumb {
	font-size: 13px;
	color: var(--ink-mute);
	margin-bottom: 20px;
}
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

.entry-title {
	font-size: clamp(23px, 4.2vw, 31px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.02em;
	margin: 0 0 12px;
}
.entry-meta { color: var(--ink-mute); font-size: 14px; margin: 0 0 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.entry-meta .meta-item { display: inline-flex; align-items: center; gap: 5px; }
.entry-meta .meta-item .icon { color: #6f9e0f; flex: none; }
.entry-meta .meta-item a { color: inherit; text-decoration: none; }
.entry-meta .meta-item a:hover { text-decoration: underline; }
.entry-meta .meta-sep { color: var(--line, #d9d9d9); }
.entry-thumb img { border-radius: var(--radius-lg); }

.entry-content { font-size: 17px; }
.entry-content p,
.entry-content li,
.faq-item p {
	text-align: justify;
	text-justify: inter-word;
	hyphens: auto;
	-webkit-hyphens: auto;
}
.entry-content h2 { font-size: 22px; font-weight: 600; margin: 38px 0 12px; letter-spacing: -.01em; }
.entry-content h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; }
.entry-content img { border-radius: var(--radius); }
.entry-content a { color: #4d7a0a; text-underline-offset: 2px; }
.entry-content a:hover { color: #3a5e07; }

.entry-footer { margin-top: 40px; text-align: center; }

.pagination { margin-top: 40px; text-align: center; }
.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}
.pagination .page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
}
.pagination .page-numbers.current {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--bg-dark);
	color: #9aa0ac;
	margin-top: 0;
}
.footer-top {
	display: grid;
	gap: 36px 40px;
	grid-template-columns: 1fr;
	padding: 52px 20px 40px;
}
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr; } }

.footer-brand .site-logo { color: #fff; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 400px; margin: 16px 0 18px; }
.footer-contact { margin: 0 0 16px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.footer-contact .icon { color: var(--brand); flex: 0 0 auto; }
.footer-contact a { color: #c9ced8; text-decoration: none; }
.footer-contact a:hover { color: #fff; }

.footer-social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.footer-social a {
	width: 40px; height: 40px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.12);
	color: #c9ced8;
	font-size: 18px;
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
.footer-social a:hover { background: var(--brand); color: var(--ink); border-color: var(--brand); transform: translateY(-2px); }

.footer-title {
	font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
	color: #fff; margin: 0 0 16px; padding-bottom: 10px;
	position: relative;
}
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--brand); border-radius: 2px; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0; }
.footer-links a {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 0; color: #9aa0ac; text-decoration: none; font-size: 14px;
	transition: color .15s ease, padding .15s ease;
}
.footer-links a::before { content: "›"; color: var(--brand); font-weight: 700; }
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.08);
	background: rgba(0,0,0,.25);
}
.footer-bottom .container { padding-block: 20px; }
.footer-bottom p { margin: 0; font-size: 13px; color: #6f7581; text-align: center; }

/* ---------- Download gate (countdown page) ---------- */
.gate-wrap { max-width: 720px; margin-inline: auto; }
.gate {
	background: radial-gradient(120% 100% at 100% 0%, #26301a 0%, var(--bg-dark) 55%);
	color: #fff;
	border: 1px solid rgba(198,244,50,.25);
	border-radius: 28px;
	padding: 32px 28px;
}
.gate-head { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.gate-icon {
	flex: 0 0 auto;
	width: 64px; height: 64px; border-radius: 18px;
	display: flex; align-items: center; justify-content: center;
	font-size: 30px; font-weight: 800; color: var(--ink);
	background: linear-gradient(145deg, #e2ff7a, var(--brand) 55%, #9fce1d);
	box-shadow: 0 10px 30px rgba(198,244,50,.28);
}
.gate-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.gate-title { margin: 0 0 8px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.gate-title span { color: var(--brand); }
.gate-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gate-meta li { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: #c9ced8; }
.gate-lead { font-size: 16px; line-height: 1.6; color: #d5d9e2; margin: 0 0 22px; min-height: 1.6em; }
.gate-lead strong { color: #fff; }

.gate-progress { display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: center; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.gate-ring { position: relative; width: 132px; height: 132px; }
.gate-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gate-ring-bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 8; }
.gate-ring-fg { fill: none; stroke: var(--brand); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1s linear; filter: drop-shadow(0 0 6px rgba(198,244,50,.6)); }
.gate-ring-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.gate-ring-num small { font-size: 11px; font-weight: 600; color: #8d93a1; margin-top: 4px; text-transform: uppercase; letter-spacing: .08em; }

.gate-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gate-steps li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: center; font-size: 14px; color: #6f7581; transition: color .3s ease; }
.gate-steps li em { grid-column: 2; font-style: normal; font-size: 12px; color: #8d93a1; display: block; margin-top: 2px; min-height: 0; }
.gate-step-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); position: relative; }
.gate-steps li.is-active { color: #fff; }
.gate-steps li.is-active .gate-step-dot { border-color: var(--brand); }
.gate-steps li.is-active .gate-step-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brand); animation: gate-pulse 1s ease-in-out infinite; }
.gate-steps li.is-done { color: #c9ced8; }
.gate-steps li.is-done .gate-step-dot { background: var(--brand); border-color: var(--brand); }
.gate-steps li.is-done .gate-step-dot::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes gate-pulse { 0%,100% { transform: scale(.7); opacity: .6; } 50% { transform: scale(1); opacity: 1; } }

.gate.is-ready .gate-ring-fg { stroke-dashoffset: 0; }
.gate.is-ready .gate-ring-num { color: var(--brand); }
.gate-ready { margin-top: 22px; text-align: center; }
.gate-ready p { margin: 0 0 12px; color: #d5d9e2; }
.gate-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #8d93a1; }
.gate-note p { margin: 0 0 6px; display: flex; gap: 8px; align-items: flex-start; }
.gate-note .icon { color: var(--brand); flex: 0 0 auto; margin-top: 3px; }
.gate-note a { color: #c9ced8; }
@media (max-width: 560px) {
	.gate { padding: 24px 18px; border-radius: 22px; }
	.gate-progress { grid-template-columns: 1fr; justify-items: center; text-align: left; }
	.gate-steps { width: 100%; }
}

/* ---------- App spec table (download hub) ---------- */
.dl-spec { margin-bottom: 48px; }
.dl-spec > h2 { font-size: 22px; margin: 0 0 18px; }
.spec-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2px;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--line);
}
@media (min-width: 620px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .spec-grid { grid-template-columns: 1fr 1fr 1fr; } }
.spec-item {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 12px;
	align-items: center;
	padding: 16px 18px;
	background: #fff;
}
.spec-ico {
	width: 40px; height: 40px;
	border-radius: 11px;
	display: flex; align-items: center; justify-content: center;
	background: var(--bg-soft);
	color: var(--brand-dark);
	font-size: 20px;
}
.spec-item dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-mute); margin: 0 0 3px; }
.spec-item dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; word-break: break-word; }
.spec-item dd a { color: var(--brand-dark); }
.spec-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-mute); }

/* ---------- Contact form ---------- */
.xtcf-form { max-width: 620px; margin: 8px 0 0; }
.xtcf-row { margin-bottom: 16px; }
.xtcf-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.xtcf-row label span { color: #d33; }
.xtcf-form input[type=text], .xtcf-form input[type=email], .xtcf-form select, .xtcf-form textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--line);
	border-radius: 10px;
	font-family: inherit;
	font-size: 15px;
	background: #fff;
	color: var(--ink);
}
.xtcf-form textarea { resize: vertical; }
.xtcf-form input:focus, .xtcf-form select:focus, .xtcf-form textarea:focus {
	outline: none; border-color: var(--brand-dark); box-shadow: 0 0 0 3px rgba(198,244,50,.25);
}
.xtcf-form .btn { border: 0; cursor: pointer; }
.xtcf-hint { font-size: 13px; color: var(--ink-mute); margin: 12px 0 0; }
.xtcf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.xtcf-notice { padding: 12px 16px; border-radius: 10px; margin: 0 0 18px; font-size: 15px; }
.xtcf-ok { background: #e2f5e8; color: #1f7a45; border: 1px solid #b7dfc2; }
.xtcf-err { background: #fdeaea; color: #b3261e; border: 1px solid #f3c0bd; }

/* ---------- Author box / author page ---------- */
.author-box {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	max-width: 760px;
	margin: 32px auto 0;
	padding: 20px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}
.author-ava {
	flex: 0 0 auto;
	width: 56px; height: 56px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 20px; color: var(--ink);
	background: linear-gradient(145deg, #e2ff7a, var(--brand) 55%, var(--brand-dark));
	box-shadow: 0 6px 18px rgba(198,244,50,.3);
}
.author-eyebrow { margin: 0 0 2px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); }
.author-name { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.author-name a { color: var(--ink); text-decoration: none; }
.author-name a:hover { color: var(--brand-dark); }
.author-bio { margin: 0 0 8px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.author-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #4d7a0a; text-decoration: none; }
.author-more:hover { color: #3a5e07; }
.author-more .icon { transition: transform .15s ease; }
.author-more:hover .icon { transform: translateX(3px); }

/* Post list — thumbnail row layout (blog index, author page) */
.author-posts { margin-top: 40px; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-row {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}
.post-row:first-child { padding-top: 0; }
.post-row:last-child { border-bottom: none; }
.post-row-thumb {
	flex: 0 0 auto;
	width: 160px;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius, 10px);
	overflow: hidden;
	background: var(--bg-soft);
	display: block;
}
.post-row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-row-ph {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: var(--ink-mute); font-size: 32px;
	background: var(--bg-soft);
}
.post-row-body { min-width: 0; }
.post-row-title { margin: 0 0 4px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.post-row-title a { color: var(--ink); text-decoration: none; }
.post-row-title a:hover { color: #4d7a0a; }
.post-row-excerpt {
	margin: 0; font-size: 14px; color: var(--ink-mute); line-height: 1.5;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 520px) {
	.post-row-thumb { width: 104px; }
	.post-row-title { font-size: 15px; }
}
