/* ==========================================================================
   TLSW – Tenglong Mashine za Plastiki
   Mfumo wa muonekano: karatasi nyeupe, grafiti, rangi ya signal (machungwa).
   Hakuna font ya nje, hakuna framework – CSS moja, vitekanisho vya CSS.
   ========================================================================== */

/* --- 1. Vitekanisho ------------------------------------------------------ */
:root {
	--paper: #f7f6f3;
	--paper-2: #efece6;
	--paper-3: #e6e2da;
	--white: #ffffff;
	--graphite: #11151a;
	--graphite-2: #1a2027;
	--graphite-3: #262d35;
	--ink: #14181d;
	--ink-soft: #3d444c;
	--muted: #5f676f;
	--muted-2: #8a9198;
	--line: #dcd8d0;
	--line-strong: #c3bdb2;
	--line-dark: rgba(255, 255, 255, 0.14);
	--accent: #e4551f;
	--accent-deep: #c24514;
	--accent-soft: #fbe9e0;
	--ok: #1f7a45;
	--err: #b32d2e;

	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--font-mono: "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;

	--wrap: 1240px;
	--wrap-narrow: 900px;
	--gutter: clamp(1.15rem, 4vw, 3rem);
	--radius: 2px;
	--radius-lg: 4px;

	--sp-1: 0.5rem;
	--sp-2: 0.85rem;
	--sp-3: 1.25rem;
	--sp-4: 2rem;
	--sp-5: 3rem;
	--sp-6: 4.5rem;
	--sp-7: 6.5rem;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--shadow-1: 0 1px 2px rgba(17, 21, 26, 0.06);
	--shadow-2: 0 18px 40px -24px rgba(17, 21, 26, 0.35);
}

/* --- 2. Reset ------------------------------------------------------------ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 6.5rem;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.65;
	font-feature-settings: "kern" 1, "liga" 1;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
	display: block;
}

svg {
	fill: none;
}

figure {
	margin: 0;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--ink);
	text-decoration: none;
	text-underline-offset: 0.18em;
	transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

a:hover {
	color: var(--accent-deep);
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: var(--sp-3) 0;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

::selection {
	background: var(--accent);
	color: #fff;
}

/* --- 3. Muundo ----------------------------------------------------------- */
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	padding-block: clamp(3.25rem, 7vw, var(--sp-7));
	position: relative;
}

.section--tight {
	padding-block: clamp(2.25rem, 4.5vw, var(--sp-5));
}

.section--paper2 {
	background: var(--paper-2);
}

.section--dark {
	background: var(--graphite);
	color: #f2f1ee;
}

.section--dark .h2,
.section--dark .h3 {
	color: #fff;
}

.section--dark p {
	color: rgba(242, 241, 238, 0.74);
}

.section--dark .eyebrow {
	color: rgba(242, 241, 238, 0.6);
}

.skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--graphite);
	color: #fff;
	padding: 0.75rem 1.25rem;
}

.skip:focus {
	left: 1rem;
	top: 1rem;
	color: #fff;
}

/* --- 4. Typografia ------------------------------------------------------- */
.h-display,
.h1,
.h2,
.h3,
.h4 {
	margin: 0 0 0.5em;
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.h-display {
	font-size: clamp(2.1rem, 1.35rem + 3.4vw, 4rem);
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.h-display--sm {
	font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3.1rem);
	line-height: 1.02;
}

.h-display--post {
	font-size: clamp(1.95rem, 1.25rem + 2.9vw, 3.35rem);
	line-height: 1.02;
}

.h1 {
	font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem);
}

.h2 {
	font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem);
	letter-spacing: -0.028em;
}

.h3 {
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.42rem);
	letter-spacing: -0.018em;
	line-height: 1.22;
}

.h4 {
	font-size: 1.02rem;
	letter-spacing: -0.01em;
	line-height: 1.35;
}

.eyebrow {
	display: inline-block;
	font-size: 0.688rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: var(--sp-2);
}

.eyebrow--link {
	color: var(--accent-deep);
	border-bottom: 1px solid transparent;
}

.eyebrow--link:hover {
	border-color: currentColor;
}

.lead {
	font-size: clamp(1.02rem, 1rem + 0.25vw, 1.16rem);
	color: var(--ink-soft);
	max-width: 62ch;
}

.muted {
	color: var(--muted);
}

/* --- 5. Vitufe ----------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.78rem 1.35rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background 0.18s var(--ease), color 0.18s var(--ease),
		border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	transition: transform 0.2s var(--ease);
}

.btn:hover svg {
	transform: translateX(3px);
}

.btn--accent {
	background: var(--accent);
	color: #fff;
}

.btn--accent:hover {
	background: var(--accent-deep);
	color: #fff;
	transform: translateY(-1px);
}

.btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line-strong);
	padding: 0.7rem 1.05rem;
}

.btn--ghost:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.btn--ghost svg {
	width: 16px;
	height: 16px;
	color: var(--accent);
}

.btn--outline {
	background: transparent;
	color: var(--ink);
	border-color: var(--line-strong);
}

.btn--outline:hover {
	border-color: var(--ink);
	background: transparent;
	color: var(--ink);
	transform: translateY(-1px);
}

.btn--outline-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: #fff;
}

.btn--lg {
	padding: 0.95rem 1.6rem;
	font-size: 0.938rem;
}

.btn--block {
	display: flex;
	width: 100%;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.875rem;
	font-weight: 600;
	border-bottom: 1px solid var(--line-strong);
	padding-bottom: 0.15rem;
	white-space: nowrap;
}

.link-arrow svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
	border-color: var(--accent);
	color: var(--accent-deep);
}

.link-arrow:hover svg {
	transform: translateX(3px);
}

.link-arrow--sm {
	font-size: 0.813rem;
}

/* --- 6. Topbar ----------------------------------------------------------- */
.topbar {
	background: var(--graphite);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.75rem;
	letter-spacing: 0.01em;
}

.topbar__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	min-height: 40px;
}

.topbar__meta {
	display: flex;
	align-items: center;
	gap: 1.35rem;
	flex-wrap: wrap;
}

.topbar__meta a,
.topbar__loc {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	color: inherit;
}

.topbar__meta a:hover {
	color: #fff;
}

.topbar__meta svg,
.topbar__loc svg {
	width: 13px;
	height: 13px;
	color: var(--accent);
}

