/* ==========================================================================
   WPReviews — design system
   Tokens, then components. Light + dark, zero external requests.
   ========================================================================== */

:root {
	--canvas:    #FAFAFB;
	--surface:   #FFFFFF;
	--surface-2: #F4F5F8;
	--surface-3: #EDEFF4;
	--ink:       #0F1222;
	--ink-2:     #363B52;
	--muted:     #5B6178;
	--line:      #E7E8EE;
	--line-2:    #D8DAE4;
	--brand:     #4F46E5;
	--brand-2:   #7C3AED;
	--brand-ink: #FFFFFF;
	--brand-soft:#EEF0FE;
	--star:      #F5A524;

	--shadow-xs: 0 1px 2px rgba(15,18,34,.05);
	--shadow-sm: 0 1px 3px rgba(15,18,34,.06), 0 1px 2px rgba(15,18,34,.04);
	--shadow-md: 0 6px 16px -4px rgba(15,18,34,.10), 0 2px 6px -2px rgba(15,18,34,.06);
	--shadow-lg: 0 24px 48px -12px rgba(15,18,34,.18), 0 8px 16px -8px rgba(15,18,34,.08);

	--r-sm: 10px;
	--r:    14px;
	--r-lg: 20px;
	--r-xl: 28px;

	--shell: 1180px;
	--pad:   clamp(1.15rem, 4vw, 2rem);

	--font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", sans-serif;
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

	--wpit-hue: 250;
	--ease: cubic-bezier(.22,.61,.36,1);
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--canvas:    #0B0D14;
		--surface:   #12151F;
		--surface-2: #181C28;
		--surface-3: #212635;
		--ink:       #F2F3F7;
		--ink-2:     #C9CDDA;
		--muted:     #949AAE;
		--line:      #242939;
		--line-2:    #313749;
		--brand:     #8A93FF;
		--brand-2:   #B69BFF;
		--brand-ink: #0B0D14;
		--brand-soft:#1A1D33;

		--shadow-xs: 0 1px 2px rgba(0,0,0,.4);
		--shadow-sm: 0 1px 3px rgba(0,0,0,.45);
		--shadow-md: 0 8px 20px -6px rgba(0,0,0,.6);
		--shadow-lg: 0 28px 56px -16px rgba(0,0,0,.7);
		color-scheme: dark;
	}
}

/* ---------- base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.022em; font-weight: 750; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

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

.wpit-skip {
	position: absolute; left: -9999px; top: 8px; z-index: 999;
	background: var(--ink); color: var(--canvas); padding: .7rem 1.1rem; border-radius: var(--r-sm);
}
.wpit-skip:focus { left: 12px; }

.wpit-shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

.wpit-eyebrow {
	margin: 0 0 .75rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; color: var(--muted);
}

.wpit-grad {
	background: linear-gradient(100deg, var(--brand), var(--brand-2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */

.wpit-btn {
	--btn-bg: linear-gradient(100deg, var(--brand), var(--brand-2));
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .78rem 1.35rem;
	background: var(--btn-bg); color: #fff;
	border: 0; border-radius: 999px;
	font: inherit; font-weight: 650; font-size: .98rem; letter-spacing: -.005em;
	text-decoration: none; cursor: pointer;
	box-shadow: 0 4px 14px -4px color-mix(in oklab, var(--brand) 55%, transparent);
	transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
	white-space: nowrap;
}
.wpit-btn:hover {
	text-decoration: none; color: #fff;
	transform: translateY(-1px);
	filter: saturate(1.08) brightness(1.04);
	box-shadow: 0 10px 26px -6px color-mix(in oklab, var(--brand) 60%, transparent);
}
.wpit-btn:active { transform: translateY(0); }
.wpit-btn__icon { width: 1.05em; height: 1.05em; flex: none; }
.wpit-btn--sm  { padding: .5rem 1rem; font-size: .88rem; }
.wpit-btn--lg  { padding: .92rem 1.7rem; font-size: 1.02rem; }
.wpit-btn--xl  { padding: 1.05rem 2rem; font-size: 1.08rem; }
.wpit-btn--block { display: flex; width: 100%; }
.wpit-btn--light { --btn-bg: #fff; color: var(--ink); box-shadow: 0 8px 26px -8px rgba(0,0,0,.5); }
.wpit-btn--light:hover { color: var(--ink); box-shadow: 0 14px 34px -10px rgba(0,0,0,.55); }

.wpit-btn--ghost {
	--btn-bg: transparent; color: var(--ink);
	border: 1px solid var(--line-2); box-shadow: none;
}
.wpit-btn--ghost:hover { color: var(--ink); background: var(--surface-2); box-shadow: none; }

/* ---------- header ---------- */

.wpit-header {
	position: sticky; top: 0; z-index: 60;
	background: color-mix(in oklab, var(--canvas) 82%, transparent);
	backdrop-filter: saturate(1.6) blur(14px);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s var(--ease), background .2s var(--ease);
}
.wpit-header.is-stuck { border-bottom-color: var(--line); background: color-mix(in oklab, var(--canvas) 92%, transparent); }

.wpit-header__inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }

