/**
 * Brand Visibility Check AI — public styles.
 * All rules are scoped to .bvc-widget so themes stay untouched.
 */

.bvc-widget {
	/* Brand palette — consultant-style: light, calm, one blue accent. */
	--bvc-bg: #ffffff;
	--bvc-surface: #f8fafc;
	--bvc-border: #e5e7eb;
	--bvc-text: #111827;
	--bvc-muted: #4b5563;
	--bvc-accent: #0349a4;
	--bvc-accent-dark: #023a83;
	--bvc-accent-light: #0593f9;
	--bvc-accent-soft: #eff6ff;
	--bvc-danger: #b91c1c;
	--bvc-danger-soft: #fef2f2;
	--bvc-success: #166534;
	--bvc-success-soft: #f0fdf4;
	--bvc-warn: #92400e;
	--bvc-warn-soft: #fffbeb;
	--bvc-radius: 14px;
	--bvc-radius-sm: 10px;
	/* Soft, not flashy. */
	--bvc-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px -14px rgba(17, 24, 39, .14);
	--bvc-gap: 24px;
	/* Space above the eyebrow. Override this to nudge the widget up or down. */
	--bvc-space-top: 8px;

	box-sizing: border-box;
	max-width: 960px;
	/* margin-top:0 stops themes stacking their own heading margin on top. */
	margin: 0 auto;
	padding: var(--bvc-space-top) 0 0;
	color: var(--bvc-text);
	font-size: 16px;
	line-height: 1.6;
	text-align: left;
}

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

.bvc-widget [hidden] {
	display: none !important;
}

.bvc-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.bvc-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------------------------------------------------------------- Hero */

/* Themes commonly add a large margin-top to the first heading in content;
   collapsing it here is what actually removes the gap above the title. */
.bvc-widget > :first-child,
.bvc-hero > :first-child {
	margin-top: 0;
}

.bvc-hero {
	text-align: center;
	margin: 0 0 24px;
}

.bvc-eyebrow {
	display: inline-block;
	padding: 5px 12px;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bvc-accent);
	background: var(--bvc-accent-soft);
	border-radius: 999px;
}

.bvc-hero__title {
	margin: 0 0 10px;
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: var(--bvc-text);
}

.bvc-hero__subtitle {
	margin: 0 auto;
	max-width: 56ch;
	font-size: 16px;
	color: var(--bvc-muted);
}

/* ------------------------------------------------------------- Controls */

.bvc-input {
	width: 100%;
	padding: 14px 16px;
	font-size: 16px;
	font-family: inherit;
	line-height: 1.4;
	color: var(--bvc-text);
	background: var(--bvc-bg);
	border: 1px solid var(--bvc-border);
	border-radius: var(--bvc-radius-sm);
	transition: border-color .15s ease, box-shadow .15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.bvc-input::placeholder {
	color: #94a3b8;
}

.bvc-input:focus {
	outline: none;
	border-color: var(--bvc-accent);
	box-shadow: 0 0 0 3px rgba(5, 147, 249, .25);
}

/* Keyboard users get an unmistakable ring, not just a colour shift. */
.bvc-input:focus-visible,
.bvc-checkbox input:focus-visible {
	outline: 2px solid var(--bvc-accent-light);
	outline-offset: 2px;
}

.bvc-input[aria-invalid="true"] {
	border-color: var(--bvc-danger);
}

/*
 * Theme hardening. Themes routinely set a fixed `height` and their own padding
 * on form controls; with box-sizing:border-box that squeezes the text line and
 * crops it. Scoped to .bvc-widget for the extra specificity needed to win,
 * using min-height so the field can still grow with its content.
 */
.bvc-widget .bvc-input {
	height: auto;
	min-height: 52px;
	padding: 14px 16px;
	line-height: 1.4;
}

.bvc-widget .bvc-textarea {
	min-height: 110px;
}

.bvc-select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.bvc-widget .bvc-select {
	padding-right: 40px;
}

.bvc-textarea {
	resize: vertical;
	min-height: 110px;
}

.bvc-label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--bvc-text);
}

.bvc-field {
	margin-bottom: 16px;
}

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

.bvc-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
}

.bvc-hint {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--bvc-muted);
}