.topbar__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.topbar__note {
	color: rgba(255, 255, 255, 0.5);
	letter-spacing: 0.02em;
}

/* --- 7. Kichwa ----------------------------------------------------------- */
.site-head {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(247, 246, 243, 0.94);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
}

.site-head__in {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	min-height: 76px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	flex: 0 0 auto;
}

.brand__logo {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.brand__name {
	font-size: 1.06rem;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.brand__sub {
	font-size: 0.625rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.brand:hover {
	color: var(--ink);
}

/* Menyu */
.nav {
	margin-left: auto;
}

.nav__list {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.nav__list > li {
	position: relative;
}

.nav__list > li > a {
	display: inline-block;
	padding: 0.55rem 0.7rem;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: var(--radius);
	color: var(--ink-soft);
}

.nav__list > li > a:hover,
.nav__list > li.current-menu-item > a,
.nav__list > li.current_page_item > a,
.nav__list > li.current-menu-parent > a {
	color: var(--ink);
	background: var(--paper-2);
}

.nav__list .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 230px;
	padding: 0.45rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.16s var(--ease), transform 0.16s var(--ease),
		visibility 0.16s;
	z-index: 10;
}

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

.nav__list .sub-menu a {
	display: block;
	padding: 0.5rem 0.65rem;
	font-size: 0.844rem;
	border-radius: var(--radius);
	color: var(--ink-soft);
}

.nav__list .sub-menu a:hover {
	background: var(--paper-2);
	color: var(--ink);
}

.site-head__cta {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	flex: 0 0 auto;
}

.nav__mobile {
	display: none;
}

.burger {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.burger span {
	display: block;
	width: 17px;
	height: 1.5px;
	background: var(--ink);
	transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

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

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

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

/* --- 8. Kiteuzi cha lugha ------------------------------------------------ */
.lang {
	position: relative;
}

.lang__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.55rem;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--radius);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
}

.lang__btn:hover {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

.lang__btn svg {
	width: 13px;
	height: 13px;
}

.lang__btn svg:last-child {
	width: 11px;
	height: 11px;
	opacity: 0.7;
	transition: transform 0.2s var(--ease);
}

.lang.is-open .lang__btn svg:last-child {
	transform: rotate(180deg);
}

.lang__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	width: 232px;
	max-height: 60vh;
	overflow: auto;
	padding: 0.35rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.16s var(--ease), transform 0.16s var(--ease),
		visibility 0.16s;
	z-index: 20;
}

.lang.is-open .lang__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lang__menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.45rem 0.6rem;
	font-size: 0.813rem;
	color: var(--ink-soft);
	border-radius: var(--radius);
}

.lang__menu a:hover {
	background: var(--paper-2);
	color: var(--ink);
}

.lang__menu a[aria-current="true"] {
	background: var(--accent-soft);
	color: var(--accent-deep);
	font-weight: 600;
}

.lang__code {
	font-size: 0.688rem;
	letter-spacing: 0.1em;
	color: var(--muted-2);
	font-variant-numeric: tabular-nums;
}

.lang-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.15rem;
}

.lang-strip a {
	display: inline-block;
	padding: 0.15rem 0.42rem;
	font-size: 0.688rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.55);
	border: 1px solid transparent;
	border-radius: var(--radius);
}

.lang-strip a:hover {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.25);
}

.lang-strip a[aria-current="true"] {
	color: var(--accent);
	border-color: var(--accent);
}

/* --- 9. Mkate wa mkate --------------------------------------------------- */
.breadcrumbs {
	border-bottom: 1px solid var(--line);
	font-size: 0.75rem;
	color: var(--muted);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	padding-block: 0.7rem;
}

.breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.breadcrumbs li + li::before {
	content: "/";
	color: var(--line-strong);
}

.breadcrumbs a {
	color: var(--muted);
}

.breadcrumbs a:hover {
	color: var(--accent-deep);
}

.breadcrumbs span[aria-current] {
	color: var(--ink);
}

/* --- 10. Hero ------------------------------------------------------------ */
.hero {
	padding-block: clamp(2.5rem, 6vw, 5rem);
	background:
		radial-gradient(120% 90% at 100% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 55%),
		var(--paper);
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 88px 88px;
	opacity: 0.35;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 62%);
	pointer-events: none;
}

.hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.hero__text .h-display {
	margin-bottom: 1.15rem;
}

.answer {
	font-size: clamp(1rem, 0.96rem + 0.3vw, 1.12rem);
	line-height: 1.62;
	color: var(--ink-soft);
	max-width: 56ch;
	border-left: 2px solid var(--accent);
	padding-left: 1.1rem;
	margin-bottom: 1.7rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-bottom: 2.2rem;
}

.hero__facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--line);
	padding-top: 1.1rem;
}

.hero__facts li {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding-right: 0.85rem;
	border-right: 1px solid var(--line);
}

.hero__facts li:last-child {
	border-right: 0;
}

.hero__facts b {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
}

.hero__facts span {
	font-size: 0.688rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
}

.hero__facts--page {
	max-width: 720px;
	margin-top: 2rem;
}

.hero__media {
	position: relative;
}

.hero__img,
.hero__media img {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-2);
	aspect-ratio: 16 / 11;
	object-fit: cover;
}

.hero__media figcaption {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-top: 0.8rem;
	font-size: 0.75rem;
	line-height: 1.5;
	color: var(--muted);
	max-width: 46ch;
}

.hero__badge {
	flex: 0 0 auto;
	display: inline-block;
	padding: 0.1rem 0.45rem;
	background: var(--graphite);
	color: #fff;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	border-radius: var(--radius);
	margin-top: 1px;
}

/* --- 11. Takwimu --------------------------------------------------------- */
.stats {
	background: var(--graphite);
	color: #f2f1ee;
	padding-block: 1.6rem;
}

.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
	padding: 0.35rem 1.35rem 0.35rem 0;
	border-right: 1px solid var(--line-dark);
}

.stat:last-child {
	border-right: 0;
}

.stat b {
	display: block;
	font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.stat span {
	font-size: 0.688rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(242, 241, 238, 0.55);
}

/* --- 12. Vichwa vya sehemu ---------------------------------------------- */
.sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-4);
	margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}

.sec-head__text {
	max-width: 68ch;
}

.sec-head__text .h2 {
	margin-bottom: 0;
}

