/* WordPress-only additions on top of sd-light.css: hub color variables, real links/forms, pagination, a11y. */

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--ink);
	color: #fff;
	padding: 0.6rem 1rem;
	border-radius: 0 0 10px 0;
	font-weight: 700;
}

.skip-link:focus {
	left: 0;
}

:focus-visible {
	outline: 3px solid rgb(4 120 87 / 0.45);
	outline-offset: 2px;
}

body.admin-bar header.site {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar header.site {
		top: 46px;
	}
}

main {
	display: block;
}

/* The global `a { color: brand }` rule would paint the whole nav green; the mockup keeps it quiet. */
nav.main a {
	color: inherit;
}

nav.main a[aria-current] {
	color: var(--ink);
}

/* .foot-grid a is display:block for link lists — the logo must stay a row. */
.foot-grid a.logo {
	display: flex;
}

/* Without this the article grid spreads its rows to match the sidebar's height. */
.article-body {
	align-content: start;
}

/* Logo */

.logo .mark svg {
	display: block;
	stroke-width: 2.6;
}

.logo-accent {
	color: var(--brand);
}

footer.site .logo {
	margin-bottom: 0.6rem;
}

.foot-about {
	color: var(--ink-soft);
	font-size: 0.88rem;
	max-width: 34ch;
	margin: 0;
}

/* Search forms */

.search-box svg {
	flex-shrink: 0;
	color: var(--ink-faint);
}

.search-box input::-webkit-search-cancel-button {
	display: none;
}

.hero-search input {
	min-width: 0;
	background: none;
}

.eyebrow svg {
	stroke-width: 2.4;
}

.section-head .eyebrow {
	margin-bottom: 0.4rem;
}

/* Hub colors: every hub-colored block sets --hub / --hub-wash inline (sd_hub_style()). */

.tile {
	background: var(--hub, var(--brand));
	flex-shrink: 0;
}

/* Real logo: the vendor's icon on a white tile, never recoloured or cropped. */
.tile-logo {
	background: #fff;
	border: 1px solid var(--line);
	overflow: hidden;
}

.tile-logo img {
	display: block;
	width: 74%;
	height: 74%;
	object-fit: contain;
}

.tile-lg {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	font-size: 1.3rem;
}

.hub-icon {
	background: var(--hub-wash);
	color: var(--hub);
}

/* Generated 3D category icons: shown larger and without the tinted square behind the stroked SVG. */
.hub-icon.has-art {
	width: 64px;
	height: 64px;
	background: none;
	border-radius: 0;
	margin: -4px 0 -2px -6px;
}

.hub-icon.has-art img,
.hub-band-art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hub-tile:hover .hub-icon.has-art img {
	transform: translateY(-2px) scale(1.04);
	transition: transform 0.2s var(--ease);
}

.hub-band.has-art {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
}

.hub-band.has-art > div {
	grid-column: 1;
}

.hub-band.has-art .hub-meta {
	grid-column: 1;
}

.hub-band-art {
	grid-column: 2;
	grid-row: 1 / span 2;
	width: clamp(96px, 12vw, 150px);
	height: clamp(96px, 12vw, 150px);
}

.hub-band-art:not(.has-art) {
	display: none;
}

/* On phones the artwork sits in the top-right corner so the text keeps the full width of the band. */
@media (max-width: 640px) {
	.hub-band.has-art {
		position: relative;
		grid-template-columns: minmax(0, 1fr);
	}

	.hub-band-art {
		position: absolute;
		top: 0.9rem;
		right: 0.9rem;
		width: 64px;
		height: 64px;
	}

	.hub-band.has-art h1 {
		padding-right: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hub-tile:hover .hub-icon.has-art img {
		transform: none;
	}
}

.hub-tile h3 {
	text-wrap: balance;
}

.software-card::before {
	background: var(--hub);
}

.card-tag {
	background: var(--hub-wash);
	color: var(--hub);
}

.hub-band,
.profile-head {
	background: var(--hub-wash);
}

.hub-band .badge,
.badge-hub {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	background: #fff;
	color: var(--hub);
}

.hub-band .badge svg,
.badge-hub svg {
	flex-shrink: 0;
}

.chip {
	text-decoration: none;
}

/* Verify card rows are links on the real site */

.verify-row {
	color: inherit;
	border-radius: 8px;
}

.verify-row:hover .verify-name {
	color: var(--brand);
}

.verify-row > span:nth-child(2) {
	display: grid;
	min-width: 0;
}

.verify-price small {
	color: var(--ink-faint);
}

.verify-empty {
	margin: 0.4rem 0;
	color: var(--ink-soft);
	font-size: 0.92rem;
}

/* Cards */

.card-head h3 a:hover {
	color: var(--brand);
}

.card-fact .unit {
	font-family: var(--body);
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--ink-soft);
	margin-left: 0.1rem;
}