.wpit-brand__link { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 800; letter-spacing: -.03em; font-size: 1.12rem; }
.wpit-brand__link:hover { text-decoration: none; }
.wpit-brand__mark {
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	box-shadow: 0 3px 10px -3px color-mix(in oklab, var(--brand) 60%, transparent);
}
.wpit-brand__mark svg { width: 17px; height: 17px; fill: #fff; }
.custom-logo { max-height: 40px; width: auto; }

.wpit-nav { margin-inline-start: auto; }
.wpit-nav__list, .wpit-nav ul { list-style: none; display: flex; align-items: center; gap: .35rem; margin: 0; padding: 0; }
.wpit-nav__list a, .wpit-nav ul a {
	display: block; padding: .45rem .8rem; border-radius: 999px;
	color: var(--ink-2); font-size: .95rem; font-weight: 550;
	transition: background .15s var(--ease), color .15s var(--ease);
}
.wpit-nav__list a:hover, .wpit-nav ul a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.wpit-nav .current-menu-item > a { color: var(--ink); background: var(--surface-2); }
.wpit-nav .sub-menu { display: none; }

.wpit-header__actions { display: flex; align-items: center; gap: .4rem; }

.wpit-iconbtn {
	display: grid; place-items: center; width: 38px; height: 38px;
	background: transparent; border: 1px solid var(--line); border-radius: 999px;
	color: var(--ink-2); cursor: pointer; transition: background .15s var(--ease);
}
.wpit-iconbtn:hover { background: var(--surface-2); }
.wpit-iconbtn svg { width: 17px; height: 17px; }

.wpit-burger { display: none; width: 38px; height: 38px; background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; padding: 0; }
.wpit-burger span { display: block; width: 15px; height: 1.8px; margin: 3px auto; background: var(--ink); border-radius: 2px; transition: transform .22s var(--ease), opacity .16s var(--ease); }
.wpit-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.8px) rotate(45deg); }
.wpit-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.wpit-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.8px) rotate(-45deg); }

.wpit-searchbar { border-top: 1px solid var(--line); background: var(--surface); padding: 1rem 0; }

.wpit-searchform { display: flex; align-items: center; gap: .5rem; position: relative; }
.wpit-searchform__icon { position: absolute; left: 1rem; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.wpit-searchform__input {
	flex: 1; min-width: 0; padding: .8rem 1rem .8rem 2.85rem;
	background: var(--surface); color: var(--ink);
	border: 1px solid var(--line-2); border-radius: 999px;
	font: inherit; font-size: .98rem;
	transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.wpit-searchform__input::placeholder { color: var(--muted); }
.wpit-searchform__input:focus {
	outline: none; border-color: var(--brand);
	box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 16%, transparent);
}

/* ---------- home hero ---------- */

.wpit-hero-home { position: relative; padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2rem, 5vw, 3rem); text-align: center; overflow: hidden; }
.wpit-hero-home__glow {
	position: absolute; inset: -30% -10% auto; height: 620px; pointer-events: none;
	background:
		radial-gradient(40% 55% at 30% 30%, color-mix(in oklab, var(--brand) 26%, transparent), transparent 70%),
		radial-gradient(38% 50% at 72% 20%, color-mix(in oklab, var(--brand-2) 24%, transparent), transparent 70%);
	filter: blur(18px);
	opacity: .8;
}
.wpit-hero-home > .wpit-shell { position: relative; }
.wpit-hero-home__title { font-size: clamp(2.4rem, 6.4vw, 4.15rem); font-weight: 820; letter-spacing: -.042em; line-height: 1.03; margin-bottom: 1.1rem; }
.wpit-hero-home__lede { max-width: 40rem; margin: 0 auto 2rem; color: var(--muted); font-size: clamp(1.03rem, 1.9vw, 1.18rem); line-height: 1.62; }
.wpit-hero-home__search { max-width: 40rem; margin: 0 auto; }
.wpit-hero-home__stat { margin: 1.4rem 0 0; color: var(--muted); font-size: .9rem; }
.wpit-hero-home__stat strong { color: var(--ink); }