.sec-head__lead {
	margin: 0.75rem 0 0;
	color: var(--muted);
	font-size: 0.969rem;
	max-width: 60ch;
}

.sec-head--light .sec-head__lead {
	color: rgba(242, 241, 238, 0.6);
}

/* --- 13. Gridi ---------------------------------------------------------- */
.grid {
	display: grid;
	gap: clamp(1rem, 2.2vw, 1.6rem);
}

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

.g-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* --- 14. Kadi ya bidhaa -------------------------------------------------- */
.pcard {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
	height: 100%;
}

.pcard:hover {
	border-color: var(--line-strong);
	transform: translateY(-2px);
	box-shadow: var(--shadow-2);
}

.pcard__media {
	position: relative;
	background: var(--paper-2);
	border-bottom: 1px solid var(--line);
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.pcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.pcard:hover .pcard__media img {
	transform: scale(1.03);
}

.pcard__cat {
	position: absolute;
	left: 0.7rem;
	top: 0.7rem;
	padding: 0.2rem 0.5rem;
	background: rgba(17, 21, 26, 0.82);
	color: #fff;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: var(--radius);
	backdrop-filter: blur(4px);
}

.pcard__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 1.15rem 1.2rem 1.2rem;
}

.pcard__title {
	margin: 0 0 0.45rem;
	font-size: 1.06rem;
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.015em;
}

.pcard__title a {
	color: var(--ink);
}

.pcard__desc {
	margin: 0 0 0.95rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--muted);
	flex: 1 1 auto;
}

.pcard__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 1rem;
}

.pcard__specs li {
	padding: 0.16rem 0.5rem;
	font-size: 0.719rem;
	letter-spacing: 0.02em;
	color: var(--ink-soft);
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.pcard__specs li b {
	font-weight: 600;
}

.pcard__more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.813rem;
	font-weight: 600;
	color: var(--accent-deep);
	border-top: 1px solid var(--line);
	padding-top: 0.8rem;
}

.pcard__more svg {
	width: 15px;
	height: 15px;
	transition: transform 0.2s var(--ease);
}

.pcard:hover .pcard__more svg {
	transform: translateX(3px);
}

/* --- 15. Kadi ya makala -------------------------------------------------- */
.acard {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	height: 100%;
	transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}

.acard:hover {
	border-color: var(--line-strong);
	transform: translateY(-2px);
	box-shadow: var(--shadow-2);
}

.acard__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--paper-2);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}

.acard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.acard:hover .acard__media img {
	transform: scale(1.03);
}

.acard__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 1.1rem 1.2rem 1.25rem;
}

.acard__meta {
	font-size: 0.688rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
	margin-bottom: 0.5rem;
}

.acard__title {
	margin: 0 0 0.55rem;
	font-size: 1.03rem;
	font-weight: 600;
	line-height: 1.32;
	letter-spacing: -0.015em;
}

.acard__title a {
	color: var(--ink);
}

.acard__body p {
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--muted);
	flex: 1 1 auto;
	margin-bottom: 1rem;
}

/* --- 16. Hatua / mchakato ----------------------------------------------- */
.steps {
	align-items: stretch;
}

.step {
	padding: 1.4rem 1.4rem 1.5rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	position: relative;
}

.step__num {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--accent);
	margin-bottom: 0.85rem;
	font-variant-numeric: tabular-nums;
}

.step .h3 {
	margin-bottom: 0.55rem;
}

.step p {
	margin: 0;
	font-size: 0.906rem;
	line-height: 1.6;
	color: var(--muted);
}

.step a {
	color: var(--ink);
	border-bottom: 1px solid var(--line-strong);
}

.step a:hover {
	color: var(--accent-deep);
	border-color: var(--accent);
}

.flow {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--line-dark);
}

.flow__item {
	padding: 1.5rem 1.25rem 0 0;
	border-right: 1px solid var(--line-dark);
}

.flow__item:last-child {
	border-right: 0;
}

.flow__num {
	display: block;
	font-size: 0.688rem;
	letter-spacing: 0.14em;
	color: var(--accent);
	margin-bottom: 0.9rem;
	font-variant-numeric: tabular-nums;
}

.flow__item .h4 {
	color: #fff;
	margin-bottom: 0.45rem;
}

.flow__item p {
	margin: 0;
	font-size: 0.844rem;
	line-height: 1.55;
	color: rgba(242, 241, 238, 0.62);
}

/* --- 17. Gawanyiko (split) ---------------------------------------------- */
.split__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: center;
}

.split__grid--form {
	align-items: start;
}

.split__media img {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.split__media figcaption {
	margin-top: 0.7rem;
	font-size: 0.75rem;
	color: var(--muted);
	max-width: 46ch;
}

.split__text .h2 {
	margin-bottom: 0.85rem;
}

.split__text > p {
	color: var(--ink-soft);
	max-width: 56ch;
}

.split__note {
	font-size: 0.844rem;
	color: var(--muted);
	margin-top: 1.4rem;
}

.split__note a {
	border-bottom: 1px solid var(--line-strong);
}

.split__form {
	position: relative;
}

/* --- 18. Orodha za ukaguzi ---------------------------------------------- */
.checklist {
	display: grid;
	gap: 0.6rem;
	margin: 1.1rem 0 1.5rem;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.906rem;
	line-height: 1.55;
	color: var(--ink-soft);
}

.checklist svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	margin-top: 3px;
	color: var(--accent);
	stroke-width: 2.2;
}

.checklist--tight {
	gap: 0.45rem;
	margin: 0 0 1.5rem;
}

.facts {
	display: grid;
	gap: 0.55rem;
	margin: 1.4rem 0 0;
}

.facts li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.875rem;
	color: var(--ink-soft);
	line-height: 1.5;
}

.facts svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	margin-top: 3px;
	color: var(--accent);
}

.facts--stack {
	padding-top: 1.3rem;
	border-top: 1px solid var(--line);
}

/* --- 19. Matumizi (apps) ------------------------------------------------ */
.app {
	position: relative;
	display: block;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--graphite);
	aspect-ratio: 4 / 5;
	transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.app:hover {
	border-color: var(--line-strong);
	transform: translateY(-2px);
}

.app__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.82;
	transition: opacity 0.3s var(--ease), transform 0.6s var(--ease);
}

.app:hover .app__img {
	opacity: 0.95;
	transform: scale(1.04);
}