.card-fact .verified {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.card-fact .verified svg {
	stroke-width: 2.6;
}

.price-missing {
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--ink-faint);
}

.card-cta .btn:only-child {
	grid-column: 1 / -1;
}

/* Listing */

.rank-note svg {
	flex-shrink: 0;
	margin-top: 0.15rem;
	color: var(--ink-soft);
}

.filter-pill {
	display: inline-block;
	text-decoration: none;
}

.filter-pill:hover {
	border-color: var(--ink-soft);
	color: var(--ink);
}

.filter-pill.active,
.filter-pill.active:hover {
	color: #fff;
}

.filter-note {
	font-size: 0.85rem;
	color: var(--ink-faint);
	font-weight: 600;
}

section.listing {
	padding-top: 0;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 2rem;
}

.pagination .page-numbers {
	min-width: 42px;
	height: 42px;
	display: inline-grid;
	place-items: center;
	padding: 0 0.8rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--ink-soft);
}

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

.pagination .page-numbers.dots {
	border: 0;
	background: none;
}

.empty-state {
	background: var(--tint);
	border-radius: 12px;
	padding: 1rem 1.2rem;
	color: var(--ink-soft);
	margin: 0;
}

/* Profile */

.profile-id > div {
	min-width: 0;
}

.profile-id h1 {
	overflow-wrap: anywhere;
}

.fact-price .unit {
	font-size: 1.1rem;
	color: var(--ink-soft);
	margin-left: 0.15rem;
}

.fact-pending {
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.55rem;
	line-height: 1.1;
	color: var(--ink);
}

.fact-pending small {
	display: block;
	font-family: var(--body);
	font-weight: 500;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--ink-soft);
	margin-top: 0.5rem;
}

.fact-card .btn svg {
	stroke-width: 2.2;
}

/* An implicit `auto` grid track grows to the pricing table's width and pushes the page sideways on phones. */
.article-body {
	grid-template-columns: minmax(0, 1fr);
}

.article-body section {
	padding-block: 0;
	scroll-margin-top: 90px;
}

/* On phones the table scrolls sideways instead of crushing the notes column to one word per line. */
.table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

table.pricing {
	min-width: 600px;
}

table.pricing td:last-child {
	min-width: 180px;
}

table.pricing tbody th {
	font-weight: 700;
}

table.pricing td,
table.pricing th {
	font-variant-numeric: tabular-nums;
}

.source-note {
	font-size: 0.85rem;
	color: var(--ink-faint);
	margin: 0.7rem 0 0;
}

.check-row > span:last-child {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-weight: 700;
	white-space: nowrap;
}

.check-row .no {
	color: var(--red);
}

.check-row .unknown {
	color: var(--ink-faint);
	font-weight: 600;
}

.made-note {
	margin: 0;
	border: 1px dashed var(--line);
	border-radius: var(--radius-md);
	padding: 1rem 1.2rem;
	font-size: 0.92rem;
	color: var(--ink-soft);
}

.side-links {
	display: grid;
	gap: 0.4rem;
	font-size: 0.88rem;
}

.side-alt {
	color: inherit;
	gap: 0.8rem;
}

.side-alt b {
	min-width: 0;
	overflow-wrap: anywhere;
}

.side-alt:hover b {
	color: var(--brand);
}

.side-alt .muted {
	color: var(--ink-faint);
	font-size: 0.8rem;
	white-space: nowrap;
}