/* ---------- chips ---------- */

.wpit-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding-block: 1.75rem .25rem; }
.wpit-chip {
	display: inline-flex; align-items: center; padding: .42rem .95rem;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: 999px; color: var(--ink-2);
	font-size: .875rem; font-weight: 550;
	transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.wpit-chip:hover { text-decoration: none; border-color: var(--line-2); background: var(--surface-2); color: var(--ink); }
.wpit-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--canvas); }

/* ---------- sections & grid ---------- */

.wpit-section { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.wpit-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.wpit-section__title { font-size: clamp(1.35rem, 2.6vw, 1.7rem); letter-spacing: -.03em; }
.wpit-section__link { font-size: .92rem; font-weight: 600; white-space: nowrap; }

.wpit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(292px, 1fr)); gap: clamp(1.1rem, 2.4vw, 1.6rem); }

/* ---------- cards ---------- */

.wpit-card {
	display: flex; flex-direction: column;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--r-lg); overflow: hidden;
	box-shadow: var(--shadow-xs);
	transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.wpit-card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow-md); }

.wpit-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.wpit-card__media img, .wpit-card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.wpit-card:hover .wpit-card__media img, .wpit-card:hover .wpit-card__media svg { transform: scale(1.035); }

.wpit-card__version {
	position: absolute; right: .7rem; bottom: .7rem;
	padding: .22rem .6rem; border-radius: 999px;
	background: rgba(10,12,20,.62); color: #fff;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	font-size: .74rem; font-weight: 650; font-family: var(--mono); letter-spacing: -.01em;
}

.wpit-card__body { display: flex; flex-direction: column; flex: 1; gap: .55rem; padding: 1.15rem 1.25rem 1.05rem; }
.wpit-card__pills { display: flex; flex-wrap: wrap; gap: .38rem; }
.wpit-card__title { font-size: 1.15rem; letter-spacing: -.028em; line-height: 1.3; }
.wpit-card__title a { color: var(--ink); }
.wpit-card__title a:hover { color: var(--brand); text-decoration: none; }
.wpit-card__excerpt { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.wpit-card__foot {
	display: flex; align-items: center; justify-content: space-between; gap: .75rem;
	margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line);
}
.wpit-card__more { font-size: .86rem; font-weight: 620; color: var(--brand); white-space: nowrap; }

.wpit-card--featured { flex-direction: row; align-items: stretch; }
.wpit-card--featured .wpit-card__media { flex: 0 0 56%; aspect-ratio: auto; }
.wpit-card--featured .wpit-card__body { padding: clamp(1.4rem, 3vw, 2.25rem); gap: .7rem; justify-content: center; }
.wpit-card--featured .wpit-card__title { font-size: clamp(1.5rem, 3.1vw, 2.05rem); }
.wpit-card--featured .wpit-card__excerpt { font-size: 1rem; }
@media (max-width: 800px) {
	.wpit-card--featured { flex-direction: column; }
	.wpit-card--featured .wpit-card__media { flex: none; aspect-ratio: 16 / 9; }
}

.wpit-pill {
	display: inline-flex; align-items: center; padding: .2rem .6rem;
	background: var(--surface-2); border-radius: 999px;
	color: var(--muted); font-size: .74rem; font-weight: 650;
	letter-spacing: .04em; text-transform: uppercase;
}
a.wpit-pill:hover { text-decoration: none; background: var(--surface-3); color: var(--ink); }
.wpit-pill--type {
	background: color-mix(in oklab, hsl(var(--wpit-hue) 70% 55%) 14%, transparent);
	color: hsl(var(--wpit-hue) 62% 40%);
}
@media (prefers-color-scheme: dark) {
	.wpit-pill--type { color: hsl(var(--wpit-hue) 80% 76%); background: color-mix(in oklab, hsl(var(--wpit-hue) 70% 55%) 20%, transparent); }
}