.app__body {
	position: absolute;
	inset: auto 0 0 0;
	padding: 1.5rem 1.05rem 1rem;
	background: linear-gradient(to top, rgba(9, 12, 15, 0.92), rgba(9, 12, 15, 0));
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.app__title {
	color: #fff;
	font-size: 0.969rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.app__meta {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.719rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* --- 20. Marejeo -------------------------------------------------------- */
.ref {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--white);
}

.ref__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.ref figcaption {
	padding: 0.7rem 0.9rem 0.8rem;
	font-size: 0.75rem;
	line-height: 1.45;
	color: var(--muted);
	border-top: 1px solid var(--line);
}

/* --- 21. Kichwa cha ukurasa --------------------------------------------- */
.page-head {
	padding-block: clamp(2.2rem, 4.5vw, 3.6rem) clamp(1.6rem, 3vw, 2.6rem);
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.page-head--sm {
	padding-bottom: clamp(1.4rem, 2.5vw, 2rem);
}

.page-head__lead {
	max-width: 66ch;
	color: var(--muted);
	font-size: 1.03rem;
	line-height: 1.6;
	margin-top: 0.9rem;
}

.page-head__search {
	max-width: 560px;
	margin-top: 1.5rem;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 1.6rem;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.32rem 0.7rem;
	font-size: 0.781rem;
	font-weight: 500;
	color: var(--ink-soft);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.chip span {
	font-size: 0.688rem;
	color: var(--muted-2);
	font-variant-numeric: tabular-nums;
}

.chip:hover {
	border-color: var(--line-strong);
	color: var(--ink);
}

.chip.is-active {
	background: var(--graphite);
	border-color: var(--graphite);
	color: #fff;
}

.chip.is-active span {
	color: rgba(255, 255, 255, 0.55);
}

.chip--accent {
	background: var(--accent-soft);
	border-color: rgba(228, 85, 31, 0.28);
	color: var(--accent-deep);
	font-weight: 600;
}

.tag {
	display: inline-block;
	padding: 0.22rem 0.55rem;
	font-size: 0.75rem;
	color: var(--ink-soft);
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	max-width: 760px;
}

.tags-list li {
	padding: 0.35rem 0.75rem;
	font-size: 0.844rem;
	border: 1px solid var(--line);
	background: var(--white);
	border-radius: var(--radius);
}

/* --- 22. Ukurasa wa bidhaa ---------------------------------------------- */
.phero {
	padding-block: clamp(1.75rem, 3.5vw, 3rem);
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.phero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: start;
}

.pgal__stage {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.pgal__main {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
}

.pgal__thumbs {
	display: flex;
	gap: 0.45rem;
	margin-top: 0.55rem;
	flex-wrap: wrap;
}

.pgal__thumb {
	width: 74px;
	height: 56px;
	padding: 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.18s var(--ease), opacity 0.18s var(--ease);
	opacity: 0.72;
}

.pgal__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pgal__thumb:hover,
.pgal__thumb.is-active {
	border-color: var(--accent);
	opacity: 1;
}

.phero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 0.9rem;
}

.phero__info .h1 {
	margin-bottom: 0.7rem;
}

.phero__tagline {
	font-size: 1.03rem;
	line-height: 1.55;
	color: var(--ink-soft);
	max-width: 52ch;
	margin-bottom: 1.1rem;
}

.phero__price {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.1rem;
	padding: 1.05rem 1.15rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 2px solid var(--accent);
	border-radius: var(--radius);
	margin-bottom: 1.2rem;
}

.phero__price-label {
	display: block;
	font-size: 0.688rem;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	color: var(--muted);
	margin-bottom: 0.2rem;
}

.phero__price-value {
	display: block;
	font-size: 1.42rem;
	font-weight: 600;
	letter-spacing: -0.025em;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.phero__price-note {
	display: block;
	font-size: 0.781rem;
	color: var(--muted);
}

.phero__price-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.phero__price-actions .btn--lg {
	padding: 0.78rem 1.25rem;
	font-size: 0.875rem;
}

.phero__mats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
}

.phero__mats-label {
	font-size: 0.688rem;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	color: var(--muted);
	margin-right: 0.2rem;
}

/* --- 23. Mwili wa bidhaa ------------------------------------------------- */
.plevel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: start;
}

.plevel__side {
	position: sticky;
	top: 6.5rem;
}

.side-card {
	padding: 1.25rem 1.2rem 1.3rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.side-card + .side-card {
	margin-top: 1rem;
}

.side-card__label {
	display: block;
	font-size: 0.688rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--muted);
	margin-bottom: 0.7rem;
}

.side-card__text {
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--muted);
	margin-bottom: 0.9rem;
}

.side-card__tel,
.side-card__mail {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.938rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
	letter-spacing: -0.01em;
}

.side-card__tel svg,
.side-card__mail svg {
	width: 16px;
	height: 16px;
	color: var(--accent);
}

.side-card__facts {
	display: grid;
	gap: 0.5rem;
	margin-bottom: 1.1rem;
}

.side-card__facts li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.813rem;
	line-height: 1.45;
	color: var(--ink-soft);
}

.side-card__facts svg {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	margin-top: 2px;
	color: var(--accent);
}

.side-card--soft {
	background: var(--paper-2);
	margin-top: 1.25rem;
}

.side-card--list ul {
	display: grid;
	gap: 0.55rem;
}

.side-card--list li {
	font-size: 0.844rem;
	line-height: 1.45;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid var(--line);
}

.side-card--list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

/* --- 24. Jedwali la yaliyomo -------------------------------------------- */
.toc {
	padding: 1rem 1.15rem;
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 1.75rem;
}

.toc__label {
	display: block;
	font-size: 0.688rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--muted);
	margin-bottom: 0.55rem;
}

.toc ol {
	display: grid;
	gap: 0.32rem;
	counter-reset: toc;
}

.toc li {
	font-size: 0.875rem;
	line-height: 1.45;
	counter-increment: toc;
}

.toc li a {
	display: flex;
	gap: 0.5rem;
	color: var(--ink-soft);
}

.toc li a::before {
	content: counter(toc, decimal-leading-zero);
	font-size: 0.688rem;
	color: var(--muted-2);
	font-variant-numeric: tabular-nums;
	padding-top: 0.2rem;
}

.toc li a:hover {
	color: var(--accent-deep);
}