.side-more {
	display: block;
	margin-top: 0.6rem;
	font-size: 0.88rem;
}

/* Generic pages */

.page-body {
	max-width: 760px;
	padding-block: 2.5rem 1rem;
}

.page-title {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
	margin: 0 0 1rem;
	text-wrap: balance;
}

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

/* ---------- Mobile: menu, two-column categories, compact cards (owner feedback 2026-09-15) ---------- */

.mobile-menu {
	display: none;
}

@media (max-width: 640px) {
	.site-in {
		gap: 0.8rem;
	}

	.site-in > .btn-primary {
		display: none;
	}

	.mobile-menu {
		display: block;
		margin-left: auto;
	}

	.mobile-menu summary {
		list-style: none;
		width: 44px;
		height: 44px;
		display: grid;
		place-items: center;
		border: 1px solid var(--line);
		border-radius: 12px;
		background: #fff;
		color: var(--ink);
		cursor: pointer;
	}

	.mobile-menu summary::-webkit-details-marker {
		display: none;
	}

	.mobile-menu[open] summary {
		background: var(--ink);
		border-color: var(--ink);
		color: #fff;
	}

	.mobile-menu-panel {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: grid;
		gap: 0.9rem;
		max-height: calc(100vh - 72px);
		overflow-y: auto;
		padding: 1rem var(--gutter) 1.3rem;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-md);
	}

	.mobile-menu .search-box {
		display: flex;
		max-width: none;
		min-width: 0;
	}

	.mobile-menu nav {
		display: grid;
	}

	.mobile-menu nav a {
		padding: 0.7rem 0.1rem;
		border-bottom: 1px solid var(--line-soft);
		font-weight: 700;
		color: var(--ink);
	}

	.mobile-menu-hubs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.4rem;
	}

	.mobile-hub {
		display: flex;
		align-items: center;
		gap: 0.45rem;
		padding: 0.4rem 0.5rem;
		border-radius: 10px;
		background: var(--tint);
		color: var(--ink);
		font-size: 0.8rem;
		font-weight: 700;
		line-height: 1.2;
	}

	.mobile-hub-art {
		flex-shrink: 0;
		width: 28px;
		height: 28px;
		display: grid;
		place-items: center;
	}

	.mobile-hub-art img,
	.mobile-hub-art svg {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}

	/* Categories: two columns instead of one long vertical list */
	.hub-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.6rem;
	}

	.hub-tile {
		padding: 0.8rem;
		gap: 0.4rem;
	}

	.hub-tile h3 {
		font-size: 1rem;
	}

	.hub-tile .count {
		font-size: 0.74rem;
	}

	.hub-icon.has-art {
		width: 48px;
		height: 48px;
	}

	/* Listing: compact cards, filters in one swipeable row */
	.hub-band {
		padding: 1.1rem;
		gap: 0.7rem;
		margin-bottom: 1rem;
	}

	.hub-band p {
		font-size: 0.92rem;
	}

	.rank-note {
		font-size: 0.82rem;
		padding: 0.8rem 0.9rem;
		margin-bottom: 1rem;
	}

	.filter-bar {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-inline: calc(-1 * var(--gutter));
		padding-inline: var(--gutter);
		padding-bottom: 0.2rem;
		scrollbar-width: none;
	}

	.filter-bar::-webkit-scrollbar {
		display: none;
	}

	.filter-pill {
		flex-shrink: 0;
		white-space: nowrap;
	}

	.filter-sep,
	.filter-note {
		display: none;
	}

	.software-grid {
		gap: 0.6rem;
	}

	.software-card {
		padding: 0.85rem 0.9rem;
		gap: 0.55rem;
		border-radius: var(--radius-md);
	}

	.software-card::before {
		border-radius: var(--radius-md) var(--radius-md) 0 0;
	}

	.card-head {
		gap: 0.6rem;
	}

	.card-head h3 {
		font-size: 1.15rem;
	}

	.tile-lg {
		width: 40px;
		height: 40px;
		border-radius: 11px;
		font-size: 1.05rem;
	}

	.card-fact {
		padding: 0.4rem 0.6rem;
	}

	.card-fact .price {
		font-size: 1.1rem;
	}

	.badge {
		font-size: 0.68rem;
	}

	.card-cta .btn-sm {
		padding: 0.4rem 0.6rem;
	}
}