/* ---------- stars ---------- */

.wpit-rating { display: inline-flex; align-items: center; gap: .45rem; font-size: .86rem; color: var(--muted); }
.wpit-rating strong { color: var(--ink); font-weight: 700; }
.wpit-rating__count { color: var(--muted); }
.wpit-stars { display: inline-flex; gap: 1.5px; }
.wpit-star { width: 15px; height: 15px; flex: none; }
.wpit-stars--sm .wpit-star { width: 13px; height: 13px; }
.wpit-star.is-full { fill: var(--star); }
.wpit-star.is-half { fill: var(--star); opacity: .55; }
.wpit-star.is-empty { fill: var(--line-2); }

/* ---------- breadcrumbs ---------- */

.wpit-crumbs, .rank-math-breadcrumb {
	display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
	margin-bottom: 1.5rem; font-size: .84rem; color: var(--muted);
}
.wpit-crumbs a, .rank-math-breadcrumb a { color: var(--muted); }
.wpit-crumbs a:hover, .rank-math-breadcrumb a:hover { color: var(--ink); }
.rank-math-breadcrumb p { margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.rank-math-breadcrumb .separator { opacity: .5; }

/* ---------- review hero ---------- */

.wpit-rhero { position: relative; padding: clamp(1.6rem, 4vw, 2.6rem) 0 0; overflow: hidden; }
.wpit-rhero__glow {
	position: absolute; inset: -40% -20% auto; height: 560px; pointer-events: none;
	background: radial-gradient(45% 60% at 22% 25%, color-mix(in oklab, hsl(var(--wpit-hue) 75% 55%) 22%, transparent), transparent 72%);
	filter: blur(16px);
}
.wpit-rhero > .wpit-shell { position: relative; }
.wpit-rhero__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.86fr); gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center; }
.wpit-rhero__title { font-size: clamp(2.1rem, 5.4vw, 3.35rem); font-weight: 820; letter-spacing: -.042em; line-height: 1.05; margin: .75rem 0 0; }
.wpit-rhero__lede { margin: 1rem 0 0; color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.15rem); line-height: 1.6; max-width: 34rem; }
.wpit-rhero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: 1.25rem; font-size: .9rem; color: var(--muted); }
.wpit-rhero__by a { color: var(--ink-2); font-weight: 600; }

.wpit-shot { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface-2); }
.wpit-shot img, .wpit-shot svg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.wpit-shot__badge {
	position: absolute; left: .85rem; top: .85rem;
	padding: .3rem .7rem; border-radius: 999px;
	background: rgba(10,12,20,.6); color: #fff;
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	font-family: var(--mono); font-size: .78rem; font-weight: 650;
}

@media (max-width: 900px) {
	.wpit-rhero__grid { grid-template-columns: 1fr; }
	.wpit-rhero__media { order: -1; }
}

.wpit-cta--hero { margin-top: 1.75rem; }
.wpit-cta__micro { margin: .8rem 0 0; font-size: .83rem; color: var(--muted); }
.wpit-cta__micro span { opacity: .5; margin-inline: .25rem; }

/* ---------- spec bar ---------- */

