/**
 * Shared homepage sections reused across pages (MFSA, newsletter, app download).
 * Tokens from base.css (--xc-*). Enqueued on front page + hub templates that
 * include the partials.
 */

/* ---------- Regulation / MFSA — Figma 864:6791 / 864:7605 ---------- */
.xc-reg {
	background: var(--xc-rich-black);
	padding: 32px 0;
}
.xc-reg .xc-container {
	max-width: 1240px;
}
.xc-reg-card {
	position: relative;
	border-radius: 30px;
	border: 1px solid rgba(249, 253, 255, .1);
	background: transparent;
}
.xc-reg-card__inner {
	position: relative;
	overflow: hidden;
	border-radius: inherit;
	min-height: 286px;
	background: linear-gradient(143deg, var(--xc-rich-black) 18%, var(--xc-true-blue) 82%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 64px;
}
.xc-reg-card__glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
	background: radial-gradient(circle, rgba(26, 156, 252, .35) 0%, rgba(26, 156, 252, 0) 68%);
}
.xc-reg-card__glow--a {
	width: min(70vw, 720px);
	height: min(70vw, 720px);
	left: -28%;
	top: -55%;
	opacity: .55;
}
.xc-reg-card__glow--b {
	width: min(55vw, 560px);
	height: min(55vw, 560px);
	right: -18%;
	bottom: -60%;
	opacity: .4;
}
.xc-reg-card__coin {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	line-height: 0;
}
.xc-reg-card__coin img {
	display: block;
	width: 100%;
	height: auto;
}
.xc-reg-card__coin--tl {
	top: -72px;
	left: -110px;
	width: 271px;
}
.xc-reg-card__coin--br {
	bottom: -90px;
	right: -70px;
	width: 246px;
	transform: scaleX(-1);
}
.xc-reg-card__copy {
	position: relative;
	z-index: 2;
	max-width: 824px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}
.xc-reg-card__copy h2 {
	font-family: var(--xc-display);
	font-weight: 800;
	font-size: 44px;
	line-height: 1;
	letter-spacing: 0;
	color: var(--xc-off-white);
	margin: 0;
	max-width: 824px;
	overflow-wrap: break-word;
}
.xc-reg-card__copy .xc-reg-card__fine {
	margin: 0;
	max-width: 690px;
	font-family: var(--xc-body);
	font-size: 16px;
	line-height: 1.25;
	font-weight: 400;
	color: var(--xc-soft-white);
}

@media (max-width: 860px) {
	.xc-reg {
		padding: 32px 0;
	}
	.xc-reg-card {
		border-radius: 20px;
		border: 0;
	}
	.xc-reg-card__inner {
		min-height: 381px;
		padding: 44px 28px 120px;
		align-items: flex-start;
		background: linear-gradient(75deg, var(--xc-true-blue) 17%, var(--xc-rich-black) 82%);
	}
	.xc-reg-card__glow--a {
		left: -40%;
		top: -30%;
		opacity: .4;
	}
	.xc-reg-card__glow--b {
		right: -30%;
		bottom: -20%;
		opacity: .35;
	}
	.xc-reg-card__coin--tl {
		top: auto;
		bottom: -28px;
		left: -52px;
		width: 151px;
	}
	.xc-reg-card__coin--br {
		top: auto;
		bottom: -28px;
		right: -40px;
		width: 151px;
		transform: none;
	}
	.xc-reg-card__copy {
		gap: 18px;
		max-width: 100%;
	}
	.xc-reg-card__copy h2 {
		font-size: 24px;
	}
	.xc-reg-card__copy .xc-reg-card__fine {
		max-width: 100%;
	}
}