/* Software profile on phones: tighter blocks, two-column facts, no duplicate "On this page" box. */
@media (max-width: 640px) {
	.profile-head {
		padding: 1rem;
		gap: 1rem;
		margin-bottom: 1rem;
	}

	.profile-id {
		gap: 0.75rem;
		margin-bottom: 0.7rem;
	}

	.profile-id .tile {
		width: 52px;
		height: 52px;
		border-radius: 13px;
	}

	.profile-id h1 {
		font-size: 1.75rem;
	}

	.profile-id p {
		font-size: 0.9rem;
	}

	.fact-card {
		padding: 1rem;
		gap: 0.7rem;
	}

	.fact-price {
		font-size: 1.75rem;
	}

	.fact-grid {
		grid-template-columns: 1fr 1fr;
	}

	.two-col {
		gap: 1.2rem;
	}

	.article-body {
		gap: 1.1rem;
	}

	.article h2 {
		font-size: 1.3rem;
		margin: 0 0 0.55rem;
	}

	.key-facts {
		gap: 0.4rem;
	}

	.key-facts li {
		padding: 0.5rem 0.7rem;
		font-size: 0.88rem;
	}

	.check-row {
		font-size: 0.84rem;
		padding: 0.45rem 0.65rem;
	}

	.made-note,
	.empty-state {
		font-size: 0.85rem;
		padding: 0.75rem 0.85rem;
	}

	.side-nav .side-box:first-child {
		display: none;
	}
}

.card-fact .price-quote {
	font-size: 1.05rem;
}