.wpit-specbar {
	display: grid; grid-template-columns: repeat(5, 1fr);
	gap: 1px; margin: clamp(2rem, 4vw, 2.75rem) 0 0;
	background: var(--line);
	border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.wpit-spec { background: var(--surface); padding: 1rem 1.15rem; }
.wpit-spec dt { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.wpit-spec dd { margin: .3rem 0 0; font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
@media (max-width: 860px) { .wpit-specbar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .wpit-specbar { grid-template-columns: 1fr; } }

/* ---------- review body layout ---------- */

.wpit-review__body {
	display: grid; grid-template-columns: minmax(0,1fr) 320px;
	gap: clamp(2rem, 5vw, 4rem);
	padding-block: clamp(2.5rem, 5vw, 3.75rem);
	align-items: start;
}
@media (max-width: 1000px) {
	.wpit-review__body { grid-template-columns: 1fr; }
	.wpit-review__side { order: -1; }
}
.wpit-sticky { position: sticky; top: 92px; display: grid; gap: 1rem; }

/* ---------- table of contents ---------- */

.wpit-toc {
	margin: 0 0 2.25rem; padding: 1.1rem 1.35rem;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--r); box-shadow: var(--shadow-xs);
}
.wpit-toc__h { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.wpit-toc ol { list-style: none; counter-reset: toc; display: grid; gap: .3rem; }
.wpit-toc li { counter-increment: toc; }
.wpit-toc a { display: flex; gap: .6rem; color: var(--ink-2); font-size: .93rem; line-height: 1.45; }
.wpit-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--muted); font-family: var(--mono); font-size: .78rem; padding-top: .15rem; }
.wpit-toc a:hover { color: var(--brand); text-decoration: none; }

/* ---------- prose ---------- */

.wpit-prose { font-size: 1.075rem; line-height: 1.75; color: var(--ink-2); max-width: 46rem; }
.wpit-prose--page { margin-inline: auto; }
.wpit-prose > * + * { margin-top: 1.15em; }
.wpit-prose h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-top: 2.4em; margin-bottom: .5em; color: var(--ink); letter-spacing: -.032em; scroll-margin-top: 92px; }
.wpit-prose h3 { font-size: clamp(1.15rem, 2.2vw, 1.32rem); margin-top: 1.9em; margin-bottom: .4em; color: var(--ink); letter-spacing: -.024em; scroll-margin-top: 92px; }
.wpit-prose h2:first-child, .wpit-prose h3:first-child { margin-top: 0; }
.wpit-prose ul, .wpit-prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.wpit-prose li::marker { color: var(--brand); }
.wpit-prose ul li::marker { font-size: 1.1em; }
.wpit-prose a { font-weight: 550; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2.5px; text-decoration-color: color-mix(in oklab, var(--brand) 35%, transparent); }
.wpit-prose a:hover { text-decoration-color: var(--brand); }
.wpit-prose img, .wpit-prose figure img { border-radius: var(--r); border: 1px solid var(--line); }
.wpit-prose figure { margin: 2em 0; }
.wpit-prose figcaption { margin-top: .7em; font-size: .86rem; color: var(--muted); text-align: center; }
.wpit-prose blockquote {
	margin: 2em 0; padding: .3em 0 .3em 1.4em;
	border-left: 3px solid var(--brand);
	font-size: 1.12rem; color: var(--ink); font-style: normal; font-weight: 500;
}
.wpit-prose blockquote p:last-child { margin-bottom: 0; }
.wpit-prose code {
	padding: .15em .42em; border-radius: 6px;
	background: var(--surface-2); border: 1px solid var(--line);
	font-family: var(--mono); font-size: .88em;
}
.wpit-prose pre {
	overflow-x: auto; padding: 1.15rem 1.35rem; border-radius: var(--r);
	background: var(--surface-2); border: 1px solid var(--line);
	font-family: var(--mono); font-size: .88rem; line-height: 1.6;
}
.wpit-prose pre code { background: none; border: 0; padding: 0; }
.wpit-prose hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--line); }
.wpit-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.wpit-prose th, .wpit-prose td { padding: .7rem .9rem; border: 1px solid var(--line); text-align: left; }
.wpit-prose th { background: var(--surface-2); font-weight: 650; color: var(--ink); }

.wpit-spotlight { margin: 2.5rem 0 0; }
.wpit-spotlight img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.wpit-spotlight figcaption { margin-top: .8rem; font-size: .86rem; color: var(--muted); text-align: center; }

/* ---------- panels ---------- */

.wpit-panel { padding: 1.25rem 1.35rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); }
.wpit-panel__h { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.wpit-deflist { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; font-size: .9rem; }
.wpit-deflist dt { color: var(--muted); }
.wpit-deflist dd { margin: 0; text-align: right; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

/* ---------- CTA: inline ---------- */

.wpit-cta--inline {
	display: grid; grid-template-columns: 190px minmax(0,1fr);
	margin: 2.75rem 0; overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line); border-radius: var(--r-xl);
	box-shadow: var(--shadow-md);
	max-width: 46rem;
}
.wpit-cta--inline .wpit-cta__art { position: relative; }
.wpit-cta--inline .wpit-cta__art svg { width: 100%; height: 100%; object-fit: cover; }
.wpit-cta__body { padding: clamp(1.3rem, 3vw, 1.85rem); }
.wpit-cta__eyebrow { margin: 0 0 .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--wpit-hue) 60% 48%); }
@media (prefers-color-scheme: dark) { .wpit-cta__eyebrow { color: hsl(var(--wpit-hue) 80% 74%); } }
.wpit-cta__title { font-size: clamp(1.2rem, 2.6vw, 1.5rem); letter-spacing: -.03em; line-height: 1.2; margin-bottom: .6rem; }
.wpit-cta__text { margin: 0 0 1.15rem; color: var(--muted); font-size: .96rem; line-height: 1.6; }
@media (max-width: 640px) {
	.wpit-cta--inline { grid-template-columns: 1fr; }
	.wpit-cta--inline .wpit-cta__art { height: 110px; }
}