/* ---------- Newsletter band — Figma 864:6800 / 864:7448 ---------- */
.xc-nl-band {
	position: relative;
	background: var(--xc-rich-black);
	padding: 48px 0;
}
.xc-nl-band .xc-container {
	max-width: 1240px;
}
.xc-nl-band__row {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: 32px;
	align-items: center;
}
.xc-nl-band__copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.xc-nl-band__copy h2 {
	font-family: var(--xc-display);
	font-weight: 700;
	font-size: 32px;
	line-height: 1;
	letter-spacing: 0;
	color: var(--xc-off-white);
	margin: 0;
	overflow-wrap: break-word;
}
.xc-nl-band__copy p {
	margin: 0;
	max-width: 480px;
	font-family: var(--xc-body);
	font-size: 16px;
	line-height: 1.25;
	font-weight: 400;
	color: var(--xc-slate);
}
.xc-nl-band__form-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}
.xc-nl-band .nl-form {
	display: flex;
	gap: 8px;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	background: rgba(0, 0, 0, .3);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 999px;
	padding: 7px 7px 7px 19px;
}
.xc-nl-band .nl-form input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	background: transparent;
	border: none;
	outline: none;
	color: var(--xc-off-white);
	font-family: var(--xc-body);
	font-size: 14px;
	line-height: 1.25;
	padding: 10px 0;
}
.xc-nl-band .nl-form input[type="email"]::placeholder {
	color: var(--xc-slate);
}
.xc-nl-band .nl-form button[type="submit"] {
	flex: 0 0 auto;
	background: var(--xc-true-blue);
	color: #fff;
	border: none;
	border-radius: 999px;
	font-family: var(--xc-display);
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	padding: 16px 24px;
	cursor: pointer;
}
.xc-nl-band .nl-form button[type="submit"]:hover {
	background: var(--xc-primary-hover);
}
.xc-nl-band .nl-form button[type="submit"]:focus-visible {
	outline: 2px solid var(--xc-off-white);
	outline-offset: 2px;
}
.xc-nl-band .nl-fine {
	margin: 0;
	max-width: none;
	font-size: 14px;
	line-height: 1.25;
	font-weight: 400;
	color: var(--xc-slate);
}
.xc-nl-band .nl-fine a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.xc-nl-band .nl-fine a:hover {
	color: var(--xc-soft-white);
}

@media (max-width: 860px) {
	.xc-nl-band {
		padding: 32px 0;
	}
	.xc-nl-band__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		align-items: stretch;
	}
	.xc-nl-band__copy {
		gap: 16px;
	}
	.xc-nl-band__copy h2 {
		font-size: 20px;
		line-height: 1;
	}
	.xc-nl-band__copy p {
		max-width: 100%;
	}
	.xc-nl-band__form-wrap {
		gap: 16px;
		width: 100%;
		max-width: 100%;
	}
	/* Figma mobile 1173:18173 — form 344×60; input 197×38; button 113×46 */
	.xc-nl-band .nl-form {
		height: 60px;
		min-height: 60px;
		padding: 7px 7px 7px 19px;
		gap: 8px;
	}
	.xc-nl-band .nl-form input[type="email"] {
		box-sizing: border-box;
		height: 38px;
		padding: 0;
		font-size: 14px;
		line-height: 38px;
	}
	.xc-nl-band .nl-form button[type="submit"] {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		height: 46px;
		min-width: 113px;
		padding: 0 24px;
		font-size: 14px;
		line-height: 1;
	}
}

