:root {
	--wm-primary: #ffd100;
	--wm-primary-deep: #ff8a00;
	--wm-ink: #17181a;
	--wm-text: #666666;
	--wm-border: rgba(23, 24, 26, 0.08);
	--wm-surface: #ffffff;
	--wm-surface-soft: #f7f8fa;
	--wm-footer: #2e3033;
	--wm-width: 1200px;
	--wm-radius: 2px;
	--wm-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

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

html {
	scroll-behavior: smooth;
}

body.waimaoya-theme {
	margin: 0;
	font-family: lucida grande, lucida sans unicode, lucida, helvetica, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
	color: var(--wm-ink);
	background: #fff;
	line-height: 1.7;
}

a {
	color: inherit;
	text-decoration: none;
}

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

.site-main {
	min-height: 60vh;
}

.header-shell,
.hero-shell,
.metric-shell,
.section-block,
.content-layout,
.single-shell,
.footer-shell,
.cta-band__shell,
.inner-hero__shell {
	width: min(calc(100% - 40px), var(--wm-width));
	margin: 0 auto;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	backdrop-filter: blur(12px);
}

.header-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 88px;
}

.brand-mark img {
	width: auto;
	height: 40px;
}

.brand-mark .logo-dark,
.site-header.is-scrolled .brand-mark .logo-light {
	display: none;
}

.site-header.is-scrolled .brand-mark .logo-dark {
	display: block;
}

.desktop-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-primary {
	display: flex;
	align-items: center;
	gap: 4px;
}

.menu-primary > li {
	position: relative;
}

.menu-primary > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
}

.site-header.is-scrolled .menu-primary > li > a {
	color: var(--wm-ink);
}

.menu-primary .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	min-width: 220px;
	background: #ffffff;
	border-radius: 14px;
	padding: 12px;
	box-shadow: var(--wm-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.menu-primary li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.menu-primary .sub-menu li + li {
	margin-top: 4px;
}

.menu-primary .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 14px;
	color: var(--wm-ink);
	background: transparent;
}

.menu-primary .sub-menu a:hover {
	background: rgba(255, 209, 0, 0.15);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 18px;
	border-radius: var(--wm-radius);
	font-size: 14px;
	font-weight: 700;
	border: 1px solid transparent;
	transition: transform 0.24s ease, opacity 0.24s ease, background-color 0.24s ease;
}

.header-cta:hover {
	transform: translateY(-1px);
	opacity: 0.92;
}

.header-cta--primary {
	background: #ffffff;
	color: var(--wm-primary-deep);
}

.site-header.is-scrolled .header-cta--primary {
	background: var(--wm-primary-deep);
	color: #ffffff;
}

.header-cta--ghost {
	border-color: rgba(255, 255, 255, 0.8);
	color: #ffffff;
	background: transparent;
}

.header-cta--ghost.dark {
	border-color: var(--wm-ink);
	color: var(--wm-ink);
}

.site-header.is-scrolled .header-cta--ghost {
	border-color: rgba(23, 24, 26, 0.15);
	color: var(--wm-ink);
}

.mobile-menu-toggle,
.mobile-menu-close {
	display: none;
}

.hero-section {
	position: relative;
	padding: 160px 0 90px;
	background:
		radial-gradient(circle at top left, rgba(255, 209, 0, 0.45), transparent 36%),
		linear-gradient(135deg, #202226 0%, #3e4148 52%, #17181a 100%);
	overflow: hidden;
}

.hero-section::after {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -120px;
	width: 360px;
	height: 360px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
}

.hero-shell {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 420px);
	gap: 48px;
	align-items: center;
}