/* ---------- CTA: aside ---------- */

.wpit-cta--aside {
	position: relative; padding: 1.35rem; overflow: hidden;
	border-radius: var(--r-lg);
	background:
		linear-gradient(160deg, color-mix(in oklab, hsl(var(--wpit-hue) 72% 56%) 14%, var(--surface)), var(--surface));
	border: 1px solid color-mix(in oklab, hsl(var(--wpit-hue) 70% 55%) 26%, var(--line));
	box-shadow: var(--shadow-sm);
}
.wpit-cta__aside-title { margin: 0 0 1rem; font-size: 1.06rem; font-weight: 720; letter-spacing: -.025em; color: var(--ink); line-height: 1.3; }
.wpit-cta__aside-title span { font-family: var(--mono); font-size: .82rem; font-weight: 600; color: var(--muted); }
.wpit-cta--aside .wpit-cta__micro { text-align: center; margin-top: .7rem; }

/* ---------- CTA: final ---------- */

.wpit-cta--final {
	position: relative; overflow: hidden;
	margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
	padding: clamp(2.25rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
	border-radius: var(--r-xl);
	background: linear-gradient(140deg, hsl(var(--wpit-hue) 58% 22%), hsl(calc(var(--wpit-hue) + 40) 62% 15%) 70%, #0B0D14);
	color: #fff; text-align: center;
	box-shadow: var(--shadow-lg);
}
.wpit-cta__glow {
	position: absolute; inset: -50% -20% auto; height: 420px; pointer-events: none;
	background: radial-gradient(45% 60% at 50% 0%, color-mix(in oklab, hsl(var(--wpit-hue) 90% 65%) 40%, transparent), transparent 72%);
}
.wpit-cta__inner { position: relative; max-width: 40rem; margin-inline: auto; }
.wpit-cta--final .wpit-cta__eyebrow { color: hsl(var(--wpit-hue) 85% 78%); }
.wpit-cta--final .wpit-cta__title { font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; margin-bottom: .8rem; letter-spacing: -.035em; }
.wpit-cta--final .wpit-cta__text { color: rgba(255,255,255,.76); font-size: 1.03rem; margin-bottom: 1.9rem; }
.wpit-cta__points {
	list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
	gap: .5rem 1.5rem; margin: 1.6rem 0 0; font-size: .86rem; color: rgba(255,255,255,.66);
}
.wpit-cta__points li { display: flex; align-items: center; gap: .45rem; }
.wpit-cta__points li::before {
	content: ""; width: 15px; height: 15px; flex: none; border-radius: 50%;
	background: rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/9px no-repeat;
}

/* ---------- sticky mobile bar ---------- */

.wpit-stickybar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
	display: flex; align-items: center; gap: 1rem;
	padding: .7rem var(--pad); padding-bottom: max(.7rem, env(safe-area-inset-bottom));
	background: color-mix(in oklab, var(--surface) 92%, transparent);
	backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6);
	border-top: 1px solid var(--line);
	transform: translateY(100%); transition: transform .28s var(--ease);
	box-shadow: 0 -8px 24px -12px rgba(0,0,0,.3);
}
.wpit-stickybar.is-visible { transform: translateY(0); }
.wpit-stickybar__meta { display: grid; min-width: 0; }
.wpit-stickybar__title { font-weight: 700; font-size: .95rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wpit-stickybar__sub { font-size: .78rem; color: var(--muted); }
.wpit-stickybar .wpit-btn { margin-inline-start: auto; }
@media (min-width: 1001px) { .wpit-stickybar { display: none; } }

/* ---------- archive head ---------- */

.wpit-archead { position: relative; padding: clamp(2.25rem, 5vw, 3.5rem) 0 0; overflow: hidden; }
.wpit-archead__glow {
	position: absolute; inset: -45% -20% auto; height: 480px; pointer-events: none;
	background: radial-gradient(42% 58% at 28% 25%, color-mix(in oklab, var(--brand) 20%, transparent), transparent 72%);
	filter: blur(16px);
}
.wpit-archead > .wpit-shell { position: relative; }
.wpit-archead__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 820; letter-spacing: -.04em; }
.wpit-archead__desc { margin-top: .9rem; color: var(--muted); max-width: 42rem; }
.wpit-archead__desc p { margin: 0; }
.wpit-archead__count { margin-top: .9rem; font-size: .9rem; color: var(--muted); }
.wpit-archead__count strong { color: var(--ink); }
.wpit-archead__search { max-width: 34rem; margin-top: 1.5rem; }

