:root {
	--bg: #fff9f2;
	--surface: #ffffff;
	--text: #1f2433;
	--muted: #6b6472;
	--brand: #e3791f;
	--brand-dark: #bf5f14;
	--border: #eadcc8;
	--ok: #13734d;
	--warn: #9b5b13;
	--footer: #13264a;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.rf-skip {
	position: absolute;
	left: -999px;
	top: 0;
	background: #fff;
	padding: 8px 12px;
	z-index: 100;
}
.rf-skip:focus { left: 8px; }

.container { width: min(1120px, 92vw); margin: 0 auto; }
.section { padding: 24px 0; }
.lead { color: var(--muted); max-width: 78ch; }

.site-header {
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 20;
}

.header-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 10px 0;
}

@media (min-width: 981px) {
	.header-inner {
		grid-template-columns: 1fr auto 300px;
		min-height: 72px;
		padding: 0;
	}
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand a { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand__logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.site-title { font-weight: 700; font-size: 1.05rem; color: var(--text); line-height: 1.2; }
.site-tagline { display: none; font-size: .72rem; color: var(--muted); font-weight: 500; }
@media (min-width: 720px) {
	.site-tagline { display: block; }
}

.menu-toggle {
	display: inline-flex;
	width: 42px;
	height: 42px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: #fff;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	justify-self: end;
}
.menu-toggle-bar {
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: var(--text);
	transition: transform .2s ease, opacity .2s ease;
}
.menu-open .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
	display: none;
	grid-column: 1 / -1;
	padding: 6px 0;
	border-top: 1px solid var(--border);
}
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.primary-nav a { display: block; padding: 10px 4px; color: var(--text); font-weight: 500; }

.header-search {
	display: none;
	grid-column: 1 / -1;
	padding-bottom: 4px;
}
.menu-open .header-search { display: block; }
.header-search form,
.search-form {
	display: flex;
	gap: 8px;
	align-items: center;
}
input[type="search"],
input[type="text"],
input[type="url"],
input[type="email"],
textarea {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 10px 12px;
	font: inherit;
	background: #fff;
}

@media (min-width: 981px) {
	.menu-toggle { display: none; }
	.primary-nav {
		display: block;
		grid-column: auto;
		border: 0;
		padding: 0;
	}
	.primary-nav ul { flex-direction: row; gap: 12px; align-items: center; }
	.primary-nav a { padding: 8px; }
	.header-search {
		display: block;
		grid-column: auto;
		padding: 0;
	}
}

.hero {
	background: linear-gradient(125deg, #ffe8c8 0%, #fff5e8 52%, #eef7ff 100%);
	border-bottom: 1px solid var(--border);
}
.hero-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: center;
	padding: 18px 0 8px;
}
.hero-content {
	min-width: 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.hero-content h1 {
	margin: 0 0 12px;
	font-size: clamp(1.55rem, 5vw, 2.35rem);
	line-height: 1.2;
	color: var(--text);
}
.hero-content .lead { margin-left: auto; margin-right: auto; }
.hero-content .cta-row { justify-content: center; }
.hero-media {
	width: 100%;
	min-height: 180px;
	border-radius: 8px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.45);
}
.hero-media img {
	width: 100%;
	height: 100%;
	min-height: 180px;
	object-fit: cover;
	object-position: center;
}
@media (min-width: 981px) {
	.hero-inner { grid-template-columns: 1.1fr .9fr; }
}

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}
.section-head h2 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.6rem); }
.section-head .meta { color: var(--muted); font-size: .92rem; }

.card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
@media (min-width: 641px) {
	.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 981px) {
	.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.app-card,
.content-card,
.notice-box,
.disclaimer-box,
.widget,
.overview-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 16px;
}

.app-card { text-align: center; }
.app-card-body {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.app-card-body h3 {
	margin: 12px 0 10px;
	font-size: 1.1rem;
}
.app-card-body h3 a { color: var(--brand); }
.thumb-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	overflow: hidden;
	background: #fff3e6;
	width: 120px;
	height: 120px;
	margin: 0 auto;
}
.thumb-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.badges {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: grid;
	gap: 6px;
	color: var(--muted);
	font-size: .92rem;
	justify-items: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 1px solid transparent;
	padding: 10px 14px;
	font-weight: 600;
	cursor: pointer;
	font: inherit;
}
.btn-primary {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline {
	background: #fff;
	border-color: var(--brand);
	color: var(--brand);
}
.btn-block { width: 100%; }

.cta-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 14px 0;
}

