/*
 * AH Trust Panel: sector chips and the registration seal card.
 * Light by default (ivory or sand containers); .ah-on-dark for navy.
 */
.ah-trust {
	display: grid;
	gap: 16px;
	min-width: 0;
	font-family: var(--ah-f-body);
	line-height: 1.75;
	color: var(--ah-ink);
}

/* sector chips */
.ah-trust .ah-trust__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ah-trust .ah-trust__item { margin: 0; padding: 0; }
.ah-trust .ah-trust__item::marker { content: none; }
.ah-trust .ah-trust__chip {
	display: inline-block;
	padding: 3px 11px;
	border: 1px solid var(--ah-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .5);
	font-family: var(--ah-f-body);
	font-size: .82rem;
	font-weight: 400;
	line-height: 1.75;
	letter-spacing: 0;
	color: var(--ah-ink);
	text-decoration: none;
	white-space: nowrap;
}
.ah-trust a.ah-trust__chip {
	transition: border-color .3s, background-color .3s, color .3s, translate .35s var(--ah-spring);
}
.ah-trust a.ah-trust__chip:hover,
.ah-trust a.ah-trust__chip:focus-visible {
	border-color: var(--ah-gold);
	background: var(--ah-paper);
	color: var(--ah-ink-gold);
	translate: 0 -2px;
}

/* registration seal */
.ah-trust .ah-trust__seal {
	display: flex;
	gap: 14px;
	align-items: center;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--ah-line);
	border-radius: 6px;
	background: rgba(255, 255, 255, .6);
	color: var(--ah-ink);
	text-decoration: none;
}
.ah-trust a.ah-trust__seal {
	transition: border-color .3s, background-color .3s, box-shadow .4s, translate .4s var(--ah-spring);
}
.ah-trust a.ah-trust__seal:hover,
.ah-trust a.ah-trust__seal:focus-visible {
	border-color: var(--ah-gold);
	background: var(--ah-paper);
	color: var(--ah-ink);
	box-shadow: 0 18px 30px -24px rgba(15, 27, 60, .55);
	translate: 0 -2px;
}
.ah-trust .ah-trust__mark {
	flex: none;
	display: block;
	width: 52px;
	height: 52px;
	overflow: visible;
	color: var(--ah-ink-gold);
}
.ah-trust .ah-trust__mark circle,
.ah-trust .ah-trust__mark path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.ah-trust .ah-trust__ring { stroke-width: 1.5; transform: rotate(-90deg); transform-origin: 26px 26px; }
.ah-trust .ah-trust__dots { stroke-width: .8; stroke-dasharray: 2 3; }
.ah-trust .ah-trust__tick { stroke-width: 2.4; }
.ah-trust .ah-trust__copy { display: grid; min-width: 0; }
.ah-trust .ah-trust__title {
	font-family: var(--ah-f-display);
	font-weight: 800;
	font-size: 1.02rem;
	line-height: 1.75;
	letter-spacing: 0;
	color: inherit;
}
.ah-trust .ah-trust__text {
	font-size: .9rem;
	line-height: 1.75;
	color: var(--ah-muted);
}
.ah-trust .ah-trust__go { flex: none; display: grid; margin-inline-start: auto; color: var(--ah-ink-gold); }
.ah-trust .ah-trust__go svg { width: 16px; height: 16px; transition: translate .35s var(--ah-ease); }
[dir="rtl"] .ah-trust .ah-trust__go svg { scale: -1 1; }
.ah-trust a.ah-trust__seal:hover .ah-trust__go svg { translate: calc(var(--ah-dir) * 5px) 0; }

.ah-trust a:focus-visible { outline: 2px solid var(--ah-gold); outline-offset: 3px; }

/* the seal draws itself after the panel rises (only when JS runs: ah-motion) */
.ah-motion .ah-trust.ah-rv .ah-trust__ring { transition: stroke-dashoffset 1.3s var(--ah-ease) .35s; }
.ah-motion .ah-trust.ah-rv .ah-trust__tick { transition: stroke-dashoffset .7s var(--ah-ease) 1.2s; }

/* dark background */
.ah-trust.ah-on-dark { color: var(--ah-on-navy); }
.ah-trust.ah-on-dark .ah-trust__chip { border-color: var(--ah-line-navy); background: rgba(255, 255, 255, .04); color: var(--ah-on-navy); }
.ah-trust.ah-on-dark a.ah-trust__chip:hover,
.ah-trust.ah-on-dark a.ah-trust__chip:focus-visible { border-color: var(--ah-gold-hi); background: rgba(255, 255, 255, .08); color: var(--ah-gold-hi); }
.ah-trust.ah-on-dark .ah-trust__seal { border-color: var(--ah-line-navy); background: rgba(255, 255, 255, .04); color: var(--ah-on-navy); }
.ah-trust.ah-on-dark a.ah-trust__seal:hover,
.ah-trust.ah-on-dark a.ah-trust__seal:focus-visible { border-color: var(--ah-gold-hi); background: rgba(255, 255, 255, .08); color: var(--ah-on-navy); box-shadow: none; }
.ah-trust.ah-on-dark .ah-trust__mark,
.ah-trust.ah-on-dark .ah-trust__go { color: var(--ah-gold-hi); }
.ah-trust.ah-on-dark .ah-trust__text { color: var(--ah-on-navy-muted); }

@media (max-width: 767px) {
	.ah-trust .ah-trust__seal { gap: 12px; padding: 12px 14px; }
	.ah-trust .ah-trust__mark { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	.ah-trust a.ah-trust__chip,
	.ah-trust a.ah-trust__seal,
	.ah-trust .ah-trust__go svg { transition: none; }
	.ah-trust a.ah-trust__chip:hover,
	.ah-trust a.ah-trust__seal:hover { translate: none; }
	.ah-motion .ah-trust.ah-rv .ah-draw { stroke-dashoffset: 0; transition: none; }
}