/* ---------- value props ---------- */

.wpit-valueprops { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(1.1rem, 2.4vw, 1.6rem); }
.wpit-valueprop { padding: 1.5rem 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.wpit-valueprop__icon {
	display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1rem;
	border-radius: 12px; background: var(--brand-soft); color: var(--brand);
}
.wpit-valueprop__icon svg { width: 21px; height: 21px; }
.wpit-valueprop h3 { font-size: 1.05rem; letter-spacing: -.025em; margin-bottom: .45rem; }
.wpit-valueprop p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* ---------- pagination ---------- */

.wpit-pagination { margin-top: 2.75rem; }
.wpit-pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.wpit-pagination a, .wpit-pagination span {
	display: grid; place-items: center; min-width: 40px; height: 40px; padding-inline: .8rem;
	background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
	color: var(--ink-2); font-size: .9rem; font-weight: 600;
}
.wpit-pagination a:hover { text-decoration: none; border-color: var(--line-2); background: var(--surface-2); color: var(--ink); }
.wpit-pagination .current { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.wpit-pagination .dots { border-color: transparent; background: none; }

/* ---------- empty states ---------- */

.wpit-empty { text-align: center; padding: clamp(2.5rem, 7vw, 5rem) 1rem; }
.wpit-empty h1, .wpit-empty h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -.035em; margin-bottom: .6rem; }
.wpit-empty p { color: var(--muted); max-width: 32rem; margin-inline: auto; }
.wpit-empty .wpit-btn { margin-top: 1.5rem; }
.wpit-empty .wpit-archead__search { margin-inline: auto; }
.wpit-empty--404 .wpit-eyebrow { font-size: 1rem; letter-spacing: .2em; }

/* ---------- footer ---------- */

.wpit-footer { margin-top: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); background: var(--surface); }
.wpit-footer__top {
	display: grid; grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr));
	gap: clamp(1.75rem, 4vw, 3rem);
	padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 900px) { .wpit-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .wpit-footer__top { grid-template-columns: 1fr; } }
.wpit-footer__tag { margin: .9rem 0 0; color: var(--muted); font-size: .92rem; max-width: 26rem; }
.wpit-footer__h { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .85rem; }
.wpit-footer__col ul { list-style: none; display: grid; gap: .45rem; }
.wpit-footer__col a { color: var(--ink-2); font-size: .93rem; }
.wpit-footer__col a:hover { color: var(--brand); }
.wpit-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
	padding-block: 1.4rem; border-top: 1px solid var(--line);
	font-size: .85rem; color: var(--muted);
}
.wpit-footer__bottom p { margin: 0; }

/* ---------- generated artwork ---------- */

.wpit-art { display: block; width: 100%; height: 100%; }

/* ---------- responsive nav ---------- */

@media (max-width: 860px) {
	.wpit-burger { display: block; }
	.wpit-nav {
		position: fixed; inset: 68px 0 auto; z-index: 50;
		background: var(--surface); border-bottom: 1px solid var(--line);
		padding: .85rem var(--pad) 1.25rem;
		box-shadow: var(--shadow-md);
		display: none;
	}
	.wpit-nav.is-open { display: block; }
	.wpit-nav__list, .wpit-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
	.wpit-nav__list a, .wpit-nav ul a { padding: .7rem .9rem; border-radius: var(--r-sm); font-size: 1rem; }
}