.bvc-hint--center {
	text-align: center;
}

.bvc-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 16px;
	font-size: 14px;
	color: var(--bvc-muted);
	cursor: pointer;
}

.bvc-checkbox input {
	margin: 3px 0 0;
	width: 16px;
	height: 16px;
	flex: none;
	accent-color: var(--bvc-accent);
}

/* -------------------------------------------------------------- Buttons */

.bvc-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	border: 0;
	border-radius: var(--bvc-radius-sm);
	cursor: pointer;
	transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
	/* Themes set min-width on buttons; restore the content-based minimum so a
	   flex button can never be squeezed narrower than its own label. */
	min-width: auto;
}

/* Long labels wrap onto two lines rather than being cropped, whatever
   text-transform or letter-spacing the active theme applies. */
.bvc-btn__label {
	white-space: normal;
}

.bvc-btn:focus-visible {
	outline: 3px solid rgba(79, 70, 229, .45);
	outline-offset: 2px;
}

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

.bvc-btn--primary:hover {
	background: var(--bvc-accent-dark);
	color: #fff;
}

.bvc-btn--primary:active {
	transform: translateY(1px);
}

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

.bvc-btn--cta:hover {
	background: var(--bvc-accent-dark);
	color: #fff;
}

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

.bvc-btn[disabled],
.bvc-btn.is-loading {
	opacity: .72;
	cursor: not-allowed;
}

.bvc-spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: bvc-spin .7s linear infinite;
}

.bvc-btn.is-loading .bvc-spinner {
	display: block;
}

@keyframes bvc-spin {
	to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------ URL form */

.bvc-url-form {
	background: var(--bvc-surface);
	border: 1px solid var(--bvc-border);
	border-radius: var(--bvc-radius);
	padding: 22px;
	box-shadow: var(--bvc-shadow);
}

.bvc-field-row {
	display: flex;
	gap: 12px;
}

.bvc-field-row .bvc-input {
	flex: 1 1 auto;
	min-width: 0;
}

/*
 * The input absorbs the spare space; the button never shrinks.
 *
 * Themes commonly set `min-width` on buttons, which overrides the flex default
 * of `auto` and lets the button collapse below its own label. Combined with
 * nowrap that silently crops the text — worse under an uppercase theme, where
 * the label is wider than the plugin's own styling assumes.
 */
.bvc-field-row .bvc-btn {
	flex: 0 0 auto;
	min-width: auto;
	max-width: 100%;
}

/* ------------------------------------------------- Owned brand notice */

.bvc-owned {
	margin-bottom: var(--bvc-gap);
	padding: 22px 24px;
	background: var(--bvc-accent-soft);
	border: 1px solid #bfdbfe;
	border-left: 3px solid var(--bvc-accent);
	border-radius: var(--bvc-radius);
}

.bvc-owned__lead {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--bvc-accent);
}

.bvc-owned__text {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--bvc-muted);
}

.bvc-owned__text:last-child {
	margin-bottom: 0;
}

/* -------------------------------------------------------------- Loading */

.bvc-loading {
	padding: 40px 24px;
	text-align: center;
}

.bvc-loading__bar {
	height: 6px;
	max-width: 340px;
	margin: 0 auto 18px;
	background: var(--bvc-border);
	border-radius: 999px;
	overflow: hidden;
}

.bvc-loading__bar span {
	display: block;
	width: 40%;
	height: 100%;
	background: var(--bvc-accent);
	border-radius: 999px;
	animation: bvc-slide 1.3s ease-in-out infinite;
}

@keyframes bvc-slide {
	0%   { transform: translateX(-100%); }
	100% { transform: translateX(280%); }
}

.bvc-loading__text {
	margin: 0;
	font-size: 15px;
	color: var(--bvc-muted);
}

/* ------------------------------------------------------------- Results */

.bvc-results {
	display: grid;
	gap: var(--bvc-gap);
	animation: bvc-fade-up .45s ease-out both;
}

@keyframes bvc-fade-up {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: none; }
}

/* Score header: text left, score badge right. No absolute positioning, so the
   badge can never overlap neighbouring content at any score length. */

.bvc-scorecard {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 20px;
	padding: 22px 24px;
	background: var(--bvc-text);
	border-radius: var(--bvc-radius);
	color: #fff;
}