.toc--side {
	position: sticky;
	top: 6.5rem;
	background: transparent;
	border: 0;
	border-left: 1px solid var(--line);
	border-radius: 0;
	padding: 0 0 0 1rem;
	max-height: 70vh;
	overflow: auto;
}

.toc--inline {
	background: var(--white);
}

/* --- 25. Maudhui (entry) ------------------------------------------------ */
.entry {
	font-size: 1.03rem;
	line-height: 1.72;
	color: var(--ink-soft);
	max-width: 74ch;
}

.entry > * + * {
	margin-top: 1.1em;
}

.entry h2 {
	margin: 2.1em 0 0.55em;
	font-size: clamp(1.28rem, 1.1rem + 0.7vw, 1.6rem);
	font-weight: 600;
	letter-spacing: -0.022em;
	line-height: 1.22;
	color: var(--ink);
	scroll-margin-top: 6.5rem;
}

.entry h3 {
	margin: 1.7em 0 0.45em;
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: -0.012em;
	color: var(--ink);
	scroll-margin-top: 6.5rem;
}

.entry h4 {
	margin: 1.4em 0 0.4em;
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink);
}

.entry p {
	margin: 0 0 1.05em;
}

.entry ul,
.entry ol {
	margin: 0 0 1.2em;
	padding-left: 1.15rem;
	display: grid;
	gap: 0.45rem;
}

.entry ul {
	list-style: none;
	padding-left: 0;
}

.entry ul > li {
	position: relative;
	padding-left: 1.1rem;
}

.entry ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.68em;
	width: 5px;
	height: 5px;
	background: var(--accent);
	border-radius: 50%;
}

.entry ol {
	list-style: decimal;
}

.entry ol > li::marker {
	color: var(--muted);
	font-size: 0.875em;
	font-variant-numeric: tabular-nums;
}

.entry strong,
.entry b {
	color: var(--ink);
	font-weight: 600;
}

.entry a {
	border-bottom: 1px solid var(--line-strong);
	color: var(--ink);
}

.entry a:hover {
	color: var(--accent-deep);
	border-color: var(--accent);
}

.entry blockquote {
	margin: 1.6em 0;
	padding: 0.2rem 0 0.2rem 1.15rem;
	border-left: 2px solid var(--accent);
	font-size: 1.05rem;
	color: var(--ink);
}

.entry blockquote p:last-child {
	margin-bottom: 0;
}

.entry img {
	border-radius: var(--radius);
	border: 1px solid var(--line);
}

.entry figure {
	margin: 1.8em 0;
}

.entry figcaption {
	margin-top: 0.55rem;
	font-size: 0.781rem;
	color: var(--muted);
}

.entry table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.906rem;
	margin: 1.6em 0;
}

.entry th,
.entry td {
	padding: 0.6rem 0.7rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry th {
	font-weight: 600;
	color: var(--ink);
	background: var(--paper-2);
}

.entry hr {
	margin: 2.4em 0;
}

.entry--page {
	max-width: 72ch;
}

.entry--page h2:first-child {
	margin-top: 0;
}

/* --- 26. Vipimo --------------------------------------------------------- */
.spec-block {
	margin-top: 2.6rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--line);
}

.spec-table {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--white);
}

.spec-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.906rem;
}

.spec-table th,
.spec-table td {
	padding: 0.6rem 0.85rem;
	text-align: left;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
	border-bottom: 0;
}

.spec-table th {
	width: 42%;
	font-weight: 500;
	color: var(--muted);
	background: var(--paper);
}

.spec-table td {
	color: var(--ink);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.spec-note {
	margin-top: 0.8rem;
	font-size: 0.781rem;
	line-height: 1.6;
	color: var(--muted);
	max-width: 74ch;
}

/* --- 26b. Gridi ya uwasilishaji / dhamana ------------------------------- */
.info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--line);
	margin: 1.15rem 0 0.9rem;
}

.info-grid__item {
	padding: 1.05rem 1.15rem 1.15rem;
	border-bottom: 1px solid var(--line);
	border-right: 1px solid var(--line);
}

.info-grid__item:nth-child(3n) {
	border-right: 0;
}

.info-grid__item:nth-child(3n + 1) {
	padding-left: 0;
}

.info-grid__label {
	display: block;
	font-size: 0.688rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
	margin-bottom: 0.25rem;
}

.info-grid__value {
	display: block;
	font-size: 0.938rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--ink);
	line-height: 1.3;
	margin-bottom: 0.4rem;
}

.info-grid__item p {
	margin: 0;
	font-size: 0.813rem;
	line-height: 1.55;
	color: var(--muted);
}

/* --- 27. Makala --------------------------------------------------------- */
.post__head {
	padding-block: clamp(2rem, 4vw, 3.2rem) clamp(1.4rem, 2.5vw, 2rem);
	background: var(--paper);
}

.post__head-in {
	max-width: 860px;
}

.post__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.1rem;
	font-size: 0.781rem;
	color: var(--muted);
	margin-top: 1.1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
}

.post__author {
	font-weight: 600;
	color: var(--ink);
}

.post__lead {
	margin-top: 1.35rem;
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--ink-soft);
	max-width: 66ch;
}

.post__hero {
	margin-top: 0;
	background: var(--paper);
}

.post__hero img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	aspect-ratio: 16 / 8;
}

.post__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: start;
	margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

.post__side {
	position: sticky;
	top: 6.5rem;
	display: grid;
	gap: 1rem;
}

/* --- 28. Takeaways ------------------------------------------------------ */
.takeaways {
	margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
	padding: 1.35rem 1.5rem 1.4rem;
	background: var(--graphite);
	color: #f2f1ee;
	border-radius: var(--radius);
	position: relative;
}

.takeaways__label {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.688rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--accent);
	margin-bottom: 0.85rem;
}

.takeaways__label svg {
	width: 14px;
	height: 14px;
}

.takeaways ul {
	display: grid;
	gap: 0.55rem;
}

.takeaways li {
	position: relative;
	padding-left: 1.15rem;
	font-size: 0.938rem;
	line-height: 1.55;
	color: rgba(242, 241, 238, 0.86);
}

.takeaways li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 5px;
	height: 5px;
	background: var(--accent);
	border-radius: 50%;
}

