/* Locals — coverage page only. Builds on site.css and ui.css. */

/* Hero: market lookup window */

.cv-hero .crumbs {
	margin-bottom: 20px;
}

.cv-demo {
	position: relative;
	padding: 18px 34px 96px 0;
}

.cv-look {
	padding: 20px 22px 22px;
}

.cv-q {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 50px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--paper);
	box-shadow: 0 0 0 4px rgba(200, 241, 105, 0.28);
}

.cv-q svg {
	width: 18px;
	height: 18px;
	color: var(--muted);
	flex-shrink: 0;
}

.cv-q > span {
	flex: 1;
	display: flex;
	align-items: center;
	min-width: 0;
}

.cv-q b {
	font-size: 16px;
	font-weight: 650;
	white-space: nowrap;
}

.cv-q .caret {
	display: inline-block;
	width: 2px;
	height: 18px;
	margin-left: 2px;
	background: var(--forest);
	animation: blinkc 1s steps(1) infinite;
}

kbd {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
	background: var(--white);
	border: 1px solid var(--line);
	border-bottom-width: 2px;
	border-radius: 6px;
	padding: 1px 7px;
}

.cv-res {
	margin-top: 14px;
	border: 1px solid var(--paper-2);
	border-radius: 16px;
	padding: 18px;
	transition: opacity 0.3s ease, transform 0.4s var(--ease-out);
}

.cv-res.is-swap {
	opacity: 0.25;
	transform: translateY(6px);
}

.cv-res-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.cv-res-head .fl {
	width: 44px;
	height: 44px;
}

.cv-res-head h4 {
	font-size: 18px;
}

.cv-res-head small {
	display: block;
	font-family: var(--mono);
	font-size: 12.5px;
	color: var(--muted);
}

.cv-prods {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cv-prods li {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 11px 0;
	border-top: 1px solid var(--paper-2);
}

.cv-prods .ic-box {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: var(--paper);
	border: 1px solid var(--line);
	color: var(--forest);
}

.cv-prods .ic {
	width: 18px;
	height: 18px;
}

.cv-prods strong {
	display: block;
	font-size: 14.5px;
	letter-spacing: -0.01em;
}

.cv-prods small {
	display: block;
	font-size: 12.5px;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.status.cv-neutral {
	background: var(--paper);
	color: var(--ink-2);
	box-shadow: inset 0 0 0 1px var(--line);
}

.status.cv-none {
	background: transparent;
	color: var(--muted);
	box-shadow: inset 0 0 0 1px var(--line);
}

.status.cv-none::before {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px currentColor;
}

.cv-details {
	margin-top: 6px;
	padding: 12px 14px;
	border-radius: 12px;
	background:
		radial-gradient(120% 160% at 100% 0%, rgba(200, 241, 105, 0.3), transparent 60%),
		var(--forest);
	color: var(--white);
	transition: opacity 0.3s ease;
}

.cv-details small {
	display: block;
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 4px;
}

.cv-drow {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 12.5px;
}

.cv-drow span {
	color: rgba(255, 255, 255, 0.55);
}

.cv-drow b {
	font-family: var(--mono);
	font-size: 14px;
	font-weight: 600;
	margin-right: 14px;
}

.cv-details.is-preview {
	background: var(--paper);
	color: var(--ink);
	box-shadow: inset 0 0 0 1px var(--line);
}

.cv-details.is-preview small,
.cv-details.is-preview .cv-drow span {
	color: var(--muted);
}

.cv-details.is-none {
	background: transparent;
	color: var(--ink-2);
	box-shadow: inset 0 0 0 1px var(--line);
	border: 0;
}

.cv-details.is-none small {
	color: var(--muted);
}

.cv-details.is-none .cv-drow span {
	color: var(--ink-2);
}

.cv-recent {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	flex-wrap: wrap;
}

.cv-recent small {
	font-size: 12px;
	color: var(--muted);
	margin-right: 2px;
}

.cv-recent > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px 3px 3px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-2);
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cv-recent .fl {
	width: 20px;
	height: 20px;
}

.cv-recent > span.on {
	background: var(--forest);
	border-color: var(--forest);
	color: var(--white);
}

.cv-float {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 12px 12px;
	font-size: 14px;
	animation: cv-bob 6s ease-in-out infinite;
}

.cv-float strong {
	display: block;
	font-size: 14px;
	letter-spacing: -0.01em;
}

.cv-float small {
	display: block;
	font-size: 12.5px;
	color: var(--muted);
}

.cv-f-live {
	top: -40px;
	right: -14px;
}

.cv-f-early {
	left: -44px;
	bottom: 28px;
	animation-delay: -3s;
}

@keyframes cv-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

.cv-stack {
	display: inline-flex;
	flex-shrink: 0;
}

.cv-stack .fl {
	width: 28px;
	height: 28px;
	margin-left: -9px;
	box-shadow: 0 0 0 2px var(--white);
}

.cv-stack .fl:first-child {
	margin-left: 0;
}

/* Market table */

.cv-tools {
	display: grid;
	gap: 16px;
}

.cv-find {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 58px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--paper);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cv-find:focus-within {
	background: var(--white);
	border-color: var(--forest-3);
	box-shadow: 0 0 0 4px rgba(200, 241, 105, 0.45);
}

.cv-find svg {
	width: 20px;
	height: 20px;
	color: var(--muted);
	flex-shrink: 0;
}

.cv-find input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 17px;
	color: var(--ink);
	outline: none;
}