.bvc-scorecard__meta {
	flex: 1 1 260px;
	min-width: 0;
}

.bvc-score {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	padding: 10px 16px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--bvc-radius-sm);
	text-align: right;
}

.bvc-score__label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
	white-space: nowrap;
}

.bvc-score__figure {
	display: flex;
	align-items: baseline;
	gap: 1px;
	line-height: 1.1;
}

.bvc-score__value {
	font-size: 32px;
	font-weight: 800;
	/* Room for three digits without the badge changing width. */
	min-width: 2.4ch;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.bvc-score__total {
	font-size: 14px;
	font-weight: 600;
	opacity: .6;
}

.bvc-score.is-weak    .bvc-score__value { color: #fca5a5; }
.bvc-score.is-average .bvc-score__value { color: #fcd34d; }
.bvc-score.is-strong  .bvc-score__value { color: #6ee7b7; }

.bvc-badge {
	display: inline-block;
	padding: 4px 11px;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #c7d2fe;
	background: rgba(255, 255, 255, .12);
	border-radius: 999px;
}

.bvc-scorecard__band {
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}

.bvc-scorecard__url {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, .62);
	overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------- Cards */

.bvc-card {
	padding: 22px;
	background: var(--bvc-bg);
	border: 1px solid var(--bvc-border);
	border-radius: var(--bvc-radius);
}

/* The main issue is a finding, not an error — a warm accent rail reads as
   insight where a filled red panel read as an alert. */
.bvc-card--issue {
	background: var(--bvc-bg);
	border-color: var(--bvc-border);
	border-left: 3px solid var(--bvc-warn);
}

.bvc-card--issue .bvc-card__title {
	color: var(--bvc-warn);
}

.bvc-card__title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--bvc-text);
}

.bvc-card__body {
	margin: 0;
	font-size: 16px;
	color: #334155;
}

.bvc-card__lede {
	margin: 0 0 18px;
	font-size: 15px;
	color: var(--bvc-muted);
}

.bvc-list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: bvc-counter;
}

.bvc-list li {
	position: relative;
	counter-increment: bvc-counter;
	padding: 12px 0 12px 40px;
	font-size: 15px;
	color: #334155;
	border-top: 1px solid var(--bvc-border);
}

.bvc-list li:first-child {
	border-top: 0;
	padding-top: 4px;
}

.bvc-list li::before {
	content: counter(bvc-counter);
	position: absolute;
	left: 0;
	top: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	font-size: 13px;
	font-weight: 700;
	color: var(--bvc-accent);
	background: var(--bvc-accent-soft);
	border-radius: 50%;
}

.bvc-list li:first-child::before {
	top: 3px;
}

.bvc-list--improvements li::before {
	color: var(--bvc-success);
	background: var(--bvc-success-soft);
}

/* Teased observations: the server sends ~55% of each sentence, and the text
   itself fades out so it reads as withheld rather than merely short. */

.bvc-list--teaser .bvc-teaser {
	color: #334155;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.bvc-list--teaser .bvc-teaser {
		background: linear-gradient(90deg, #334155 0%, #334155 52%, rgba(51, 65, 85, .16) 100%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}
}

.bvc-list--teaser li {
	position: relative;
}

.bvc-list__hint {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 10px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--bvc-accent);
	background: var(--bvc-accent-soft);
	border-radius: 999px;
}

.bvc-list__hint::before {
	content: "";
	flex: none;
	width: 9px;
	height: 9px;
	border: 1.5px solid currentColor;
	border-bottom: 0;
	border-radius: 3px 3px 0 0;
	margin-bottom: -2px;
}

/* --------------------------------------------------------------- Locked */

.bvc-locked {
	position: relative;
	border: 1px solid var(--bvc-border);
	border-radius: var(--bvc-radius);
	overflow: hidden;
	background: var(--bvc-bg);
}

/* Withheld content, not a loading skeleton: softer, shorter, and fading out
   so it reads as "there is more here" rather than "this failed to load". */
.bvc-locked__preview {
	padding: 20px 24px 0;
	filter: blur(3px);
	opacity: .38;
	user-select: none;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}

.bvc-locked__line {
	display: block;
	height: 10px;
	margin-bottom: 12px;
	background: var(--bvc-border);
	border-radius: 999px;
}

.bvc-locked__line--short {
	width: 55%;
}

.bvc-locked__panel {
	position: relative;
	padding: 24px;
	margin-top: -18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .82) 0%, #fff 22%);
	text-align: center;
}