/* Our own short description of the tool, two lines on cards. */
.card-desc {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.45;
	color: var(--ink-soft);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Profile header on phones: logo and name on one row, description full width underneath. */
@media (max-width: 640px) {
	.profile-id {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		column-gap: 0.75rem;
	}

	.profile-id > div {
		display: contents;
	}

	.profile-id h1 {
		grid-column: 2;
		margin: 0;
	}

	.profile-id p {
		grid-column: 1 / -1;
		margin-top: 0.6rem;
	}
}

/* Unchecked tools: a plain official-website card instead of an empty price box. */
.fact-site {
	font-size: 0.9rem;
	color: var(--ink-soft);
	margin: 0;
}

.fact-site b {
	display: block;
	font-family: var(--display);
	font-size: 1.35rem;
	color: var(--ink);
	overflow-wrap: anywhere;
}

/* ---------- Profiles without prices: overview facts, alternatives grid ---------- */

.verify-art {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
}

.verify-art img,
.verify-art svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.verify-go {
	color: var(--ink-faint);
	font-weight: 700;
}

.fact-card .btn-ghost {
	margin-top: -0.3rem;
}

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

.overview-grid > div {
	background: var(--tint);
	border-radius: 10px;
	padding: 0.65rem 0.85rem;
}

.overview-grid dt {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.overview-grid dd {
	margin: 0.15rem 0 0;
	font-weight: 700;
	font-size: 0.92rem;
	overflow-wrap: anywhere;
}

.section-note {
	margin: -0.3rem 0 0.9rem;
	font-size: 0.88rem;
	color: var(--ink-faint);
}

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

.alt-card {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.85rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: #fff;
	color: var(--ink);
	transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.alt-card:hover {
	border-color: rgb(11 18 32 / 0.2);
	box-shadow: var(--shadow-sm);
}

.alt-card > span:last-child {
	display: grid;
	gap: 0.2rem;
	min-width: 0;
}

.alt-card b {
	font-family: var(--display);
	font-size: 1.1rem;
}

.alt-card small {
	font-size: 0.8rem;
	line-height: 1.4;
	color: var(--ink-soft);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 640px) {
	.overview-grid,
	.alt-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Long category names wrap inside the button instead of overflowing the card. */
.fact-card .btn {
	white-space: normal;
	text-align: center;
	line-height: 1.3;
}

/* ---------- Profile tabs ---------- */

.profile-tabs {
	margin-bottom: 2rem;
	scroll-margin-top: 80px;
}

.tab-list {
	position: sticky;
	top: 76px;
	z-index: 5;
	display: flex;
	gap: 0.25rem;
	overflow-x: auto;
	scrollbar-width: none;
	margin-bottom: 1.4rem;
	padding: 0.35rem;
	background: rgb(255 255 255 / 0.95);
	backdrop-filter: blur(8px);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow-sm);
}

.tab-list::-webkit-scrollbar {
	display: none;
}

/* Without JavaScript the tab bar is useless and every panel is shown, one after another. */
.profile-tabs:not(.tabs-ready) .tab-list {
	display: none;
}

.tab-list [role="tab"] {
	flex-shrink: 0;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--ink-soft);
	background: none;
	border: 0;
	border-radius: 10px;
	padding: 0.55rem 0.95rem;
	cursor: pointer;
	white-space: nowrap;
}

.tab-list [role="tab"]:hover {
	color: var(--ink);
	background: var(--tint);
}

.tab-list [role="tab"][aria-selected="true"] {
	color: #fff;
	background: var(--ink);
}

.tab-panel {
	padding-block: 0;
	max-width: 880px;
	scroll-margin-top: 140px;
}

.profile-tabs:not(.tabs-ready) .tab-panel + .tab-panel {
	margin-top: 2.4rem;
}

.tab-panel h2 {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
	margin: 0 0 0.9rem;
}

.tab-panel > p {
	color: var(--ink);
	line-height: 1.7;
	margin: 0 0 1rem;
}

.card-list {
	display: grid;
	gap: 0.8rem;
}

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

.info-card {
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 1rem 1.1rem;
	background: #fff;
}

.info-card h3 {
	font-family: var(--display);
	font-size: 1.15rem;
	margin: 0 0 0.35rem;
	color: var(--hub, var(--ink));
}

.info-card p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.faq-list {
	display: grid;
	gap: 0.55rem;
}

.faq {
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: #fff;
}

.faq summary {
	cursor: pointer;
	list-style: none;
	padding: 0.9rem 1.1rem;
	font-weight: 700;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "+";
	font-size: 1.2rem;
	line-height: 1;
	color: var(--ink-faint);
}

.faq[open] summary::after {
	content: "–";
}

.faq p {
	margin: 0;
	padding: 0 1.1rem 1rem;
	color: var(--ink-soft);
	line-height: 1.65;
}

.chip-list {
	list-style: none;
	margin: 0.4rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.chip-list li {
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: var(--hub-wash, var(--tint));
	color: var(--ink);
}

.who-card li + li {
	margin-top: 0.35rem;
}

.made-section {
	padding-block: 0 1rem;
	max-width: 880px;
}

.made-section h2 {
	font-family: var(--display);
	font-size: 1.3rem;
	margin: 0 0 0.6rem;
}

@media (max-width: 640px) {
	.tab-list {
		top: 74px;
		margin-inline: calc(-1 * var(--gutter));
		border-radius: 0;
		border-inline: 0;
	}

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

/* ---------- SEO heading outline ---------- */

.h1-sub {
	display: block;
	margin-top: 0.25rem;
	font-family: var(--body);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--hub, var(--ink-soft));
}

.list-heading {
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.35rem;
	margin: 0 0 0.9rem;
}

.foot-grid .foot-title {
	font-family: var(--display);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-faint);
	margin: 0 0 0.7rem;
}

.approval-line {
	margin: 0 0 0.6rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ink-soft);
}

/* Four public promises (blueprint §1.3), under the footer links. */
.foot-promises {
	max-width: 1240px;
	margin: 1.6rem auto 0;
	padding: 1rem 0 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.8rem;
	border-top: 1px solid var(--line);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ink-soft);
}

.foot-promises li {
	padding-left: 1.1rem;
	position: relative;
}

.foot-promises li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--brand);
	font-weight: 800;
}