.cv-find input::placeholder {
	color: var(--muted);
}

.cv-chips {
	display: flex;
	justify-content: space-between;
	gap: 10px 24px;
	flex-wrap: wrap;
}

.cv-chips .filters {
	margin: 0;
}

.cv-chips .chip-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.cv-chips .chip-btn em {
	font-style: normal;
	font-family: var(--mono);
	font-size: 12px;
	opacity: 0.6;
}

.cv-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
}

.cv-dot.live { background: #3fae2a; }
.cv-dot.soon { background: var(--amber); }
.cv-dot.early { background: #b7b2a3; }

.cv-table-wrap {
	margin-top: 22px;
}

.cv-table {
	font-size: 15px;
}

.cv-table th:nth-child(1) { width: 32%; }
.cv-table th:nth-child(2) { width: 16%; }
.cv-table th:nth-child(3) { width: 34%; }

.cv-table td {
	padding: 12px 18px;
}

.cv-table tbody tr {
	transition: background 0.2s ease;
}

.cv-table tbody tr:hover {
	background: #fcfbf8;
}

.cv-table tr.is-live td:first-child {
	box-shadow: inset 3px 0 0 #3fae2a;
}

.cv-table tr.cv-in {
	animation: cv-in 0.4s var(--ease-out) both;
}

@keyframes cv-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

.cv-mkt {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cv-mkt .fl {
	width: 30px;
	height: 30px;
}

.cv-mkt strong {
	display: block;
	font-size: 15.5px;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.cv-mkt small {
	font-family: var(--mono);
	font-size: 12.5px;
	color: var(--muted);
}

.cv-reg {
	color: var(--ink-2);
}

.cv-acc {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.cv-acc small {
	color: var(--muted);
	font-size: 13.5px;
}

.cv-acc .cv-off {
	color: var(--muted);
	font-size: 14px;
}

.cv-table mark {
	background: rgba(200, 241, 105, 0.8);
	color: inherit;
	border-radius: 3px;
	padding: 0 1px;
}

.cv-empty {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 14px;
	padding: 22px 24px;
	border: 1.5px dashed var(--line);
	border-radius: 16px;
	background: var(--paper);
}

.cv-empty[hidden] {
	display: none;
}

.cv-empty strong {
	display: block;
	font-size: 17px;
}

.cv-empty span {
	color: var(--muted);
	font-size: 15px;
}

.cv-empty .btn {
	margin-left: auto;
}

.cv-q-flag {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	border: 1.5px dashed var(--forest-3);
	background: var(--white);
	color: var(--forest-3);
	font-family: var(--mono);
	font-weight: 700;
	font-size: 15px;
}

.cv-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 52px;
	margin-top: -1px;
	border: 1px solid var(--line);
	border-radius: 0 0 var(--radius) var(--radius);
	background: linear-gradient(180deg, #fcfbf8, var(--paper));
	font-family: inherit;
	font-size: 15px;
	font-weight: 650;
	color: var(--forest);
	cursor: pointer;
	transition: background 0.2s ease;
}

.cv-more:hover {
	background: var(--paper-2);
}

.cv-more[hidden] {
	display: none;
}

.cv-table-wrap.is-cut .cv-table {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.cv-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px 28px;
	flex-wrap: wrap;
	margin-top: 16px;
	font-size: 14px;
	color: var(--muted);
}

.cv-foot [data-cv-count] {
	font-family: var(--mono);
	font-size: 13px;
}

.cv-foot span:last-child {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.cv-foot .ic {
	width: 18px;
	height: 18px;
	color: var(--forest-3);
}

.cv-request {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 32px;
	align-items: center;
	margin-top: 64px;
	padding: 32px 36px;
	border-radius: 24px;
	border: 1px solid var(--line);
	background:
		radial-gradient(60% 140% at 0% 100%, rgba(200, 241, 105, 0.45), transparent 60%),
		var(--paper);
}

.cv-request h3 {
	margin-bottom: 8px;
}

.cv-request p {
	margin: 0;
	color: var(--ink-2);
	font-size: 16px;
	max-width: 560px;
}

.cv-request-flags {
	display: flex;
}

.cv-request-flags .fl,
.cv-request-flags .cv-q-flag {
	width: 48px;
	height: 48px;
	margin-left: -14px;
	box-shadow: 0 0 0 3px var(--paper);
}

.cv-request-flags .fl:first-child {
	margin-left: 0;
}

.cv-request-flags .cv-q-flag {
	font-size: 18px;
	animation: cv-bob 4s ease-in-out infinite;
}

/* What live means */

.cv-states {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.cv-state {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 26px;
}

.cv-state.is-live {
	border-color: #cfe9b4;
	background: linear-gradient(180deg, #f5fbec, var(--white) 55%);
}

.cv-state-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
}

.cv-state .ic-box {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: var(--forest);
	color: var(--lime);
	--ic-fill: rgba(200, 241, 105, 0.22);
}

.cv-state .ic-box .ic {
	width: 24px;
	height: 24px;
}

.cv-state.is-soon .ic-box {
	background: #fbefd6;
	color: #7a4f05;
	--ic-fill: rgba(242, 179, 61, 0.3);
}

.cv-state.is-early .ic-box {
	background: var(--paper);
	color: var(--forest-3);
	box-shadow: inset 0 0 0 1px var(--line);
	--ic-fill: rgba(200, 241, 105, 0.55);
}

.cv-state.is-live .status::before {
	animation: blink 2s ease-in-out infinite;
}

.cv-state h3 {
	font-size: 22px;
	margin-bottom: 10px;
}

.cv-state p {
	color: var(--ink-2);
	font-size: 15.5px;
}

.cv-can {
	list-style: none;
	margin: 4px 0 22px;
	padding: 0;
}

.cv-can li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-top: 1px solid var(--paper-2);
	font-size: 14.5px;
	font-weight: 600;
}

.cv-can .ic {
	width: 19px;
	height: 19px;
	color: var(--forest-3);
}

.cv-state-flags {
	margin-top: auto;
	display: flex;
	align-items: center;
}

.cv-state-flags .fl {
	width: 28px;
	height: 28px;
	margin-left: -8px;
	box-shadow: 0 0 0 2px var(--white);
}

.cv-state-flags > .fl:first-child {
	margin-left: 0;
}

.cv-state-flags em {
	font-style: normal;
	font-family: var(--mono);
	font-size: 12.5px;
	color: var(--muted);
	margin-left: 12px;
}

.cv-api {
	margin-top: 80px;
}

.cv-api h3 {
	font-size: clamp(28px, 2.8vw, 40px);
	margin-bottom: 16px;
}

.cv-api > * {
	min-width: 0;
}

.cv-api pre {
	white-space: pre-wrap;
}

.cv-api p {
	color: var(--ink-2);
	max-width: 520px;
}

/* Cards eligibility */

.cv-cardcheck {
	position: relative;
	min-height: 520px;
}

.cv-elig {
	width: min(420px, 88%);
	background: var(--white);
	color: var(--ink);
	border-radius: 22px;
	padding: 22px;
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

.cv-elig-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.cv-elig-head strong {
	display: block;
	font-size: 15.5px;
}

.cv-elig-head small {
	display: block;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
}

.cv-elig-head .state {
	margin-left: auto;
}

.cv-elig .kyc-steps {
	flex-direction: column;
	margin: 0;
	gap: 8px;
}

.cv-elig .kyc-step {
	border-radius: 14px;
}

.cv-card.card-visual {
	right: 0;
	bottom: 0;
	width: 280px;
	transform: rotate(-6deg);
	transition: transform 0.4s var(--ease-out);
}

.cv-card .brandmark {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 17px;
	--mk-a: var(--paper);
	--mk-c: var(--lime);
}

.cv-card .brandmark svg {
	width: 18px;
	height: 18px;
}

/* Responsive */

@media (max-width: 1080px) {
	.cv-demo {
		max-width: 640px;
	}

	.cv-states {
		grid-template-columns: 1fr;
	}

	.cv-request {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.cv-request .btn {
		justify-self: start;
	}
}

@media (max-width: 680px) {
	.cv-pill-note {
		display: none;
	}

	.cv-demo {
		padding: 0 0 24px;
	}

	.cv-float {
		display: none;
	}

	.cv-look {
		padding: 16px;
	}

	.cv-prods small {
		white-space: normal;
	}

	.cv-recent small {
		display: none;
	}

	.cv-table thead {
		display: none;
	}

	.cv-table,
	.cv-table tbody,
	.cv-table tr,
	.cv-table td {
		display: block;
		width: 100%;
	}

	.cv-table-wrap .cv-table {
		min-width: 0;
	}

	.cv-table tbody tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px 14px;
		padding: 16px;
		border-bottom: 1px solid var(--paper-2);
	}

	.cv-table tbody tr:last-child {
		border-bottom: 0;
	}

	.cv-table td {
		padding: 0;
		border: 0;
	}

	.cv-table td:first-child {
		grid-column: 1 / -1;
	}

	.cv-table td[data-label]::before {
		content: attr(data-label);
		display: block;
		font-size: 11px;
		font-weight: 650;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--muted);
		margin-bottom: 4px;
	}

	.cv-table td.cv-reg {
		order: 3;
		grid-column: 1 / -1;
		display: none;
	}

	.cv-table tr.is-live td:first-child {
		box-shadow: none;
	}

	.cv-find kbd {
		display: none;
	}

	.cv-empty {
		flex-wrap: wrap;
	}

	.cv-empty .btn {
		margin-left: 0;
	}

	.cv-request {
		padding: 26px 22px;
	}

	.cv-cardcheck {
		min-height: 0;
	}

	.cv-elig {
		width: 100%;
	}

	.cv-card.card-visual {
		position: relative;
		margin: -30px 6px 0 auto;
		width: 230px;
	}
}

/* Screenshots and reduced motion: final state, no loops */

.shot .cv-float,
.shot .cv-q .caret,
.shot .cv-request-flags .cv-q-flag,
.shot .cv-state.is-live .status::before,
.shot .cv-table tr.cv-in {
	animation: none;
}

@media (prefers-reduced-motion: reduce) {
	.cv-float,
	.cv-q .caret,
	.cv-request-flags .cv-q-flag,
	.cv-state.is-live .status::before,
	.cv-table tr.cv-in {
		animation: none;
	}
}