.bvc-locked__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 12px;
	color: var(--bvc-accent);
	background: var(--bvc-accent-soft);
	border-radius: 50%;
}

.bvc-locked__title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	color: var(--bvc-text);
}

.bvc-locked__message {
	margin: 0 auto 18px;
	max-width: 48ch;
	font-size: 15px;
	color: var(--bvc-muted);
}

.bvc-locked__items {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.bvc-locked__items li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	background: var(--bvc-surface);
	border: 1px solid var(--bvc-border);
	border-radius: 999px;
}

.bvc-locked__items li::before {
	content: "";
	width: 7px;
	height: 7px;
	background: var(--bvc-accent);
	border-radius: 50%;
	opacity: .55;
}

.bvc-unlock-form {
	max-width: 400px;
	margin: 0 auto;
	text-align: left;
}

/* ------------------------------------------------------------- Unlocked */

.bvc-unlocked {
	display: grid;
	gap: var(--bvc-gap);
	animation: bvc-fade-up .4s ease-out both;
}

.bvc-next-cta {
	margin: 0;
	padding: 16px 20px;
	font-size: 15px;
	font-weight: 600;
	color: #3730a3;
	background: var(--bvc-accent-soft);
	border-radius: var(--bvc-radius-sm);
}

/* -------------------------------------------------------------- Improve */

.bvc-improve {
	display: grid;
	gap: var(--bvc-gap);
	margin-top: var(--bvc-gap);
	animation: bvc-fade-up .4s ease-out both;
}

.bvc-card--improve {
	background: var(--bvc-surface);
}

.bvc-improve__done {
	padding: 8px 0;
	text-align: center;
}

.bvc-improve__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 12px;
	color: var(--bvc-success);
	background: var(--bvc-success-soft);
	border-radius: 50%;
}

.bvc-improve__message {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--bvc-text);
}

/* -------------------------------------------------------------- Booking */

/* Present, not pushy: quiet surface, one confident blue button. */
.bvc-booking {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px;
	background: var(--bvc-accent-soft);
	border: 1px solid #bfdbfe;
	border-radius: var(--bvc-radius);
}

.bvc-booking__title {
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--bvc-accent);
}

.bvc-booking__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--bvc-muted);
}

.bvc-booking .bvc-btn {
	flex: none;
}

.bvc-restart {
	justify-self: center;
	padding: 8px 4px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--bvc-muted);
	background: none;
	border: 0;
	border-bottom: 1px solid var(--bvc-border);
	cursor: pointer;
}

.bvc-restart:hover {
	color: var(--bvc-accent);
	border-bottom-color: var(--bvc-accent);
}

/* --------------------------------------------------------------- Alerts */

.bvc-alert {
	margin: 14px 0 0;
	padding: 12px 16px;
	font-size: 14px;
	border-radius: var(--bvc-radius-sm);
	border: 1px solid transparent;
}

.bvc-alert--error {
	color: #991b1b;
	background: var(--bvc-danger-soft);
	border-color: #fecaca;
}

.bvc-alert--success {
	margin: 0;
	color: #065f46;
	background: var(--bvc-success-soft);
	border-color: #a7f3d0;
}

.bvc-alert--notice {
	margin: 0;
	color: var(--bvc-warn);
	background: var(--bvc-warn-soft);
	border-color: #fde68a;
}

/* ---------------------------------------------------------- Responsive */