.takeaways a {
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

/* --- 29. FAQ ------------------------------------------------------------ */
.faq {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
}

.faq__item {
	border-bottom: 1px solid var(--line);
}

.faq__q {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.05rem 0;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.012em;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
	line-height: 1.4;
}

.faq__q::-webkit-details-marker {
	display: none;
}

.faq__q::after {
	content: "";
	flex: 0 0 auto;
	width: 11px;
	height: 11px;
	margin-top: 0.42em;
	border-right: 1.5px solid var(--muted);
	border-bottom: 1.5px solid var(--muted);
	transform: rotate(45deg);
	transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.faq__item[open] .faq__q::after {
	transform: rotate(-135deg);
	border-color: var(--accent);
}

.faq__q:hover {
	color: var(--accent-deep);
}

.faq__a {
	padding: 0 0 1.35rem;
	max-width: 74ch;
}

.faq__a p {
	margin: 0;
	font-size: 0.938rem;
	line-height: 1.68;
	color: var(--ink-soft);
}

.faq__a p + p {
	margin-top: 0.7em;
}

.faq__a a {
	border-bottom: 1px solid var(--line-strong);
}

.faq--wide .faq__q {
	font-size: 1.03rem;
}

.faq-layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: start;
}

/* --- 30. Sanduku la mwandishi ------------------------------------------- */
.author-box {
	display: flex;
	gap: 1.1rem;
	margin-top: 2.6rem;
	padding: 1.35rem 1.4rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 2px solid var(--accent);
	border-radius: var(--radius);
}

.author-box__avatar {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	background: var(--graphite);
	color: #fff;
	font-size: 0.938rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	border-radius: 50%;
}

.author-box__name {
	font-weight: 600;
	font-size: 0.969rem;
	letter-spacing: -0.01em;
}

.author-box__role {
	font-size: 0.75rem;
	color: var(--muted);
	margin-bottom: 0.5rem;
}

.author-box p {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.author-box__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	font-size: 0.813rem;
}

.author-box__meta a {
	border-bottom: 1px solid var(--line-strong);
	color: var(--ink-soft);
}

.author-box__meta a:hover {
	color: var(--accent-deep);
	border-color: var(--accent);
}

/* --- 31. Fomu ----------------------------------------------------------- */
.form-card {
	padding: clamp(1.15rem, 2.5vw, 1.75rem);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-1);
	position: relative;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem 1rem;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 0.32rem;
}

.field--full {
	grid-column: 1 / -1;
}

.field label {
	font-size: 0.781rem;
	font-weight: 600;
	color: var(--ink);
	letter-spacing: 0.01em;
}

.req {
	color: var(--accent);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 0.62rem 0.7rem;
	font: inherit;
	font-size: 0.938rem;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
	appearance: none;
}

.field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
		linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 15px) 51%, calc(100% - 10px) 51%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 2rem;
}

.field textarea {
	min-height: 108px;
	resize: vertical;
	line-height: 1.55;
}

.field input::placeholder,
.field textarea::placeholder {
	color: var(--muted-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--white);
	box-shadow: 0 0 0 3px rgba(228, 85, 31, 0.12);
}

.field input:user-invalid,
.field textarea:user-invalid {
	border-color: var(--err);
}

.check {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-size: 0.813rem;
	line-height: 1.5;
	color: var(--ink-soft);
	font-weight: 400;
	cursor: pointer;
}

.check input {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	margin-top: 2px;
	accent-color: var(--accent);
}

.check a {
	border-bottom: 1px solid var(--line-strong);
}

.form-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1.15rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--line);
}

.form-card__foot p {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.55;
	color: var(--muted);
}

.form-card__foot p a {
	border-bottom: 1px solid var(--line-strong);
}

.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-status {
	margin-top: 0.9rem;
	font-size: 0.844rem;
	line-height: 1.5;
	border-radius: var(--radius);
	display: none;
}

.form-status.is-ok,
.form-status.is-err {
	display: block;
	padding: 0.7rem 0.85rem;
}

.form-status.is-ok {
	background: #eaf6ee;
	color: var(--ok);
	border: 1px solid #bfe3cb;
}

.form-status.is-err {
	background: #fdecec;
	color: var(--err);
	border: 1px solid #f3c9c9;
}

.form-status a {
	text-decoration: underline;
}

form.is-sending .btn[data-submit] {
	opacity: 0.65;
	pointer-events: none;
}

/* --- 32. Ukanda wa CTA -------------------------------------------------- */
.cta-band {
	background: var(--graphite);
	color: #f2f1ee;
	border-radius: var(--radius);
	padding: clamp(1.6rem, 3.5vw, 2.75rem);
	position: relative;
	overflow: hidden;
}

.cta-band::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 240px;
	height: 240px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	pointer-events: none;
}

.cta-band__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	flex-wrap: wrap;
	position: relative;
}

.cta-band .h2 {
	margin-bottom: 0.55rem;
	color: #fff;
	max-width: 30ch;
}

.cta-band p {
	margin: 0;
	font-size: 0.938rem;
	line-height: 1.6;
	color: rgba(242, 241, 238, 0.72);
	max-width: 52ch;
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

/* --- 33. Ukurasa wa kawaida / kisheria ---------------------------------- */
.page-body {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: start;
}

.page-body--single {
	grid-template-columns: minmax(0, 1fr);
}

.page-body__main {
	min-width: 0;
}

.page-note {
	margin-top: 2rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--line);
	font-size: 0.813rem;
	line-height: 1.6;
	color: var(--muted);
	max-width: 70ch;
}

.page-note-box {
	margin-top: 2rem;
	padding: 1.25rem 1.4rem;
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.page-note-box .h4 {
	margin-bottom: 0.4rem;
}

.page-note-box p {
	margin: 0;
	font-size: 0.906rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.page-note-box a {
	border-bottom: 1px solid var(--line-strong);
}

/* --- 34. Mawasiliano ---------------------------------------------------- */
.contact-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem;
	margin-top: 1.4rem;
}

.contact-card {
	display: flex;
	gap: 0.75rem;
	padding: 0.95rem 1rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.contact-card > svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	margin-top: 3px;
	color: var(--accent);
}

.contact-card__label {
	display: block;
	font-size: 0.688rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
	margin-bottom: 0.15rem;
}

.contact-card__value {
	display: block;
	font-size: 0.938rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.35;
}

.contact-card__value--text {
	font-weight: 500;
	font-size: 0.875rem;
	line-height: 1.45;
}

.contact-card__note {
	display: block;
	font-size: 0.75rem;
	line-height: 1.45;
	color: var(--muted);
	margin-top: 0.2rem;
}

.map {
	position: relative;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--paper-3);
	aspect-ratio: 21 / 9;
	min-height: 280px;
}