.topic-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.topic-chip {
	border: 1px solid var(--border);
	padding: 8px 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--text);
	font-weight: 600;
	font-size: .92rem;
}
.topic-chip:hover { border-color: var(--brand); color: var(--brand-dark); }

.tag-scroller {
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 16px;
	overflow: hidden;
	background: linear-gradient(120deg, #fff2df 0%, #fff8ef 56%, #ffffff 100%);
}
.tag-scroller-track {
	margin-top: 14px;
	display: flex;
	gap: 10px;
	width: max-content;
	animation: tag-scroll 34s linear infinite;
}
.tag-scroller:hover .tag-scroller-track { animation-play-state: paused; }
.tag-scroller-lane { display: flex; gap: 10px; }
.tag-pill {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid #dfd3c0;
	background: rgba(255, 255, 255, 0.88);
	color: #3b2e27;
	font-size: .92rem;
	font-weight: 600;
}
@keyframes tag-scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-50% - 5px)); }
}
@media (max-width: 640px) {
	.tag-scroller-track {
		animation: none;
		width: 100%;
		overflow-x: auto;
	}
	.tag-scroller-lane[aria-hidden="true"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tag-scroller-track { animation: none; }
}

.overview-grid {
	display: grid;
	gap: 12px;
}
@media (min-width: 720px) {
	.overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.overview-card h3 { margin-top: 0; font-size: 1.05rem; }
.overview-card p { margin-bottom: 0; color: var(--muted); }

.steps {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
.steps li {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 14px 16px 14px 52px;
	position: relative;
}
.steps li::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 14px;
	top: 14px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: .85rem;
}

.faq-list { display: grid; gap: 8px; }
.faq-item {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 10px 12px;
}
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { color: var(--muted); margin: 8px 0 0; }

.blog-grid {
	display: grid;
	gap: 16px;
}
@media (min-width: 720px) {
	.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.blog-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 10px;
}
.blog-card time { color: var(--muted); font-size: .86rem; }
.blog-card h3 { margin: 6px 0; font-size: 1.05rem; }

.single-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	padding: 18px;
	border-radius: 18px;
	background: linear-gradient(130deg, #ffcf95 0%, #ffdcb2 42%, #ffe8d1 100%);
	border: 1px solid #f0c690;
	margin-bottom: 18px;
}
.single-header-media {
	width: 120px;
	height: 120px;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}
.single-header-media img { width: 100%; height: 100%; object-fit: cover; }
.single-header h1 { margin: 0; color: #7b2f12; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.facts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	text-align: left;
}
@media (min-width: 641px) {
	.single-header {
		flex-direction: row;
		align-items: center;
		text-align: left;
	}
	.facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.quick-facts { margin-top: 0; }
.quick-facts dt { font-weight: 700; color: var(--text); }
.quick-facts dd { margin: 0 0 8px; color: var(--muted); }

.content-entry { margin-top: 16px; }
.content-entry > :first-child { margin-top: 0; }

.site-footer {
	margin-top: 30px;
	background: var(--footer);
	color: #e5edff;
}
.site-footer a { color: #e5edff; }
.site-footer a:hover { color: #fff; }
.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	padding: 26px 0;
}
@media (min-width: 720px) {
	.footer-grid { grid-template-columns: 1.3fr 1fr; }
}
.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
}
@media (min-width: 480px) {
	.footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
}
.footer-note {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding: 16px 0 10px;
	font-size: .92rem;
}
.footer-bottom {
	padding: 0 0 26px;
	font-size: .9rem;
	opacity: .9;
}

.friend-links { margin-top: 18px; }
.friend-links h2 {
	margin: 0 0 10px;
	font-size: 1rem;
	color: #e5edff;
}
.friend-links__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.friend-links__pill {
	display: inline-flex;
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .08);
	color: #e5edff !important;
	font-size: .88rem;
	font-weight: 600;
}
.friend-links__pill:hover {
	background: rgba(255, 255, 255, .16);
	color: #fff !important;
}

.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.page-content,
.post-content {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 16px;
}
.center { text-align: center; margin-top: 18px; }

.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 20px;
}
.nav-links .page-numbers {
	min-width: 36px;
	height: 36px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	color: var(--text);
}
.nav-links .page-numbers.current {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

.filter-shell {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 12px;
	margin-bottom: 16px;
}