/* Score badge stacks below the platform label and band. */
@media (max-width: 600px) {
	.bvc-scorecard {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	/*
	 * Reset the flex shorthand. The 260px basis above is a WIDTH in the
	 * default row direction, but this block switches the main axis to
	 * vertical — leaving it would make the basis a 260px minimum HEIGHT and
	 * open a large gap between the URL and the score badge.
	 */
	.bvc-scorecard__meta {
		flex: 0 0 auto;
	}

	.bvc-score {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		text-align: left;
	}

	.bvc-score__label {
		white-space: normal;
	}
}

@media (max-width: 640px) {
	.bvc-widget {
		--bvc-gap: 20px;
		--bvc-space-top: 0px;
	}

	.bvc-hero {
		margin-bottom: 18px;
	}

	.bvc-field-row {
		flex-direction: column;
	}

	.bvc-field-row .bvc-btn {
		width: 100%;
	}

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

	.bvc-booking {
		flex-direction: column;
		text-align: center;
	}

	.bvc-booking .bvc-btn {
		width: 100%;
	}

	.bvc-url-form,
	.bvc-card,
	.bvc-locked__panel,
	.bvc-scorecard {
		padding: 18px;
	}
}

/* ------------------------------------------------------ Reduced motion */

@media (prefers-reduced-motion: reduce) {
	.bvc-widget *,
	.bvc-widget *::before,
	.bvc-widget *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
}

/* =========================================================================
   Phase 5 — pillar results, priority findings, complete-audit bridge
   ====================================================================== */

.bvc-pillars {
	margin: 0 0 20px;
	padding: 18px 20px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
}

.bvc-pillars__title {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
}

.bvc-pillars__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.bvc-pillar {
	display: grid;
	grid-template-columns: minmax(0, 9.5em) 1fr auto;
	align-items: center;
	gap: 12px;
	font-size: 14px;
}

.bvc-pillar__label {
	color: #334155;
}

.bvc-pillar__meter {
	position: relative;
	display: block;
	height: 8px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
}

.bvc-pillar__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: #4f46e5;
	transition: width .5s ease;
}

.bvc-pillar--strong .bvc-pillar__fill { background: #16a34a; }
.bvc-pillar--good   .bvc-pillar__fill { background: #4f46e5; }
.bvc-pillar--fair   .bvc-pillar__fill { background: #d97706; }
.bvc-pillar--weak   .bvc-pillar__fill { background: #dc2626; }

.bvc-pillar--unassessed .bvc-pillar__meter { background: #f1f5f9; }

.bvc-pillar__value {
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	white-space: nowrap;
}

.bvc-pillars__coverage {
	margin: 14px 0 0;
	font-size: 13px;
	color: #64748b;
}

.bvc-locked__gaps {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
}

/* ---- findings ---- */

.bvc-findings {
	margin: 0 0 24px;
}

.bvc-findings__title {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
}

.bvc-findings__lede {
	margin: 0 0 16px;
	font-size: 14px;
	color: #64748b;
}

.bvc-findings__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 14px;
	counter-reset: bvc-finding;
}

.bvc-finding {
	position: relative;
	padding: 16px 18px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-left: 3px solid #4f46e5;
	border-radius: 0 12px 12px 0;
	counter-increment: bvc-finding;
}

.bvc-finding__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.bvc-finding__pillar {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #4f46e5;
}

.bvc-finding__confidence {
	font-size: 11px;
	font-weight: 600;
	color: #92400e;
	background: #fef3c7;
	border-radius: 999px;
	padding: 2px 8px;
}

.bvc-finding__title {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35;
}

.bvc-finding__title::before {
	content: counter( bvc-finding ) ". ";
	color: #94a3b8;
}

.bvc-finding__part {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.6;
	color: #334155;
}

.bvc-finding__part:last-child {
	margin-bottom: 0;
}

.bvc-finding__label {
	font-weight: 700;
	color: #0f172a;
}

/* ---- the bridge to the paid audit ---- */

.bvc-deeper {
	margin: 24px 0 0;
	padding: 20px;
	background: #0f172a;
	border-radius: 14px;
	color: #e2e8f0;
}

.bvc-deeper__title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	color: #ffffff;
}

.bvc-deeper__body {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.65;
	color: #cbd5e1;
}

.bvc-deeper__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bvc-deeper__list li {
	font-size: 12px;
	font-weight: 600;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba( 255, 255, 255, .08 );
	color: #e2e8f0;
}

@media ( max-width: 480px ) {
	.bvc-pillar {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"label value"
			"meter meter";
		gap: 6px 12px;
	}

	.bvc-pillar__label { grid-area: label; }
	.bvc-pillar__value { grid-area: value; }
	.bvc-pillar__meter { grid-area: meter; }
}