.hero-copy {
	color: #ffffff;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff1af;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hero-copy h1 {
	margin: 18px 0 18px;
	font-size: clamp(36px, 4.5vw, 62px);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.hero-copy p {
	max-width: 700px;
	margin: 0;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.hero-points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding: 0;
	margin: 32px 0 0;
	list-style: none;
}

.hero-points li {
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(8px);
	font-size: 14px;
	border-radius: 14px;
}

.hero-card-stack {
	display: grid;
	gap: 18px;
}

.hero-card {
	padding: 26px 24px;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 22px;
	box-shadow: var(--wm-shadow);
}

.hero-card--primary {
	background: linear-gradient(145deg, #ffd100, #ffb900);
}

.hero-card h3 {
	margin: 0 0 8px;
	font-size: 22px;
}

.hero-card p {
	margin: 0;
	font-size: 15px;
	color: rgba(23, 24, 26, 0.8);
}

.metric-band {
	background: var(--wm-primary);
}

.metric-shell {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	padding: 36px 0;
}

.metric-item {
	text-align: center;
}

.metric-item strong {
	display: block;
	font-size: clamp(28px, 3vw, 46px);
	line-height: 1;
}

.metric-item span {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	color: rgba(23, 24, 26, 0.74);
}

.section-block {
	padding: 88px 0;
}

.section-block--soft {
	background: var(--wm-surface-soft);
}

.section-block--page-content {
	padding-top: 24px;
}

.section-heading {
	max-width: 760px;
	margin-bottom: 34px;
}

.section-heading span {
	display: inline-block;
	color: var(--wm-primary-deep);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.section-heading h2 {
	margin: 12px 0 12px;
	font-size: clamp(30px, 3.4vw, 48px);
	line-height: 1.14;
}

.section-heading p {
	margin: 0;
	color: var(--wm-text);
	font-size: 17px;
}

.solution-grid,
.category-grid,
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.solution-card,
.category-card,
.post-card,
.entry-content-card,
.sidebar-card {
	background: var(--wm-surface);
	border: 1px solid var(--wm-border);
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.solution-card,
.category-card {
	padding: 28px;
}

.solution-card h3,
.category-card h3 {
	margin: 0 0 12px;
	font-size: 22px;
}

.solution-card p,
.category-card p,
.entry-content-card,
.sidebar-card {
	color: var(--wm-text);
}

.category-card {
	background:
		linear-gradient(180deg, rgba(255, 209, 0, 0.18) 0%, rgba(255, 255, 255, 0) 100%),
		#ffffff;
}

.category-card:hover,
.solution-card:hover,
.post-card:hover {
	transform: translateY(-3px);
	transition: transform 0.24s ease;
}

.content-shell {
	max-width: 860px;
	margin: 0 auto;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	padding: 56px 0 90px;
}

.content-layout__main {
	min-width: 0;
}

.content-layout__sidebar {
	display: grid;
	align-content: start;
	gap: 18px;
}

.post-card {
	overflow: hidden;
}

.post-card__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, rgba(255, 209, 0, 0.35), rgba(255, 138, 0, 0.08));
}

.post-card__thumb img,
.entry-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__placeholder {
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(255, 209, 0, 0.28), rgba(255, 138, 0, 0.14)),
		#f7f8fa;
}

.post-card__body {
	padding: 22px;
}

.post-card__body h2,
.post-card__body h3 {
	margin: 10px 0 12px;
	font-size: 22px;
	line-height: 1.25;
}

.post-card__body p {
	margin: 0;
	color: var(--wm-text);
}

.post-card__cat,
.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	font-size: 13px;
	color: #767a82;
}

.entry-meta {
	margin-top: 18px;
}

.entry-content-card {
	padding: 34px;
}

.entry-content-card--single {
	padding: 38px;
}

.entry-content-card > :first-child {
	margin-top: 0;
}

.entry-copy {
	color: #2d3138;
}

.entry-copy h2,
.entry-copy h3,
.entry-copy h4 {
	color: var(--wm-ink);
}

.entry-copy img {
	border-radius: 14px;
	margin: 24px 0;
}

.entry-featured-image {
	margin: 22px 0 10px;
	border-radius: 18px;
	overflow: hidden;
}

.inner-hero {
	padding: 144px 0 52px;
	background:
		radial-gradient(circle at top left, rgba(255, 209, 0, 0.26), transparent 28%),
		linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
}

.inner-hero__shell span {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wm-primary-deep);
}

.inner-hero__shell h1 {
	margin: 10px 0 0;
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.1;
}

.sidebar-card {
	padding: 24px;
}

.sidebar-card__title {
	margin: 0 0 14px;
	font-size: 18px;
	color: var(--wm-ink);
}

.sidebar-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar-card li + li {
	margin-top: 10px;
}

.sidebar-card a {
	color: var(--wm-text);
}

.sidebar-card a:hover {
	color: var(--wm-primary-deep);
}