@media (max-width: 960px) {
	.foot-promises {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.foot-promises {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Report form ---------- */

.report-line {
	margin: 0.7rem 0 0;
	font-size: 0.86rem;
}

.report-form {
	display: grid;
	gap: 1rem;
	max-width: 640px;
	margin: 1.5rem 0 2rem;
}

.form-row {
	display: grid;
	gap: 0.35rem;
}

.form-row label {
	font-weight: 700;
	font-size: 0.92rem;
}

.form-row input,
.form-row select,
.form-row textarea {
	font: inherit;
	font-size: 0.95rem;
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	width: 100%;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
	outline: 3px solid rgb(4 120 87 / 0.3);
	border-color: var(--brand);
}

.form-error {
	margin: 0;
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--red);
}

.form-hp {
	position: absolute;
	left: -9999px;
}

.form-row-check label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 400;
	cursor: pointer;
}

.form-status {
	margin: 0;
	padding: 0.75rem 0.9rem;
	border-radius: 10px;
	font-weight: 600;
}

.form-status.ok {
	background: var(--brand-wash);
	color: var(--brand);
}

.form-status.error {
	background: #fef2f2;
	color: var(--red);
}

/* ---------- Reviews ---------- */

.review-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: center;
	background: var(--tint);
	border-radius: 12px;
	padding: 1.2rem 1.4rem;
	margin-bottom: 1rem;
}

.review-average {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	min-width: 90px;
}

.review-average b {
	font-family: var(--display);
	font-size: 2.2rem;
	line-height: 1;
}

.review-average span {
	font-size: 0.82rem;
	color: var(--ink-soft);
}

.review-stars {
	display: inline-flex;
	gap: 0.05rem;
	color: #f59e0b;
}

.rating-bars {
	flex: 1;
	min-width: 200px;
	display: grid;
	gap: 0.3rem;
}

.rating-bar-row {
	display: grid;
	grid-template-columns: 2rem 1fr 1.8rem;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.82rem;
	color: var(--ink-soft);
}

.rating-bar-track {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
}

.rating-bar-fill {
	display: block;
	height: 100%;
	background: var(--hub, var(--brand));
	border-radius: 999px;
}

.review-list {
	display: grid;
	gap: 0.8rem;
	margin-bottom: 1.5rem;
}

.review-card {
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 1rem 1.1rem;
	background: #fff;
}

.review-card header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.4rem;
}

.review-card .review-role {
	font-size: 0.82rem;
	color: var(--ink-soft);
}

.review-card time {
	font-size: 0.82rem;
	color: var(--ink-soft);
	margin-inline-start: auto;
}

.review-card p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.review-form h3 {
	font-family: var(--display);
	font-size: 1.1rem;
	margin: 0 0 0.2rem;
}

.star-input {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 0.1rem;
	border: 0;
	padding: 0;
	margin: 0;
}

.star-input legend {
	font-weight: 700;
	font-size: 0.92rem;
	width: 100%;
	margin-bottom: 0.35rem;
	padding: 0;
}

.star-input input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.star-input label {
	cursor: pointer;
	display: block;
}

.star-input label svg {
	fill: none;
	stroke: currentColor;
	color: var(--line);
	transition: color 0.1s;
}

.star-input input:checked ~ label svg,
.star-input label:hover svg,
.star-input label:hover ~ label svg {
	fill: #f59e0b;
	stroke: #f59e0b;
	color: #f59e0b;
}

.star-input input:focus-visible + label {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ---------- Author page ---------- */

.author-page {
	max-width: 760px;
}

.author-head {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	margin-bottom: 1.4rem;
}

.author-photo {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.author-photo-placeholder {
	display: grid;
	place-items: center;
	background: var(--brand);
	color: #fff;
	font-family: var(--display);
	font-weight: 700;
	font-size: 2rem;
}

.author-head .page-title {
	margin: 0;
}

.author-role {
	margin: 0.2rem 0 0;
	color: var(--ink-soft);
	font-weight: 600;
}

.author-stats {
	display: flex;
	gap: 2rem;
	margin: 1.6rem 0;
	padding-top: 1.2rem;
	border-top: 1px solid var(--line);
}

.author-stats .stat b {
	display: block;
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.8rem;
	font-variant-numeric: tabular-nums;
}

.author-stats .stat span {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--ink-faint);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