.map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	position: absolute;
	inset: 0;
}

.map__gate {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	background:
		linear-gradient(to bottom, rgba(247, 246, 243, 0.9), rgba(239, 236, 230, 0.96)),
		var(--paper-2);
	border: 0;
	padding: 1.5rem;
	text-align: center;
	transition: background 0.2s var(--ease);
}

.map__gate:hover {
	background: var(--white);
}

.map__pin {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	background: var(--accent);
	color: #fff;
	border-radius: 50%;
	margin-bottom: 0.3rem;
}

.map__pin svg {
	width: 20px;
	height: 20px;
}

.map__title {
	font-size: 0.969rem;
	font-weight: 600;
}

.map__note {
	font-size: 0.75rem;
	color: var(--muted);
	max-width: 46ch;
	line-height: 1.5;
}

/* --- 35. Ukurasa haupatikani ------------------------------------------- */
.error404 {
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.error404__in {
	max-width: 760px;
}

.error404__code {
	font-family: var(--font-mono);
	font-size: clamp(3rem, 8vw, 5.5rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.05em;
	color: var(--line-strong);
	margin: 0 0 1rem;
}

.error404__text {
	color: var(--muted);
	max-width: 54ch;
	font-size: 1.03rem;
}

.error404__search {
	max-width: 480px;
	margin: 1.6rem 0;
}

.error404__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-bottom: 1.75rem;
}

.error404__list {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
	max-width: 560px;
}

.error404__list li {
	border-bottom: 1px solid var(--line);
	padding: 0.6rem 0;
	font-size: 0.906rem;
}

.error404__contact {
	margin-top: 1.5rem;
	font-size: 0.813rem;
	color: var(--muted);
}

.error404__contact a {
	border-bottom: 1px solid var(--line-strong);
}

/* --- 36. Utafutaji ----------------------------------------------------- */
.search-form {
	width: 100%;
}

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

.search-form__row {
	display: flex;
	gap: 0;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--white);
	overflow: hidden;
	transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.search-form__row:focus-within {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(228, 85, 31, 0.12);
}

.search-form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.68rem 0.85rem;
	font: inherit;
	font-size: 0.938rem;
	border: 0;
	background: transparent;
	color: var(--ink);
}

.search-form input[type="search"]:focus {
	outline: none;
}

.search-form button {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0 1rem;
	background: var(--graphite);
	color: #fff;
	border: 0;
	font-size: 0.813rem;
	font-weight: 600;
}

.search-form button svg {
	width: 15px;
	height: 15px;
}

.search-form button:hover {
	background: var(--accent);
}

/* --- 37. Ukurasa wa kurasa (pager) ------------------------------------- */
.pager {
	margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

.pager .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.875rem;
}

.pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 0.7rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink-soft);
	font-variant-numeric: tabular-nums;
}

.pager .page-numbers:hover {
	border-color: var(--line-strong);
	color: var(--ink);
}

.pager .page-numbers.current {
	background: var(--graphite);
	border-color: var(--graphite);
	color: #fff;
}

.pager .prev,
.pager .next {
	font-weight: 600;
}

.empty {
	padding: 2rem 0;
	max-width: 60ch;
}

.empty .h3 {
	margin-bottom: 0.5rem;
}

.empty p {
	color: var(--muted);
}

.empty .search-form {
	margin-top: 1.25rem;
	max-width: 420px;
}

/* --- 38. Kwato ---------------------------------------------------------- */
.site-foot {
	background: var(--graphite);
	color: rgba(242, 241, 238, 0.72);
	padding-top: clamp(2.5rem, 5vw, 4rem);
	font-size: 0.875rem;
}

.site-foot__top {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 0.85fr));
	gap: clamp(1.75rem, 4vw, 3rem);
	padding-bottom: clamp(2rem, 4vw, 3rem);
}

.site-foot__brand p {
	margin: 1rem 0 1.25rem;
	max-width: 40ch;
	font-size: 0.844rem;
	line-height: 1.65;
	color: rgba(242, 241, 238, 0.58);
}

.brand--foot .brand__name {
	color: #fff;
}

.brand--foot .brand__sub {
	color: rgba(242, 241, 238, 0.5);
}

.site-foot__contact {
	display: grid;
	gap: 0.5rem;
}

.site-foot__contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-size: 0.813rem;
	line-height: 1.5;
}

.site-foot__contact svg {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	margin-top: 2px;
	color: var(--accent);
}

.site-foot a {
	color: rgba(242, 241, 238, 0.72);
}

.site-foot a:hover {
	color: #fff;
}

.site-foot__title {
	margin: 0 0 1rem;
	font-size: 0.688rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: rgba(242, 241, 238, 0.45);
}

.site-foot__list {
	display: grid;
	gap: 0.45rem;
	font-size: 0.844rem;
}

.site-foot__hint {
	margin-top: 0.9rem;
	font-size: 0.75rem;
	line-height: 1.55;
	color: rgba(242, 241, 238, 0.42);
}

.site-foot__lang {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding-block: 1.1rem;
	border-top: 1px solid var(--line-dark);
	border-bottom: 1px solid var(--line-dark);
}

.site-foot__lang-label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.688rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(242, 241, 238, 0.45);
}

.site-foot__lang-label svg {
	width: 13px;
	height: 13px;
}

.site-foot__bar {
	border-top: 1px solid var(--line-dark);
	margin-top: 0;
}

.site-foot__bar-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-block: 1.1rem 1.25rem;
	font-size: 0.75rem;
	color: rgba(242, 241, 238, 0.42);
}

.site-foot__bar-in p {
	margin: 0;
}

.site-foot__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
}

.site-foot__legal a {
	color: rgba(242, 241, 238, 0.55);
}

.site-foot__legal a:hover {
	color: #fff;
}

.site-foot__plain {
	color: rgba(242, 241, 238, 0.32);
}