.pagination-wrap {
	margin-top: 32px;
}

.pagination-wrap .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination-wrap .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid var(--wm-border);
	background: #fff;
}

.pagination-wrap .current {
	background: var(--wm-ink);
	color: #fff;
	border-color: var(--wm-ink);
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 22px;
}

.post-nav a {
	display: block;
	padding: 18px 20px;
	border: 1px solid var(--wm-border);
	border-radius: 16px;
	background: #fff;
}

.cta-band {
	padding: 0 0 96px;
}

.cta-band__shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 32px;
	border-radius: 28px;
	background: linear-gradient(135deg, #1d1f22 0%, #383c45 100%);
	color: #ffffff;
}

.cta-band__shell h2 {
	margin: 0 0 8px;
	font-size: 32px;
	line-height: 1.15;
}

.cta-band__shell p {
	margin: 0;
	color: rgba(255, 255, 255, 0.76);
}

.empty-state {
	padding: 36px;
	text-align: center;
}

.site-footer {
	background: var(--wm-footer);
	color: #a8adb0;
}

.footer-top {
	display: grid;
	grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
	gap: 24px;
	padding: 68px 0 34px;
}

.footer-brand img {
	height: 42px;
	width: auto;
	margin-bottom: 18px;
}

.footer-brand p {
	margin: 0 0 18px;
	font-size: 15px;
}

.footer-quick-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.footer-quick-links a {
	color: #ffffff;
	font-size: 14px;
}

.footer-column h3 {
	margin: 0 0 16px;
	color: #ffffff;
	font-size: 18px;
}

.footer-menu li + li {
	margin-top: 10px;
}

.footer-menu a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.footer-bottom {
	padding: 22px 0 34px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	font-size: 14px;
}

.footer-bottom p {
	margin: 8px 0;
}

.mobile-menu-panel {
	position: fixed;
	inset: 0;
	background: rgba(10, 12, 16, 0.36);
}

.mobile-menu-panel__inner {
	width: min(92vw, 380px);
	height: 100%;
	background: #ffffff;
	padding: 18px 18px 28px;
	box-shadow: var(--wm-shadow);
}

.mobile-menu-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--wm-border);
}

.mobile-menu-panel__header img {
	height: 28px;
	width: auto;
}

.menu-mobile {
	margin-top: 20px;
}

.menu-mobile > li + li {
	margin-top: 8px;
}

.menu-mobile a {
	display: block;
	padding: 12px 10px;
	font-weight: 600;
	border-radius: 12px;
}

.menu-mobile .sub-menu {
	margin-top: 6px;
	padding-left: 10px;
}

.menu-mobile .sub-menu a {
	font-weight: 500;
	color: var(--wm-text);
}

@media (max-width: 1100px) {
	.hero-shell,
	.footer-top,
	.solution-grid,
	.category-grid,
	.post-grid,
	.content-layout {
		grid-template-columns: 1fr;
	}

	.hero-points,
	.metric-shell {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cta-band__shell {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 960px) {
	.desktop-nav,
	.header-actions .header-cta {
		display: none;
	}

	.mobile-menu-toggle,
	.mobile-menu-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: transparent;
		border: 0;
		padding: 0;
		cursor: pointer;
	}

	.mobile-menu-toggle {
		width: 42px;
		height: 42px;
		flex-direction: column;
		gap: 5px;
	}

	.mobile-menu-toggle span {
		display: block;
		width: 22px;
		height: 2px;
		background: #ffffff;
	}

	.site-header.is-scrolled .mobile-menu-toggle span {
		background: var(--wm-ink);
	}

	.mobile-menu-close {
		font-size: 30px;
		line-height: 1;
	}
}

@media (max-width: 680px) {
	.header-shell {
		min-height: 74px;
	}

	.hero-section {
		padding-top: 132px;
		padding-bottom: 70px;
	}

	.hero-points,
	.metric-shell {
		grid-template-columns: 1fr;
	}

	.hero-copy p,
	.section-heading p {
		font-size: 16px;
	}

	.solution-card,
	.category-card,
	.entry-content-card,
	.sidebar-card,
	.cta-band__shell {
		padding: 22px;
	}

	.post-nav {
		grid-template-columns: 1fr;
	}
}