/* ---------- App download — Figma 864:6665 / 864:7328 ---------- */
.app-block {
	background: var(--xc-rich-black);
	padding: 32px 0;
}
.app-block .xc-container {
	max-width: 1240px;
}
.app-card {
	position: relative;
	overflow: hidden;
	background: var(--xc-true-blue);
	border-radius: 20px;
	min-height: 431px;
	display: flex;
	align-items: center;
	padding: 48px 64px;
	box-shadow: inset 0 8px 20px rgba(255, 255, 255, .12);
}
.app-card__visual {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
	pointer-events: none;
}
.app-card__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, var(--xc-true-blue) 0%, rgba(1, 90, 223, .55) 22%, rgba(1, 90, 223, 0) 48%);
}
.app-card__content {
	position: relative;
	z-index: 1;
	max-width: 621px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.app-card__copy {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.app-block h2 {
	font-family: var(--xc-display);
	font-weight: 800;
	font-size: 44px;
	line-height: 1;
	color: var(--xc-off-white);
	margin: 0;
}
.app-block p {
	color: #cfd6e2;
	max-width: 494px;
	margin: 0;
	font-size: 16px;
	line-height: 1.25;
}
.app-card__actions {
	display: flex;
	align-items: flex-end;
	gap: 24px;
}
.app-qr {
	width: 122px;
	height: 118px;
	flex: 0 0 122px;
	background: #fff;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1px;
	transition: opacity .15s ease;
}
.app-qr:hover,
.app-qr:focus-visible {
	opacity: .92;
}
.app-qr:focus-visible {
	outline: 2px solid var(--xc-off-white);
	outline-offset: 3px;
}
.app-qr img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.app-badges {
	display: flex;
	flex-direction: column;
	gap: 9px; /* Figma 864:6676 ≈ 8.8 */
}
.app-badge {
	display: block;
	line-height: 0;
	/* Clip any leftover opaque corners; radius matches Figma badge shape. */
	border-radius: 8px;
	overflow: hidden;
	transition: opacity .15s ease;
}
.app-badge:hover,
.app-badge:focus-visible {
	opacity: .88;
}
.app-badge:focus-visible {
	outline: 2px solid var(--xc-off-white);
	outline-offset: 3px;
}
/* Figma 864:6677 / 864:6712 — 173.2×57.9 and 174×51.7 */
.app-badge img {
	display: block;
	width: 174px;
	height: auto;
}
.app-badge--apple img {
	width: 173px;
	height: 58px;
}
.app-badge--google img {
	width: 174px;
	height: 52px;
}

@media (max-width: 860px) {
	.app-card {
		min-height: 580px;
		padding: 32px 16px 0;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
	}
	.app-card__content {
		max-width: 100%;
		width: 100%;
	}
	.app-card__visual {
		inset: auto;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 211px;
		object-fit: cover;
		object-position: center bottom;
		-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
		mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
	}
	.app-card__overlay {
		background: linear-gradient(
			180deg,
			var(--xc-true-blue) 0%,
			var(--xc-true-blue) calc(100% - 211px),
			rgba(1, 90, 223, .55) calc(100% - 211px + 20px),
			rgba(1, 90, 223, 0) calc(100% - 211px + 56px)
		);
	}
	.app-block h2 {
		font-size: 40px;
	}
	.app-block p {
		max-width: 311px;
	}
	.app-qr {
		display: none;
	}
	.app-card__actions {
		justify-content: flex-start;
	}
	.app-badges {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 11px; /* Figma 864:7336 */
	}
	/* Figma 864:7337 / 864:7372 — 141×47 and 159×47 */
	.app-badge--apple img {
		width: 141px;
		height: 47px;
	}
	.app-badge--google img {
		width: 159px;
		height: 47px;
	}
}

/* ---------- Fees band — shared, static copy (currently used by T1) ---------- */
/* Fees band — Figma 868:12708 (T1 desktop) / 868:11879 (mobile) */
.xc-fees-band {
	position: relative;
	background: var(--xc-rich-black, #111620);
	padding: 64px 0;
}
.xc-fees-band__card {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 160px;
	box-sizing: border-box;
	padding: 16px 32px;
	/* Figma Overlay+Border: #F9FDFF @ 5% fill + 10% stroke + glass glint */
	background: rgba(249, 253, 255, .05);
	border: 1px solid rgba(249, 253, 255, .1);
	border-radius: 12px;
}
/* Glass glint (same recipe as .glass-border) — on the card so cached HTML works
   before regenerate adds the class. When .glass-border is also present, both
   ::before rules match; this selector wins on specificity and is identical. */
.xc-fees-band__card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	pointer-events: none;
	z-index: 2;
	background:
		radial-gradient(circle at 0% 0%, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .32) 3%, rgba(255, 255, 255, .14) 45%, transparent 52%),
		radial-gradient(circle at 100% 100%, rgba(255, 255, 255, .4) 3%, rgba(255, 255, 255, .16) 43%, transparent 46%),
		linear-gradient(135deg, rgba(249, 253, 255, .12) 50%, rgba(249, 253, 255, .14) 50%, rgba(249, 253, 255, .22) 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}
/* Blue glow behind Zzz — ::after so it doesn't fight the glass ::before */
.xc-fees-band__card::after {
	content: "";
	position: absolute;
	right: -8%;
	top: -80%;
	width: 84%;
	height: 280%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(26, 156, 252, .22) 0%, transparent 62%);
	pointer-events: none;
	z-index: 0;
}
.xc-fees-band__copy {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-width: 0;
	max-width: 720px;
}
.xc-fees-band h2 {
	font-family: var(--xc-display);
	font-weight: 800;
	font-size: 24px;
	line-height: 36px;
	letter-spacing: -.24px;
	color: var(--xc-off-white);
	max-width: none;
	margin: 0 0 12px;
	font-variation-settings: "wdth" 100;
}
.xc-fees-band__body {
	margin: 0;
	max-width: 591px;
	color: #cfd6e2;
	font-family: var(--xc-body);
	font-size: 16px;
	line-height: 1.25;
}
.xc-fees-band__body a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.xc-fees-band__body a:hover {
	color: var(--xc-bright-blue);
}
.xc-fees-band__art {
	position: relative;
	z-index: 1;
	flex: 0 0 258px;
	width: 258px;
	height: 160px;
	pointer-events: none;
}
.xc-fees-band__art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right center;
}
@media (max-width: 960px) {
	.xc-fees-band {
		padding: 32px 0;
	}
	.xc-fees-band__card {
		display: block;
		min-height: 283px;
		padding: 24px;
		border-radius: 12px;
	}
	.xc-fees-band__copy {
		max-width: none;
	}
	.xc-fees-band h2 {
		font-weight: 700;
		font-size: 18px;
		line-height: 1;
		letter-spacing: 0;
		margin: 0 0 8px;
	}
	.xc-fees-band__body {
		max-width: 212px;
		color: var(--xc-slate, #788196);
	}
	.xc-fees-band__art {
		position: absolute;
		right: 0;
		bottom: 0;
		width: 220px;
		height: 147px;
		flex: none;
		margin: 0;
		z-index: 1;
	}
}

/* ---------- FAQ accordion — Figma 864:8209 / 864:8833 ----------
   Shared by buy/sell/country/payment hubs + T1 (template-parts/faq-section.php). */
.buy-section__eyebrow {
	display: block;
	margin: 0 0 12px;
	font-family: var(--xc-body);
	font-size: 14px;
	line-height: 1.25;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--xc-bright-blue);
}
.xc-faq {
	padding: 64px 0;
	max-width: none;
}
.xc-faq .xc-container {
	padding-inline: 0;
}
@media (max-width: 1295px) {
	.xc-faq .xc-container {
		padding-inline: 28px;
	}
}
.xc-faq__layout {
	display: grid;
	grid-template-columns: minmax(0, 397px) minmax(0, 1fr);
	gap: 25px;
	align-items: start;
}
.xc-faq__intro {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 397px;
}
.xc-faq__intro .buy-section__eyebrow {
	margin: 0;
}
.xc-faq__intro h2 {
	margin: 0;
	font-family: var(--xc-display);
	font-weight: 800;
	font-size: 44px;
	line-height: 1;
	color: var(--xc-off-white);
	font-variation-settings: "wdth" 100;
}
.xc-faq__list {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 821px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}
.xc-faq__item {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 16px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	background: transparent;
	border-radius: 0;
	border-left: 0;
	border-right: 0;
	border-top: 0;
	margin: 0;
}
.xc-faq__item.is-open {
	gap: 12px;
}
.xc-faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	color: var(--xc-off-white);
	font-family: var(--xc-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
}
.xc-faq__q::after { content: none; }
.xc-faq__q-text {
	flex: 1 1 auto;
	min-width: 0;
}
.xc-faq__q:hover {
	color: var(--xc-bright-blue);
}
/* Figma +/− (stroke 2, round caps) — open = minus, closed = plus */
.xc-faq__icon {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	position: relative;
	color: var(--xc-off-white);
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M17 9H1' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9 17V1' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M17 9H1' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9 17V1' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.xc-faq__q:hover .xc-faq__icon {
	color: inherit;
}
.xc-faq__icon::before,
.xc-faq__icon::after {
	content: none;
}
.xc-faq__item.is-open .xc-faq__icon {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M17 9H1' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M17 9H1' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.xc-faq__a {
	display: none;
	margin: 0;
	padding: 0;
	max-width: 670px;
	font-family: var(--xc-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.25;
	color: #cfd6e2;
}
.xc-faq__item.is-open .xc-faq__a {
	display: block;
}
/* The answer is a <div> so admin HTML can use block tags (see faq-section.php).
   Collapse the outer margins those children bring so a <p>-wrapped answer sits
   exactly where a plain-text one does. */
.xc-faq__a > :first-child {
	margin-top: 0;
}
.xc-faq__a > :last-child {
	margin-bottom: 0;
}
@media (max-width: 960px) {
	.xc-faq {
		padding: 32px 0;
	}
	.xc-faq .xc-container {
		padding-inline: 16px;
	}
	.xc-faq__layout {
		grid-template-columns: 1fr;
		gap: 25px;
		justify-content: stretch;
	}
	.xc-faq__intro {
		max-width: none;
	}
	.xc-faq__intro h2 {
		font-size: 24px;
		max-width: none;
	}
	.xc-faq__list {
		max-width: none;
	}
	.xc-faq__a {
		max-width: none;
	}
}

/* ==========================================================================
   Pill links — template-parts/pill-links.php (.xc-pills)
   Figma 591:851 (D) / 591:537 (M). Lives here rather than in a per-type
   stylesheet because both sell templates render it (T5 "Sell other
   cryptocurrencies" / "More with your Bitcoin", T6 "Sell a specific coin" /
   "Rates & tools").

   Every rule that paints an <a> or an <h2> is scoped to TWO classes
   (.xc-pills .xc-pills__x). That is deliberate: this file is enqueued inside
   wp_head() while the per-type xcoins-t{N}.css is a <link> AFTER it, so a
   single-class rule here would lose the tie to `.xc-t5 h2` / `.xcoins-main a`
   (both 0,1,1) purely on load order. Two classes wins outright, in any order,
   and without needing an .xcoins-main ancestor — so the partial also works on
   a real hub Page.
   ========================================================================== */
.xc-pills {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
/* 24px between stacked pill groups (Figma container gap-24). */
.xc-pills + .xc-pills { margin-top: 24px; }
/* Figma "Header 2 - D": Saira Bold 32/1 — deliberately smaller and lighter than
   the ExtraBold 44px used by the other section headings. */
.xc-pills .xc-pills__heading {
	font-family: var(--display);
	font-weight: 700;
	font-size: 32px;
	line-height: 1;
	letter-spacing: 0;
	margin: 0 0 24px;
	color: var(--off-white);
	font-variation-settings: "wdth" 100;
}
.xc-pills .xc-pills__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
}
/* Figma 591:862 — 40px total including the 1px border, so the box is sized by
   min-height + centred text rather than 12px block padding (which would make it
   42px: 12 + 16 line-height + 12 + 2 border). Labels are Soft White, NOT
   link-blue. */
.xc-pills .xc-pills__pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 40px;
	padding: 0 20px;
	border: 1px solid var(--slate);
	border-radius: 21.5px;
	font-family: var(--display);
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	color: var(--soft-white);
	text-decoration: none;
	white-space: nowrap;
	font-variation-settings: "wdth" 100;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.xc-pills .xc-pills__pill:hover,
.xc-pills .xc-pills__pill:focus-visible {
	border-color: var(--bright-blue);
	background: rgba(26, 156, 252, .1);
	color: var(--off-white);
	text-decoration: none;
}
.xc-pills .xc-pills__all {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 16px;
	padding: 10px 0;
	font-family: var(--display);
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	color: var(--bright-blue);
	text-decoration: none;
	font-variation-settings: "wdth" 100;
}
.xc-pills .xc-pills__all:hover { text-decoration: underline; }
.xc-pills .xc-pills__arrow { display: block; width: 16px; height: 16px; flex: 0 0 16px; }

@media (max-width: 960px) {
	.xc-pills .xc-pills__heading { font-size: 24px; margin-bottom: 16px; }
	.xc-pills + .xc-pills { margin-top: 32px; }
	/* Long labels ("Convert BTC to USD") must wrap rather than force a scrollbar. */
	.xc-pills .xc-pills__pill { white-space: normal; text-align: center; }
}

/* =============================================================================
 * SHARED SECTION PRIMITIVES + SOCIAL PROOF
 *
 * Moved out of front-page.php's inline <style> so template-parts/social-proof.php
 * works on any page, not just the homepage. It was inline-only, which meant the
 * extracted partial rendered unstyled everywhere else.
 *
 * .wf-section / .section-head / .eyebrow / .subhead are the section rhythm the
 * homepage established; the .social-proof/.stat/.review/.rating-bar rules are the
 * reviews.io section itself. Homepage-only sections (.hero, .pay-strip, .blog,
 * .products, legacy .reg/.newsletter) deliberately stayed inline — /app/ and the
 * hubs use the xc-* partials, which are styled above.
 *
 * The `.section-head h2` font-family declaration below is intentionally repeated
 * rather than moved: on the homepage it lives in a multi-selector rule alongside
 * .hero h1 / .blog-card h3, which has no business shipping to other templates.
 * theme.json's global h2 style is unlayered and would otherwise win.
 * ========================================================================== */
.section-head h2 {
	font-family: var(--display);
	font-weight: 800;
}
.wf-section{
    position:relative;
    padding:64px 0;
  }
  .wf-section .container{max-width:var(--maxw);margin:0 auto;padding:0 28px}
  .section-head{margin-bottom:36px;display:flex;align-items:end;justify-content:space-between;gap:24px;flex-wrap:wrap}
  .section-head .eyebrow{font-size:14px;color:var(--bright-blue);letter-spacing:2px;text-transform:uppercase;margin-bottom:12px;display:block}
  .section-head .subhead{font-family:var(--body);font-weight:400;font-size:16px;line-height:1.25;color:#cfd6e2;max-width:820px;margin:16px 0 0}

  /* -----------------------------
     5. SOCIAL PROOF — Figma 864:6491 (desktop) / 864:7223 (mobile)
     ----------------------------- */
  .social-proof{background:var(--rich-black)}
  .social-proof > .container{
    display:flex;flex-direction:column;gap:40px;
  }
  .social-proof .section-head{
    margin:0;max-width:820px;width:100%;
    display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
    gap:0;
  }
  .social-proof .section-head__copy{
    display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%;
  }
  .social-proof .section-head .eyebrow{
    display:block;margin:0 0 12px;
    font-family:var(--body);font-weight:400;font-size:14px;line-height:1.25;
    letter-spacing:2px;text-transform:uppercase;color:var(--bright-blue);
  }
  .social-proof .section-head h2{
    margin:0;max-width:none;
    font-family:var(--display);font-weight:800;font-size:44px;line-height:1;
    letter-spacing:0;color:var(--off-white);
  }
  .social-proof .section-head .subhead{
    margin:0;max-width:none;
    font-family:var(--body);font-weight:400;font-size:16px;line-height:1.25;
    letter-spacing:0;color:#CFD6E2;
  }

  /* stat tiles */
  .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0}
  .stat{
    position:relative;overflow:hidden;
    text-align:center;min-height:160px;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;
    padding:24px 22px;
    background-color:rgba(249,253,255,.05);
    /* Shared with the About stat band — see --xc-stat-wash in base.css. */
    background-image:var(--xc-stat-wash);
    border-radius:12px;
  }
  .stat > *{position:relative;z-index:1}
  .stat .num{font-family:var(--display);font-weight:800;font-size:56px;line-height:1;color:var(--off-white)}
  .stat .lbl{font-size:14px;line-height:1.25;color:var(--soft-white);margin:0;display:block}

  /* review cards — desktop: 3 equal-height columns; cards grow to fill, never shrink below content */
  .reviews{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;
    align-items:stretch;margin:0;
  }
  .reviews__col{display:flex;flex-direction:column;gap:16px}
  .review{
    flex:1 1 auto;margin:0;
    padding:30px;
    background:rgba(249,253,255,.05);
    border-radius:16px;
    display:flex;flex-direction:column;justify-content:space-between;gap:16px;
  }
  .review__head{display:flex;align-items:center;gap:16px}
  .review__head strong{
    display:block;font-family:var(--body);font-weight:400;font-size:18px;line-height:1.25;
    color:#F5FFFA;
  }
  .review__head .date{font-size:14px;line-height:1.25;color:rgba(245,255,250,.65)}
  .review__avatar{width:48px;height:48px;border-radius:50%;flex:0 0 48px;display:block;object-fit:cover}
  .review__avatar--initials{
    display:grid;place-items:center;
    background:linear-gradient(135deg,var(--true-blue),var(--bright-blue));
    color:#fff;font-family:var(--display);font-weight:700;font-size:15px;
  }
  .review__body{display:flex;flex-direction:column;gap:16px}
  .review__rating{display:flex;align-items:center;gap:8px}
  .review__stars{display:block;width:98px;height:14px;flex:0 0 98px;line-height:0}
  .review__stars svg{display:block;width:100%;height:100%}
  .review__score{font-family:var(--body);font-weight:400;font-size:16px;line-height:1.25;color:#F5FFFA}
  .review__quote{font-size:16px;color:#F5FFFA;line-height:1.25;margin:0}
  .rating-bar{
	margin:0;display:flex;align-items:center;justify-content:center;gap:8px;
	font-family:var(--body);font-size:14px;line-height:normal;color:var(--slate);flex-wrap:wrap;
	cursor:pointer;transition:color .2s ease;
}
.rating-bar .score{font-weight:700;color:var(--off-white)}
  .rating-bar .rio-logo{
    font-family:var(--display);font-weight:700;font-size:14px;line-height:1;
    color:var(--off-white);letter-spacing:-.01em;white-space:nowrap;
  }
  .rating-bar:hover{color:var(--soft-white)}@media (max-width:760px){
    .wf-section.social-proof{padding:32px 0}
    .social-proof > .container{gap:0}
    .social-proof .section-head{gap:0;margin-bottom:0}
    .social-proof .section-head__copy{gap:8px}
    .social-proof .section-head h2{font-size:24px}
    .social-proof .section-head .subhead{margin:0}
    .stats{grid-template-columns:1fr;gap:16px;margin-top:20px}
    .stat{min-height:130px;padding:22px 30px;gap:8px}
    /* Mobile: flatten columns into a horizontal swipe row */
    .reviews{
      display:flex;gap:16px;
      overflow-x:auto;scroll-snap-type:x mandatory;
      margin:20px -16px 0;padding:0 16px 4px;
      -ms-overflow-style:none;scrollbar-width:none;
    }
    .reviews::-webkit-scrollbar{display:none}
    .reviews__col{display:contents}
    .review{
      flex:0 0 min(337px,85%);scroll-snap-align:start;
      justify-content:flex-start;
    }
    .rating-bar{margin-top:24px}
}@media (max-width:600px){
    /* matches .wf-section .container's specificity so it actually wins here (a bare .container was losing the cascade to the unconditional 28px rule); 16px matches the mobile design's gutter */
    .wf-section .container{ padding-left:16px; padding-right:16px; }
    .wf-section{ padding:40px 0; }     /* center the widget card */
    .section-head{ gap:14px; }
}

/* ---------------------------------------------------------------------------
   Blog card pills — Figma 1173:17196 (category) / 1173:17245 (tag)

   One geometry, two looks. Figma's instances are scaled (9.796px type, 0.98px
   stroke, 978px radius); these are those values rounded to the pixel. The split
   matters: the CATEGORY is where the post lives in the blog and carries the
   brand blue, the TAG is a secondary label and stays quiet, so two pills side by
   side read as a hierarchy rather than as a pair.

   Lives here, not in blog-hub.css, because the same pills sit on the blog hub's
   cards AND on a single post's "Keep reading" row (blog-post.css) — two sheets
   that never load together.
   --------------------------------------------------------------------------- */
.blog-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.blog-tag {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	height: 23px;
	padding: 0 10px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	text-transform: uppercase;
	white-space: nowrap;
}

.blog-tag--category {
	border-color: rgba(26, 156, 252, .3);
	background: rgba(26, 156, 252, .1);
	letter-spacing: .14em;
	color: #1a9cfc;
}

.blog-tag--tag {
	border-color: rgba(255, 255, 255, .1);
	background: rgba(255, 255, 255, .04);
	letter-spacing: .1em;
	color: #cfd6e2;
}