/* --- 39. Upau wa simu -------------------------------------------------- */
.mobile-bar {
	display: none;
	position: fixed;
	inset: auto 0 0 0;
	z-index: 80;
	background: rgba(17, 21, 26, 0.97);
	backdrop-filter: blur(10px);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-bar a {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	padding: 0.6rem 0.3rem 0.55rem;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.625rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mobile-bar a + a {
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-bar svg {
	width: 18px;
	height: 18px;
	color: var(--accent);
}

/* --- 40. Udhihirishaji (reveal) ---------------------------------------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* --- 41. Vioo (WP core) ------------------------------------------------- */
.alignwide {
	width: min(100vw - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}

.alignfull {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.aligncenter {
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 0.781rem;
	color: var(--muted);
	margin-top: 0.4rem;
}

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

.tl-admin-thumb {
	width: 64px;
	height: 36px;
	object-fit: cover;
}

/* --- 42. Timeline ------------------------------------------------------- */
.timeline {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
}

.timeline li {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 1.25rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
}

.timeline span {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--accent-deep);
	font-variant-numeric: tabular-nums;
}

.timeline p {
	margin: 0;
	font-size: 0.906rem;
	line-height: 1.6;
	color: var(--ink-soft);
	max-width: 70ch;
}

/* --- 43. Responsive ----------------------------------------------------- */
@media (max-width: 1180px) {
	.site-head__cta .btn--ghost {
		display: none;
	}

	.nav__list > li > a {
		padding-inline: 0.55rem;
		font-size: 0.844rem;
	}

	.plevel {
		grid-template-columns: minmax(0, 1fr) 290px;
	}
}

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

	.flow {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.5rem 0;
	}

	.flow__item {
		padding-top: 0;
	}

	.flow__item:nth-child(3n) {
		border-right: 0;
	}

	.split__grid,
	.phero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	.phero__media {
		order: -1;
	}

	.post__body,
	.plevel,
	.faq-layout,
	.page-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.post__side,
	.plevel__side {
		position: static;
	}

	.toc--side {
		position: static;
		max-height: none;
		border-left: 0;
		padding-left: 0;
	}

	.toc--side ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.4rem 1.25rem;
	}

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

	.site-foot__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	html {
		scroll-padding-top: 5rem;
	}

	.site-head__in {
		min-height: 66px;
		gap: 1rem;
	}

	.site-head__cta {
		margin-left: auto;
	}

	.site-head__cta .btn {
		padding: 0.6rem 0.95rem;
		font-size: 0.813rem;
	}

	.burger {
		display: flex;
	}

	.nav {
		position: fixed;
		inset: 66px 0 0 0;
		margin: 0;
		background: var(--paper);
		border-top: 1px solid var(--line);
		padding: 1.1rem var(--gutter) 2rem;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform 0.28s var(--ease);
		z-index: 85;
		display: flex;
		flex-direction: column;
	}

	.nav.is-open {
		transform: none;
	}

	.nav__list {
		display: grid;
		gap: 0;
		width: 100%;
	}

	.nav__list > li {
		border-bottom: 1px solid var(--line);
	}

	.nav__list > li > a {
		display: block;
		padding: 0.85rem 0;
		font-size: 1rem;
		background: transparent;
	}

	.nav__list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 0.6rem 0.9rem;
		min-width: 0;
		background: transparent;
	}

	.nav__list .sub-menu a {
		padding: 0.45rem 0;
		font-size: 0.875rem;
	}

	.nav__mobile {
		display: grid;
		gap: 0.7rem;
		margin-top: 1.4rem;
	}

	.nav__mobile-tel {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		font-size: 0.938rem;
		font-weight: 600;
	}

	.nav__mobile-tel svg {
		width: 16px;
		height: 16px;
		color: var(--accent);
	}

	body.nav-open {
		overflow: hidden;
	}

	.topbar__note {
		display: none;
	}

	.topbar__in {
		min-height: 36px;
	}

	.topbar__meta {
		gap: 0.85rem;
	}

	.topbar__loc {
		display: none;
	}

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

	.hero__media {
		order: -1;
	}

	.hero__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.9rem 0;
	}

	.hero__facts li:nth-child(2) {
		border-right: 0;
	}

	.stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.9rem 0;
	}

	.stat:nth-child(2) {
		border-right: 0;
	}

	.sec-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

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

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

	.flow__item:nth-child(2n) {
		border-right: 0;
	}

	.flow__item:nth-child(3n) {
		border-right: 1px solid var(--line-dark);
	}

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

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

	.info-grid__item:nth-child(3n) {
		border-right: 1px solid var(--line);
	}

	.info-grid__item:nth-child(2n) {
		border-right: 0;
	}

	.info-grid__item:nth-child(3n + 1) {
		padding-left: 1.15rem;
	}

	.info-grid__item:nth-child(2n + 1) {
		padding-left: 0;
	}

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

	.map {
		aspect-ratio: 4 / 3;
	}

	.mobile-bar {
		display: flex;
	}

	body {
		padding-bottom: 62px;
	}

	.site-foot {
		padding-bottom: 0.5rem;
	}

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

	.author-box {
		flex-direction: column;
		gap: 0.85rem;
	}

	.timeline li {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.3rem;
	}
}

@media (max-width: 640px) {
	.brand__sub {
		display: none;
	}

	.brand__logo {
		width: 38px;
		height: 38px;
	}

	.site-head__cta .btn span {
		display: none;
	}

	.site-head__cta .btn svg {
		width: 17px;
		height: 17px;
	}

	.site-head__cta .btn {
		padding: 0.55rem 0.7rem;
	}

	.g-3,
	.g-4 {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.flow__item {
		border-right: 0;
		border-bottom: 1px solid var(--line-dark);
		padding: 0 0 1.15rem;
	}

	.flow__item:last-child {
		border-bottom: 0;
	}

	.flow__item:nth-child(3n) {
		border-right: 0;
	}

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

	.hero__actions .btn,
	.phero__price-actions .btn {
		width: 100%;
	}

	.phero__price {
		flex-direction: column;
		align-items: stretch;
	}

	.site-foot__bar-in {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.6rem;
	}

	.topbar__meta a:first-child span {
		font-size: 0.688rem;
	}

	.takeaways {
		padding: 1.15rem 1.1rem;
	}

	.toc--side ol {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.info-grid__item,
	.info-grid__item:nth-child(2n),
	.info-grid__item:nth-child(3n) {
		border-right: 0;
		padding-left: 0;
		padding-right: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.topbar,
	.site-head,
	.site-foot,
	.mobile-bar,
	.cta-band,
	.form-card {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}
