/* ==========================================================================
   WalletExchange — "Open Ledger" design system  v1.0.0
   Paper, ink, one signal colour. Monospaced figures. Rules instead of shadows.
   Everything is scoped to body.wxr so the off-switch returns plain Astra.
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
/* Local fallback with Instrument Sans-like line breaks, so the font swap does not
   reflow the hero (system-ui set the headline on 4 lines instead of 3). */
@font-face { font-family: 'WXR Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Arimo'), local('Helvetica Neue'), local('Roboto'); size-adjust: 100%; }

:root {
	--wxr-paper: #F3F1EC;
	--wxr-paper-2: #EAE7DF;
	--wxr-surface: #FFFFFF;
	--wxr-ink: #0D1014;
	--wxr-ink-2: #1A1F26;
	--wxr-ink-3: #262C35;
	--wxr-graphite: #545A62;
	--wxr-on-ink: #F3F1EC;
	--wxr-on-ink-2: #A9AEB6;
	--wxr-rule: #DAD6CD;
	--wxr-rule-2: #C4BFB3;
	--wxr-rule-ink: rgba(243, 241, 236, 0.16);
	--wxr-signal: #2D3BE8;
	--wxr-signal-press: #2130C8;
	--wxr-signal-soft: #A9B0FF;
	--wxr-signal-tint: rgba(45, 59, 232, 0.09);
	--wxr-gain: #0A7350;
	--wxr-gain-tint: rgba(10, 115, 80, 0.09);
	--wxr-amber: #85570A;
	--wxr-error: #B3261E;

	--wxr-sans: 'Instrument Sans', 'WXR Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--wxr-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

	--wxr-r-xs: 6px;
	--wxr-r-sm: 10px;
	--wxr-r: 14px;
	--wxr-r-lg: 22px;
	--wxr-shell: 1240px;
	--wxr-gutter: clamp(16px, 4vw, 40px);
	--wxr-header-h: 72px;
	--wxr-ease: cubic-bezier(.2, .7, .1, 1);
	--wxr-lift: 0 1px 0 rgba(13, 16, 20, .04), 0 28px 60px -32px rgba(13, 16, 20, .32);
}

/* Map the widget's and Astra's own tokens onto ours. */
body.wxr {
	--wx-bg: var(--wxr-paper);
	--wx-surface: var(--wxr-surface);
	--wx-ink: var(--wxr-ink);
	--wx-accent: var(--wxr-signal);
	--wx-accent-press: var(--wxr-signal-press);
	--wx-muted: var(--wxr-graphite);
	--wx-border: var(--wxr-rule);
	--wx-success: var(--wxr-gain);
	--wx-error: var(--wxr-error);
	--wx-radius-sm: var(--wxr-r-sm);
	--wx-radius-md: var(--wxr-r);
	--wx-font-heading: var(--wxr-sans);
	--wx-font-body: var(--wxr-sans);

	--ast-global-color-0: var(--wxr-signal);
	--ast-global-color-1: var(--wxr-signal-press);
	--ast-global-color-2: var(--wxr-ink);
	--ast-global-color-3: var(--wxr-ink-2);
	--ast-global-color-4: var(--wxr-paper);
	--ast-global-color-5: #FFFFFF;
	--ast-global-color-6: var(--wxr-rule);
	--ast-global-color-7: var(--wxr-ink-2);
	--ast-global-color-8: var(--wxr-ink);
}

/* 2. Base --------------------------------------------------------------- */
html.wxr-locked { overflow: hidden; }
body.wxr,
body.wxr #page,
body.wxr .site-content,
body.wxr.ast-separate-container,
body.wxr.ast-plain-container,
body.wxr.ast-page-builder-template {
	background: var(--wxr-paper);
}
body.wxr {
	color: var(--wxr-ink);
	font-family: var(--wxr-sans);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-kerning: normal;
}
body.wxr :is(h1, h2, h3, h4, h5, h6) { font-family: var(--wxr-sans); }
:where(body.wxr) :where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--wxr-sans);
	color: var(--wxr-ink);
	letter-spacing: -0.02em;
	font-weight: 600;
}
body.wxr a { color: var(--wxr-signal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
body.wxr a:hover { color: var(--wxr-signal-press); }
body.wxr ::selection { background: var(--wxr-signal); color: #fff; }
body.wxr :focus-visible { outline: 2px solid var(--wxr-signal); outline-offset: 2px; }
body.wxr .skip-link:focus { z-index: 100000; background: var(--wxr-ink); color: var(--wxr-on-ink); padding: 12px 18px; border-radius: var(--wxr-r-sm); }

.wxr-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wxr-mono { font-family: var(--wxr-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.wxr-shell { max-width: var(--wxr-shell); margin-left: auto; margin-right: auto; padding-left: var(--wxr-gutter); padding-right: var(--wxr-gutter); }
.wxr-small { font-size: 14px; line-height: 1.55; color: var(--wxr-graphite); }

.wxr-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font: 500 12px/1.2 var(--wxr-mono);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--wxr-graphite);
}
.wxr-eyebrow--light { color: var(--wxr-on-ink-2); }
.wxr-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--wxr-gain); flex: 0 0 auto; }
.wxr-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--wxr-gain); opacity: 0; animation: wxr-ping 2.6s var(--wxr-ease) infinite; }
@keyframes wxr-ping { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(1.8); opacity: 0; } }

.wxr-display {
	margin: 0 0 22px;
	font-family: var(--wxr-sans);
	font-weight: 600;
	font-stretch: 86%;
	font-size: clamp(42px, 5.4vw, 76px);
	line-height: 0.98;
	letter-spacing: -0.038em;
	color: var(--wxr-ink);
	text-wrap: balance;
}
body.wxr .wxr-display em { font: inherit; font-style: normal; color: var(--wxr-signal); }
.wxr-h2 {
	margin: 0;
	font-weight: 600;
	font-stretch: 90%;
	font-size: clamp(30px, 3.4vw, 48px);
	line-height: 1.02;
	letter-spacing: -0.032em;
	text-wrap: balance;
}
.wxr-lede { margin: 0 0 26px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--wxr-graphite); max-width: 44ch; text-wrap: pretty; }

/* Buttons */
.wxr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 12px;
	font: 600 15px/1 var(--wxr-sans);
	letter-spacing: -0.005em;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s var(--wxr-ease);
}
.wxr-btn:active { transform: translateY(1px); }
.wxr-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.wxr-btn--lg { min-height: 60px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.wxr-btn--block { display: flex; width: 100%; }
body.wxr .wxr-btn--signal { background: var(--wxr-signal); color: #fff; }
body.wxr .wxr-btn--signal:hover { background: var(--wxr-signal-press); color: #fff; }
body.wxr .wxr-btn--paper { background: var(--wxr-paper); color: var(--wxr-ink); }
body.wxr .wxr-btn--paper:hover { background: #fff; color: var(--wxr-ink); }
body.wxr .wxr-btn--ghost { background: transparent; color: var(--wxr-ink); border-color: var(--wxr-rule-2); }
body.wxr .wxr-btn--ghost:hover { border-color: var(--wxr-ink); color: var(--wxr-ink); }
.wxr-btn__arrow { display: inline-block; transition: transform .2s var(--wxr-ease); }
.wxr-btn:hover .wxr-btn__arrow { transform: translateX(3px); }

body.wxr .wxr-link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; font-size: 15px; color: var(--wxr-ink); text-decoration: none;
	padding: 10px 0; border-bottom: 1px solid var(--wxr-ink); white-space: nowrap;
}
body.wxr .wxr-link-arrow::after { content: '→'; transition: transform .2s var(--wxr-ease); }
body.wxr .wxr-link-arrow:hover { color: var(--wxr-signal); border-color: var(--wxr-signal); }
body.wxr .wxr-link-arrow:hover::after { transform: translateX(3px); }

/* 3. Astra neutralising ------------------------------------------------- */
body.wxr .site-content > .ast-container { max-width: none; padding-left: 0; padding-right: 0; display: block; }
body.wxr #primary { margin: 0; padding: 0; width: 100%; border: 0; }
body.wxr.ast-separate-container .ast-article-single,
body.wxr.ast-separate-container .ast-article-post,
body.wxr .ast-article-single,
body.wxr .site-main > article { background: transparent; padding: 0; margin: 0; border: 0; box-shadow: none; }
body.wxr .entry-content > *:first-child { margin-top: 0; }
body.wxr #secondary { display: none; }
body.wxr.ast-right-sidebar #primary, body.wxr.ast-left-sidebar #primary { border: 0; }

/* 4. Header ------------------------------------------------------------- */
.wxr-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(243, 241, 236, 0.86);
	-webkit-backdrop-filter: saturate(1.5) blur(14px);
	backdrop-filter: saturate(1.5) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, background-color .2s ease;
}
.admin-bar .wxr-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wxr-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .wxr-header { top: 0; } }
.wxr-header.is-scrolled { border-bottom-color: var(--wxr-rule); background: rgba(243, 241, 236, 0.94); }
.wxr-header__inner {
	max-width: var(--wxr-shell);
	margin: 0 auto;
	padding: 0 var(--wxr-gutter);
	height: var(--wxr-header-h);
	display: flex;
	align-items: center;
	gap: 28px;
	transition: height .25s var(--wxr-ease);
}
.wxr-header.is-scrolled .wxr-header__inner { height: 60px; }

body.wxr .wxr-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--wxr-ink); text-decoration: none; }
body.wxr .wxr-brand:hover { color: var(--wxr-ink); }
.wxr-mark { width: 30px; height: 30px; fill: none; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.wxr-mark__ink { stroke: currentColor; }
.wxr-mark__signal { stroke: var(--wxr-signal); }
.wxr-brand:hover .wxr-mark__signal { stroke: var(--wxr-gain); }
.wxr-brand__word { font-weight: 650; font-stretch: 92%; font-size: 19px; letter-spacing: -0.03em; line-height: 1; }
.wxr-brand__word span { font-weight: 450; }

.wxr-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.wxr-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
body.wxr .wxr-nav__list a {
	display: block;
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--wxr-ink);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
body.wxr .wxr-nav__list a:hover { background: rgba(13, 16, 20, 0.06); color: var(--wxr-ink); }
body.wxr .wxr-nav__list :is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current-page-ancestor) > a { background: var(--wxr-ink); color: var(--wxr-on-ink); }

.wxr-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 0 0 auto; }
.wxr-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--wxr-rule-2);
	border-radius: 12px;
	background: transparent;
	color: var(--wxr-ink);
	cursor: pointer;
}
body.wxr .wxr-menu-toggle:hover, body.wxr .wxr-menu-toggle:focus { background: rgba(13, 16, 20, 0.05); color: var(--wxr-ink); }
.wxr-menu-toggle__bars { position: relative; width: 18px; height: 10px; display: block; }
.wxr-menu-toggle__bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .25s var(--wxr-ease), top .25s var(--wxr-ease); }
.wxr-menu-toggle__bars i:first-child { top: 0; }
.wxr-menu-toggle__bars i:last-child { top: 8.5px; }
.wxr-menu-toggle[aria-expanded="true"] .wxr-menu-toggle__bars i:first-child { top: 4.25px; transform: rotate(45deg); }
.wxr-menu-toggle[aria-expanded="true"] .wxr-menu-toggle__bars i:last-child { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
	.wxr-nav { display: none; }
	.wxr-menu-toggle { display: inline-flex; }
}
@media (max-width: 520px) {
	.wxr-header__cta { display: none; }
}

/* Drawer */
.wxr-drawer {
	position: fixed;
	inset: var(--wxr-header-h) 0 0 0;
	z-index: 89;
	background: var(--wxr-paper);
	overflow-y: auto;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .2s ease, transform .25s var(--wxr-ease);
}
.admin-bar .wxr-drawer { top: calc(var(--wxr-header-h) + 46px); }
@media (max-width: 600px) { .admin-bar .wxr-drawer { top: var(--wxr-header-h); } }
.wxr-drawer.is-open { opacity: 1; transform: none; }
.wxr-drawer[hidden] { display: none; }
.wxr-drawer__inner { padding: 12px var(--wxr-gutter) 40px; display: flex; flex-direction: column; gap: 28px; max-width: 640px; }
.wxr-drawer__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wxr-rule); counter-reset: wxd; }
.wxr-drawer__list li { border-bottom: 1px solid var(--wxr-rule); counter-increment: wxd; }
body.wxr .wxr-drawer__list a {
	display: flex; align-items: baseline; gap: 14px;
	padding: 16px 0;
	font-size: 28px; font-weight: 600; font-stretch: 90%; letter-spacing: -0.03em; line-height: 1.1;
	color: var(--wxr-ink); text-decoration: none;
}
body.wxr .wxr-drawer__list a::before { content: counter(wxd, decimal-leading-zero); font: 500 12px var(--wxr-mono); color: var(--wxr-graphite); letter-spacing: 0; min-width: 22px; }
body.wxr .wxr-drawer__list .current-menu-item > a { color: var(--wxr-signal); }
.wxr-drawer__legal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
body.wxr .wxr-drawer__legal-list a { font-size: 14px; color: var(--wxr-graphite); text-decoration: none; display: inline-block; padding: 6px 0; }

/* 5. Front page --------------------------------------------------------- */
.wxr-home { display: block; overflow: clip; }
.wxr-home section { position: relative; }

.wxr-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 104px); isolation: isolate; }
.wxr-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(to right, rgba(13, 16, 20, 0.055) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(13, 16, 20, 0.055) 1px, transparent 1px);
	background-size: 64px 64px;
	background-position: center top;
	-webkit-mask-image: radial-gradient(ellipse 70% 65% at 30% 30%, #000 10%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 65% at 30% 30%, #000 10%, transparent 75%);
}
.wxr-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
	grid-template-areas: "text tool" "ticks tool" "fig tool";
	grid-template-rows: auto auto 1fr;
	column-gap: clamp(32px, 5vw, 88px);
	row-gap: 36px;
	align-items: start;
}
.wxr-hero__text { grid-area: text; padding-top: clamp(8px, 2vw, 32px); }
.wxr-hero__tool { grid-area: tool; scroll-margin-top: 84px; }
.wxr-hero__figure { grid-area: fig; }
.wxr-hero__ticks { grid-area: ticks; margin-top: -14px !important; }
.wxr-hero__text .wxr-lede { margin-bottom: 0; }

.wxr-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wxr-ticks li {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px 8px 10px;
	border: 1px solid var(--wxr-rule-2);
	border-radius: 999px;
	font-size: 14px; font-weight: 500; line-height: 1;
	background: rgba(255, 255, 255, 0.55);
}
.wxr-ticks li::before {
	content: '';
	width: 16px; height: 16px; border-radius: 50%;
	background: var(--wxr-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%23F3F1EC' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Tool card */
.wxr-tool { background: var(--wxr-surface); border: 1px solid var(--wxr-rule); border-radius: var(--wxr-r-lg); box-shadow: var(--wxr-lift); }
.wxr-tool__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	padding: 18px 24px 16px;
	border-bottom: 1px solid var(--wxr-rule);
}
.wxr-tool__title { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.wxr-tool__meta { font-size: 12px; color: var(--wxr-graphite); }
body.wxr .wxr-tool .wx-widget { border: 0; box-shadow: none; border-radius: 0 0 var(--wxr-r-lg) var(--wxr-r-lg); padding: 20px 24px 24px; max-width: none; margin: 0; background: transparent; }

.wxr-pairs { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.wxr-pairs__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wxr-graphite); }
body.wxr .wx-pairs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
body.wxr .wx-pairs button {
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--wxr-rule-2);
	border-radius: 999px;
	background: transparent;
	color: var(--wxr-ink);
	font: 500 13px/1 var(--wxr-mono);
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
body.wxr .wx-pairs button:hover, body.wxr .wx-pairs button:focus-visible { background: var(--wxr-ink); border-color: var(--wxr-ink); color: var(--wxr-on-ink); }

/* Route figure */
.wxr-figure { margin: 0; padding: 22px 0 0; border-top: 1px solid var(--wxr-ink); max-width: 600px; }
.wxr-figure__head { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--wxr-graphite); text-transform: uppercase; letter-spacing: 0.08em; }
.wxr-figure__pair { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 8px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.wxr-figure__pair span[aria-hidden] { color: var(--wxr-signal); }
.wxr-figure__cap { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--wxr-graphite); max-width: 60ch; }
body.wxr .wxr-figure__cap a { color: var(--wxr-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--wxr-rule-2); white-space: nowrap; }

.wxr-route { display: block; width: 100%; height: auto; overflow: visible; }
.wxr-route__axis line { stroke: var(--wxr-rule-2); stroke-width: 1; stroke-dasharray: 2 4; }
.wxr-route__axis text { font: 500 10.5px var(--wxr-mono); fill: var(--wxr-graphite); text-transform: uppercase; letter-spacing: .06em; }
.wxr-route__origin { fill: var(--wxr-ink); }
.wxr-route__lane path { fill: none; stroke: var(--wxr-ink); stroke-opacity: 0.38; stroke-width: 1.5; stroke-linecap: round; }
.wxr-route__lane circle { fill: var(--wxr-paper); stroke: var(--wxr-ink); stroke-width: 1.5; }
.wxr-route__lane.is-best path { stroke: var(--wxr-gain); stroke-opacity: 1; stroke-width: 2.5; }
.wxr-route__lane.is-best circle { fill: var(--wxr-gain); stroke: var(--wxr-gain); }
.wxr-route__name { font: 600 13px var(--wxr-sans); fill: var(--wxr-ink); }
.wxr-route__amt { font: 500 12px var(--wxr-mono); fill: var(--wxr-graphite); }
.wxr-route__lane.is-best .wxr-route__amt, .wxr-route__lane.is-best .wxr-route__name { fill: var(--wxr-gain); }
.wxr-reveal-on .wxr-route__lane path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--wxr-ease) calc(var(--i) * 110ms); }
.wxr-reveal-on .wxr-route__lane circle, .wxr-reveal-on .wxr-route__lane text { opacity: 0; transition: opacity .5s ease calc(700ms + var(--i) * 110ms); }
.wxr-reveal-on .wxr-route.is-in .wxr-route__lane path { stroke-dashoffset: 0; }
.wxr-reveal-on .wxr-route.is-in .wxr-route__lane circle, .wxr-reveal-on .wxr-route.is-in .wxr-route__lane text { opacity: 1; }

/* Gap statement */
.wxr-gap { padding: clamp(64px, 9vw, 128px) 0; border-top: 1px solid var(--wxr-rule); }
.wxr-gap__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(32px, 6vw, 96px); align-items: end; }
.wxr-gap__grid > .wxr-eyebrow { grid-column: 1 / -1; }
.wxr-gap__title { margin: 0; display: flex; flex-direction: column; gap: 18px; font-weight: 500; }
.wxr-gap__num { font-size: clamp(72px, 10.5vw, 152px); line-height: 0.82; white-space: nowrap; font-weight: 500; letter-spacing: -0.07em; color: var(--wxr-ink); }
.wxr-gap__words { font-family: var(--wxr-sans); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; font-weight: 600; font-stretch: 92%; letter-spacing: -0.025em; max-width: 24ch; text-wrap: balance; }
.wxr-gap__aside p { margin: 0 0 18px; color: var(--wxr-graphite); }
.wxr-gap__aside .wxr-small { margin: 18px 0 0; }
.wxr-gapchart { display: block; width: 100%; height: auto; margin: 4px 0 22px; overflow: visible; }
.wxr-gapchart__grid line { stroke: var(--wxr-rule); stroke-width: 1; }
.wxr-gapchart__grid text, .wxr-gapchart__x text { font: 500 10.5px var(--wxr-mono); fill: var(--wxr-graphite); }
.wxr-gapchart__bars rect { fill: var(--wxr-ink); transform-box: fill-box; transform-origin: bottom; }
.wxr-gapchart__bars rect:last-child { fill: var(--wxr-signal); }
.wxr-gapchart__avg { stroke: var(--wxr-signal); stroke-width: 1.25; stroke-dasharray: 4 4; }
.wxr-reveal-on [data-wxr-reveal] .wxr-gapchart__bars rect { transform: scaleY(0); transition: transform .7s var(--wxr-ease) calc(200ms + var(--i) * 12ms); }
.wxr-reveal-on [data-wxr-reveal].is-in .wxr-gapchart__bars rect { transform: none; }
.wxr-gaps { list-style: none; margin: 0 0 4px; padding: 0; border-top: 1px solid var(--wxr-ink); }
.wxr-gaps li { display: grid; grid-template-columns: minmax(150px, 210px) 1fr 60px; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--wxr-rule); }
body.wxr .wxr-gaps__pair { font-weight: 600; font-size: 14px; color: var(--wxr-ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.wxr .wxr-gaps__pair:hover { color: var(--wxr-signal); }
.wxr-gaps__bar { height: 8px; border-radius: 8px; background: var(--wxr-paper-2); position: relative; overflow: hidden; }
.wxr-gaps__bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--wxr-ink); border-radius: 8px; transform-origin: left; transition: transform 1s var(--wxr-ease) .15s; }
.wxr-gaps li:first-child .wxr-gaps__bar::after { background: var(--wxr-signal); }
.wxr-reveal-on [data-wxr-reveal]:not(.is-in) .wxr-gaps__bar::after { transform: scaleX(0); }
.wxr-gaps__val { font-size: 13px; text-align: right; }
.wxr-wins { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wxr-rule); }
.wxr-wins li { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--wxr-rule); }
.wxr-wins__name { font-weight: 600; font-size: 15px; }
.wxr-wins__bar { height: 6px; border-radius: 6px; background: var(--wxr-paper-2); position: relative; overflow: hidden; }
.wxr-wins__bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--wxr-ink); border-radius: 6px; transform-origin: left; transition: transform 1s var(--wxr-ease) .2s; }
.wxr-reveal-on [data-wxr-reveal]:not(.is-in) .wxr-wins__bar::after { transform: scaleX(0); }
.wxr-wins__val { font-size: 12.5px; color: var(--wxr-graphite); }

/* How it works (ink band) */
.wxr-how { background: var(--wxr-ink); color: var(--wxr-on-ink); padding: clamp(72px, 10vw, 136px) 0; }
.wxr-how .wxr-h2 { color: var(--wxr-on-ink); max-width: 18ch; }
.wxr-how__head { margin-bottom: clamp(40px, 6vw, 72px); }
.wxr-custody { margin: 0 0 clamp(40px, 6vw, 72px); padding: clamp(20px, 3vw, 40px); border: 1px solid var(--wxr-rule-ink); border-radius: var(--wxr-r-lg); background: var(--wxr-ink-2); }
.wxr-custody__svg { display: block; width: 100%; height: auto; }
.wxr-custody__svg--tall { display: none; max-width: 340px; margin: 0 auto; }
.wxr-custody__node rect { fill: var(--wxr-ink-3); stroke: rgba(243, 241, 236, .22); stroke-width: 1; }
.wxr-custody__node text { font: 600 17px var(--wxr-sans); fill: var(--wxr-on-ink); letter-spacing: -0.01em; }
.wxr-custody__node.is-provider rect { fill: var(--wxr-signal); stroke: var(--wxr-signal); }
.wxr-custody__node.is-wx rect { fill: transparent; stroke: var(--wxr-on-ink-2); stroke-dasharray: 4 5; }
.wxr-custody__node.is-wx text { font: 500 15px var(--wxr-mono); fill: var(--wxr-on-ink-2); }
.wxr-custody__flow { fill: none; stroke: var(--wxr-on-ink); stroke-width: 2; }
.wxr-custody__data { fill: none; stroke: var(--wxr-on-ink-2); stroke-width: 1.5; stroke-dasharray: 3 5; }
.wxr-custody__coin { fill: #6BE3A8; }
.wxr-custody__label { font: 500 13px var(--wxr-mono); fill: var(--wxr-on-ink-2); }

.wxr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.wxr-step { border-top: 1px solid var(--wxr-rule-ink); padding-top: 22px; }
.wxr-step__n { display: block; font-size: 12px; color: var(--wxr-signal-soft); margin-bottom: 18px; }
.wxr-step h3 { color: var(--wxr-on-ink); font-size: 26px; font-stretch: 92%; letter-spacing: -0.025em; margin: 0 0 10px; }
.wxr-step p { margin: 0; color: var(--wxr-on-ink-2); font-size: 16px; line-height: 1.6; max-width: 38ch; }

/* Section heads */
.wxr-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.wxr-section-head > div { max-width: 720px; }
.wxr-section-head__lede { margin: 16px 0 0; color: var(--wxr-graphite); max-width: 56ch; }

/* Checks table */
.wxr-checks { padding: clamp(72px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); }
.wxr-table-wrap { border-top: 1px solid var(--wxr-ink); }
.wxr-table { width: 100%; border-collapse: collapse; border: 0; margin: 0; font-size: 15px; }
body.wxr .wxr-table th, body.wxr .wxr-table td { border: 0; border-bottom: 1px solid var(--wxr-rule); padding: 16px 12px; text-align: left; vertical-align: baseline; background: transparent; }
body.wxr .wxr-table thead th { font: 500 11.5px/1.2 var(--wxr-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--wxr-graphite); padding-top: 14px; padding-bottom: 14px; }
body.wxr .wxr-table :is(th, td):first-child { padding-left: 0; }
body.wxr .wxr-table :is(th, td):last-child { padding-right: 0; }
.wxr-table .num { text-align: right !important; white-space: nowrap; }
body.wxr .wxr-table :is(th, td):nth-child(3) { padding-left: 40px; }
body.wxr .wxr-table tbody th { font-weight: 600; font-size: 16px; }
body.wxr .wxr-table tbody th a { color: var(--wxr-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s var(--wxr-ease); }
body.wxr .wxr-table tbody tr:hover th a { background-size: 100% 1px; }
body.wxr .wxr-table tbody tr { transition: background-color .15s ease; }
body.wxr .wxr-table tbody tr:hover { background: rgba(255, 255, 255, 0.6); }
.wxr-checks__note { margin: 18px 0 0; max-width: 72ch; }

/* KYC grades */
.wxr-kyc { padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--wxr-rule); }
.wxr-grades { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 12px; }
.wxr-grade { background: var(--wxr-surface); border: 1px solid var(--wxr-rule); border-radius: var(--wxr-r); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.wxr-grade__letter {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 12px;
	font: 500 30px/1 var(--wxr-mono);
	border: 1.5px solid currentColor;
}
.wxr-grade__letter--a { color: var(--wxr-gain); background: var(--wxr-gain-tint); }
.wxr-grade__letter--b { color: var(--wxr-signal); background: var(--wxr-signal-tint); }
.wxr-grade__letter--c { color: var(--wxr-amber); background: rgba(133, 87, 10, .08); }
.wxr-grade__letter--d { color: var(--wxr-error); background: rgba(179, 38, 30, .07); }
.wxr-grade__name { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.wxr-grade__why { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--wxr-rule); display: flex; flex-direction: column; gap: 6px; }
.wxr-grade__why li { font-size: 13.5px; line-height: 1.4; color: var(--wxr-graphite); padding-left: 14px; position: relative; }
.wxr-grade__why li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 1px; background: currentColor; }

/* Film */
.wxr-film { padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--wxr-rule); }
.wxr-film__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.wxr-film__text p:not(.wxr-eyebrow) { color: var(--wxr-graphite); margin: 18px 0 0; max-width: 40ch; }
body.wxr .wxr-film__player video, body.wxr .wx-video .wx-video__player { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0; border-radius: var(--wxr-r-lg); background: var(--wxr-ink); box-shadow: var(--wxr-lift); }

/* Learn cards */
.wxr-learn { padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--wxr-rule); }
.wxr-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wxr-card a {
	display: flex; flex-direction: column; height: 100%;
	padding: 24px; border: 1px solid var(--wxr-rule); border-radius: var(--wxr-r);
	background: var(--wxr-surface); color: var(--wxr-ink); text-decoration: none;
	transition: border-color .2s ease, transform .25s var(--wxr-ease), box-shadow .25s ease;
}
body.wxr .wxr-card a:hover { border-color: var(--wxr-ink); transform: translateY(-2px); box-shadow: 0 18px 36px -26px rgba(13, 16, 20, .4); color: var(--wxr-ink); }
.wxr-card__n { font-size: 12px; color: var(--wxr-graphite); }
.wxr-card h3 { font-size: 22px; font-stretch: 92%; letter-spacing: -0.025em; line-height: 1.12; margin: 36px 0 10px; }
.wxr-card p { margin: 0 0 24px; font-size: 15px; line-height: 1.55; color: var(--wxr-graphite); }
.wxr-card__more { margin-top: auto; font-weight: 600; font-size: 14px; }
.wxr-card__more span { display: inline-block; transition: transform .2s var(--wxr-ease); }
.wxr-card a:hover .wxr-card__more span { transform: translateX(3px); }

/* FAQ */
.wxr-faq { padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--wxr-rule); }
.wxr-faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.wxr-faq__grid > div:first-child { position: sticky; top: 96px; }
.wxr-faq__grid .wxr-small { margin: 18px 0 0; }
.wxr-faq__list { border-top: 1px solid var(--wxr-ink); }
.wxr-faq__item { border-bottom: 1px solid var(--wxr-rule); }
.wxr-faq__item summary {
	list-style: none;
	cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 22px 0;
	font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
}
.wxr-faq__item summary::-webkit-details-marker { display: none; }
.wxr-faq__item summary::after {
	content: ''; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
	border: 1px solid var(--wxr-rule-2);
	background:
		linear-gradient(var(--wxr-ink), var(--wxr-ink)) center / 10px 1.5px no-repeat,
		linear-gradient(var(--wxr-ink), var(--wxr-ink)) center / 1.5px 10px no-repeat;
	transition: transform .25s var(--wxr-ease), background-color .2s ease;
}
.wxr-faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--wxr-paper-2); }
.wxr-faq__item summary:hover { color: var(--wxr-signal); }
.wxr-faq__item p { margin: -6px 0 24px; color: var(--wxr-graphite); max-width: 62ch; }

/* Close */
.wxr-close { padding: clamp(72px, 10vw, 144px) 0; border-top: 1px solid var(--wxr-rule); background: var(--wxr-paper-2); }
.wxr-display--close { font-size: clamp(40px, 6.6vw, 104px); max-width: 15ch; margin-bottom: 36px; }
.wxr-display--close span { color: var(--wxr-signal); }

/* 6. Footer ------------------------------------------------------------- */
.wxr-footer { background: var(--wxr-ink); color: var(--wxr-on-ink); overflow: hidden; position: relative; }
.wxr-footer__inner { max-width: var(--wxr-shell); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--wxr-gutter) 32px; }
.wxr-footer__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); padding-bottom: 56px; border-bottom: 1px solid var(--wxr-rule-ink); }
.wxr-footer__lede { margin: 0 0 28px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; font-weight: 600; font-stretch: 92%; letter-spacing: -0.028em; max-width: 22ch; color: var(--wxr-on-ink); }
.wxr-footer__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.3fr); gap: 32px; }
body.wxr .wxr-footer__h { margin: 0 0 16px; font: 500 11.5px/1.2 var(--wxr-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--wxr-on-ink-2); }
.wxr-footer__h--gap { margin-top: 32px !important; }
.wxr-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
body.wxr .wxr-footer__list a { display: inline-block; padding: 5px 0; color: var(--wxr-on-ink); text-decoration: none; font-size: 15px; }
body.wxr .wxr-footer__list a[href^="mailto:"] { font-size: 14px; word-break: break-word; }
body.wxr .wxr-footer__list a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--wxr-signal-soft); }
body.wxr .wxr-footer :focus-visible { outline-color: var(--wxr-signal-soft); }
.wxr-footer__providers { margin: 0; font-size: 14px; line-height: 1.6; color: var(--wxr-on-ink-2); }
.wxr-footer__disclosure { margin: 28px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--wxr-on-ink-2); max-width: 90ch; }
body.wxr .wxr-footer__disclosure a { color: var(--wxr-on-ink); }
.wxr-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; font-size: 13px; color: var(--wxr-on-ink-2); }
.wxr-footer__word {
	display: flex; justify-content: center; gap: 0;
	font-weight: 650; font-stretch: 85%;
	font-size: clamp(40px, 15.6vw, 236px); line-height: 0.8; letter-spacing: -0.065em; padding-top: 0.06em;
	color: transparent; -webkit-text-stroke: 1px rgba(243, 241, 236, 0.22);
	user-select: none; pointer-events: none;
	margin-bottom: -0.1em; white-space: nowrap;
}
.wxr-footer__word span:last-child { -webkit-text-stroke-color: rgba(169, 176, 255, 0.45); }

/* Astra scroll-to-top */
body.wxr #ast-scroll-top { background: var(--wxr-ink); color: var(--wxr-on-ink); border-radius: 12px; width: 44px; height: 44px; line-height: 44px; }
body.wxr #ast-scroll-top:hover { background: var(--wxr-signal); }

/* 7. Content pages (shared wx-* vocabulary) ----------------------------- */
body.wxr .wx-page { font-family: var(--wxr-sans); color: var(--wxr-ink); counter-reset: wxs; }
body.wxr .wx-hero,
body.wxr .wx-section,
body.wxr .wx-why,
body.wxr .wx-trust { max-width: var(--wxr-shell); margin-left: auto; margin-right: auto; padding-left: var(--wxr-gutter); padding-right: var(--wxr-gutter); }
body.wxr .wx-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(32px, 4vw, 56px); }
body.wxr .wx-hero--standalone { padding-bottom: clamp(28px, 4vw, 48px); }
body.wxr .wx-hero__intro { max-width: 880px; margin: 0; }
body.wxr .wx-hero__intro h1 {
	font-weight: 600;
	font-stretch: 86%;
	font-size: clamp(40px, 5.6vw, 80px);
	line-height: 0.98;
	letter-spacing: -0.038em;
	margin: 0 0 20px;
	text-wrap: balance;
}
body.wxr .wx-hero__intro p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--wxr-graphite); max-width: 58ch; margin: 0; text-wrap: pretty; }

body.wxr .wx-section { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
body.wxr .wx-section--bordered { border-top: 0; background: linear-gradient(var(--wxr-rule), var(--wxr-rule)) no-repeat var(--wxr-gutter) 0 / calc(100% - 2 * var(--wxr-gutter)) 1px; }
body.wxr .wx-section > h2,
body.wxr .wx-section > .wp-block-heading:is(h2) {
	font-weight: 600;
	font-stretch: 90%;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin: 0 0 18px;
	max-width: 24ch;
	text-wrap: balance;
}
body.wxr .wx-section > h2::before {
	counter-increment: wxs;
	content: counter(wxs, decimal-leading-zero);
	display: block;
	margin-bottom: 14px;
	font: 500 12px/1 var(--wxr-mono);
	letter-spacing: 0.08em;
	color: var(--wxr-graphite);
}
body.wxr .wx-section h3 { font-size: 21px; letter-spacing: -0.02em; margin: 28px 0 8px; }
body.wxr .wx-section p { font-size: 17.5px; line-height: 1.65; color: var(--wxr-ink-2); max-width: 68ch; margin: 0; }
body.wxr .wx-section p + p, body.wxr .wx-section ul + p, body.wxr .wx-section p + ul, body.wxr .wx-section ol + p, body.wxr .wx-section p + ol { margin-top: 16px; }
body.wxr .wx-section :is(ul, ol):not([class]) { max-width: 66ch; padding-left: 1.2em; margin: 0; }
body.wxr .wx-section :is(ul, ol):not([class]) li { margin: 6px 0; line-height: 1.6; }
body.wxr .wx-section a:not([class]) { color: var(--wxr-signal); text-decoration: underline; text-decoration-color: rgba(45, 59, 232, .35); }
body.wxr .wx-section a:not([class]):hover { text-decoration-color: currentColor; }

body.wxr .wx-content-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--wxr-ink); max-width: 78ch; }
body.wxr .wx-content-list li { padding: 18px 0; border-bottom: 1px solid var(--wxr-rule); font-size: 16.5px; line-height: 1.6; color: var(--wxr-ink-2); }
body.wxr .wx-content-list li strong { display: block; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--wxr-ink); margin-bottom: 4px; }
body.wxr .wx-content-list li span { color: var(--wxr-graphite); }

body.wxr .wx-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; background: transparent; border: 0; margin-top: 28px; }
body.wxr .wx-topics__item {
	display: flex; flex-direction: column;
	background: var(--wxr-surface); border: 1px solid var(--wxr-rule); border-radius: var(--wxr-r);
	padding: 22px; color: var(--wxr-ink); text-decoration: none;
	transition: border-color .2s ease, transform .25s var(--wxr-ease), box-shadow .25s ease;
}
body.wxr a.wx-topics__item:hover, body.wxr a.wx-topics__item:focus-visible { border-color: var(--wxr-ink); transform: translateY(-2px); box-shadow: 0 18px 36px -26px rgba(13, 16, 20, .4); }
body.wxr .wx-topics__item h3 { font-size: 19px; font-stretch: 94%; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 8px; color: var(--wxr-ink); }
body.wxr a.wx-topics__item:hover h3 { color: var(--wxr-ink); }
body.wxr .wx-topics__item p { font-size: 14.5px; line-height: 1.5; color: var(--wxr-graphite); margin: 0; }
body.wxr .wx-topics__read { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 600; color: var(--wxr-signal); }
body.wxr .wx-topics__soon { font-family: var(--wxr-mono); }
body.wxr .wx-topics__rating { font-family: var(--wxr-mono); font-size: 12.5px; color: var(--wxr-graphite); }

body.wxr .wx-concepts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 28px; border-top: 1px solid var(--wxr-ink); }
body.wxr .wx-concepts__item { padding: 22px 22px 22px 0; border-right: 1px solid var(--wxr-rule); }
body.wxr .wx-concepts__item + .wx-concepts__item { padding-left: 22px; }
body.wxr .wx-concepts__item:last-child { border-right: 0; }
body.wxr .wx-concepts__item h3 { font-size: 18px; margin: 0 0 6px; }
body.wxr .wx-concepts__item p { font-size: 15px; color: var(--wxr-graphite); }

body.wxr .wx-why { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); border-top: 0; }
body.wxr .wx-why blockquote { border: 0; padding: 0; margin: 0 0 18px; font-style: normal; font-weight: 600; font-stretch: 88%; font-size: clamp(32px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.035em; color: var(--wxr-ink); max-width: 16ch; }
body.wxr .wx-trust { padding-bottom: 72px; }
body.wxr .wx-trust p { font-size: 13.5px; color: var(--wxr-graphite); }

/* Articles (Learn, Reviews) */
body.wxr .wx-hero__intro p.wx-article__crumb { font: 500 12.5px/1.4 var(--wxr-mono); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 18px; color: var(--wxr-graphite); }
body.wxr .wx-hero__intro p.wx-article__crumb a { color: var(--wxr-graphite); text-decoration: none; }
body.wxr .wx-hero__intro p.wx-article__crumb a:hover { color: var(--wxr-signal); }
body.wxr .wx-hero__intro p.wx-article__meta { font: 400 13.5px/1.5 var(--wxr-mono); color: var(--wxr-graphite); margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--wxr-rule); max-width: none; }
body.wxr .wx-hero__intro p.wx-article__meta a { color: var(--wxr-ink); }
body.wxr .wx-article .wx-section { padding-top: clamp(28px, 3.5vw, 48px); padding-bottom: clamp(28px, 3.5vw, 48px); }
body.wxr .wx-article .wx-section > :is(h2, p, ul, ol, table, figure, .wx-content-list, .wp-block-table, .wp-block-image) { margin-left: clamp(0px, 8vw, 120px); }
body.wxr .wx-article .wx-section > h2 { font-size: clamp(26px, 2.6vw, 36px); }
body.wxr .wx-article .wx-section > h2::before { position: absolute; margin-left: calc(-1 * clamp(0px, 8vw, 120px)); margin-top: 6px; }
body.wxr .wx-article .wx-section { position: relative; }
body.wxr .wx-article .wx-section p.wx-callout,
body.wxr .wx-section .wx-callout { background: var(--wxr-surface); border: 1px solid var(--wxr-rule); border-left: 3px solid var(--wxr-signal); border-radius: var(--wxr-r-sm); padding: 18px 22px; font-size: 15.5px; max-width: 70ch; }
body.wxr .wx-article a.wx-button,
body.wxr .entry-content .wx-article .wx-section a.wx-button,
body.wxr a.wx-button {
	display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px;
	border-radius: 12px; background: var(--wxr-signal); color: #fff; font-weight: 600; text-decoration: none; opacity: 1;
}
body.wxr a.wx-button:hover, body.wxr .entry-content .wx-article .wx-section a.wx-button:hover { background: var(--wxr-signal-press); color: #fff; opacity: 1; }
body.wxr .wx-section figure.wp-block-image img { border-radius: var(--wxr-r); border: 1px solid var(--wxr-rule); }
body.wxr .wx-section .wp-element-caption, body.wxr .wx-section figcaption { font: 400 13px/1.5 var(--wxr-mono); color: var(--wxr-graphite); margin-top: 10px; text-align: left; }

/* Tables (articles, swap pages) */
body.wxr .wxr-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
body.wxr .wxr-scroll:focus-visible { outline-offset: 4px; }
@media (max-width: 860px) { body.wxr .wxr-scroll table { min-width: 560px; } }
body.wxr .wx-section .wp-block-table { margin: 24px 0 0; overflow-x: auto; max-width: 100%; }
body.wxr .wx-section :is(.wp-block-table table, table.wx-rate-table) {
	width: 100%; border-collapse: collapse; border: 0; border-top: 1px solid var(--wxr-ink); margin: 0;
	font-size: 15px; background: transparent;
}
body.wxr .wx-section :is(.wp-block-table, .wx-rate-table) :is(th, td) { border: 0; border-bottom: 1px solid var(--wxr-rule); padding: 13px 12px; text-align: left; background: transparent; }
body.wxr .wx-section :is(.wp-block-table, .wx-rate-table) :is(th, td):first-child { padding-left: 0; }
body.wxr .wx-section :is(.wp-block-table, .wx-rate-table) thead th { font: 500 11.5px/1.25 var(--wxr-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--wxr-graphite); }
body.wxr .wx-section :is(.wp-block-table, .wx-rate-table) td.num,
body.wxr .wx-section .wx-rate-table .num { font-family: var(--wxr-mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
body.wxr .wx-rate-table caption, body.wxr .wx-swap-note { caption-side: bottom; text-align: left; font-size: 13.5px !important; line-height: 1.55; color: var(--wxr-graphite) !important; padding-top: 12px; }
body.wxr p.wx-swap-note { margin-top: 12px !important; }
body.wxr .wx-rate-best {
	display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 999px; vertical-align: 1px;
	background: var(--wxr-gain); color: #fff; font: 500 10.5px/1.2 var(--wxr-mono); letter-spacing: .05em; text-transform: uppercase;
}
body.wxr .wx-swap-crumbs { font: 500 12.5px/1.4 var(--wxr-mono) !important; letter-spacing: .04em; text-transform: uppercase; color: var(--wxr-graphite) !important; margin: 0 0 18px !important; display: flex; gap: 8px; flex-wrap: wrap; }
body.wxr .wx-swap-crumbs a { color: var(--wxr-graphite); text-decoration: none; }
body.wxr .wx-swap-crumbs a:hover { color: var(--wxr-signal); }
body.wxr .wx-pairpage .wx-swap-widget { max-width: var(--wxr-shell); margin: 0 auto; padding: 0 var(--wxr-gutter); }
body.wxr .wx-pairpage .wx-swap-widget .wx-widget { margin: 0; }
body.wxr .wx-pairs-more { font-size: 14px !important; color: var(--wxr-graphite); }

/* Exchange & Compare pages: the widget sits under the page title. */
body.wxr .entry-content > .wx-widget,
body.wxr .wp-block-walletexchange-exchange-widget { margin-left: auto; margin-right: auto; }
body.wxr.page .entry-content > .wx-widget { margin: 0 var(--wxr-gutter) 0 max(var(--wxr-gutter), calc((100% - var(--wxr-shell)) / 2 + var(--wxr-gutter))); }

/* Astra titles, posts and other plain pages */
body.wxr .entry-header, body.wxr .ast-archive-description { max-width: var(--wxr-shell); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--wxr-gutter) 24px; text-align: left; }
body.wxr .entry-title, body.wxr .ast-archive-title { font-weight: 600; font-stretch: 86%; font-size: clamp(38px, 5vw, 72px) !important; line-height: 1; letter-spacing: -0.038em; margin: 0; text-wrap: balance; }
body.wxr .entry-meta, body.wxr .entry-meta * { font: 400 13.5px/1.5 var(--wxr-mono); color: var(--wxr-graphite); }
body.wxr.single-post .entry-content,
body.wxr.page:not(:has(.wx-page)) .entry-content,
body.wxr.archive .site-main, body.wxr.blog .site-main, body.wxr.search .site-main {
	max-width: calc(760px + 2 * var(--wxr-gutter)); margin: 0 auto; padding: 8px var(--wxr-gutter) 96px;
}
body.wxr.single-post .entry-header,
body.wxr.page:not(:has(.wx-page)) .entry-header { max-width: calc(760px + 2 * var(--wxr-gutter)); }
body.wxr.page:not(:has(.wx-page)) .entry-content > h1:first-child,
body.wxr.page:not(:has(.wx-page)) .entry-content > .wp-block-heading:first-child:is(h1) {
	font-weight: 600; font-stretch: 86%; font-size: clamp(40px, 5.4vw, 76px); line-height: 0.98; letter-spacing: -0.038em;
	margin: clamp(40px, 6vw, 88px) 0 24px; text-wrap: balance;
}
body.wxr.page:not(:has(.wx-page)) .entry-content :is(h2) { font-size: clamp(24px, 2.4vw, 32px); margin: 48px 0 12px; letter-spacing: -0.028em; }
body.wxr.page:not(:has(.wx-page)) .entry-content :is(p, li) { font-size: 17.5px; line-height: 1.68; color: var(--wxr-ink-2); }
body.wxr.single-post .entry-content p, body.wxr.single-post .entry-content li { font-size: 18px; line-height: 1.7; color: var(--wxr-ink-2); }
body.wxr.single-post .entry-content h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 48px 0 14px; letter-spacing: -0.03em; }
body.wxr.single-post .entry-content h3 { font-size: 22px; margin: 32px 0 10px; }
body.wxr.single-post .post-thumb img, body.wxr.single-post .ast-single-post-featured-section img { border-radius: var(--wxr-r-lg); }
body.wxr .ast-single-related-posts-container, body.wxr .post-navigation, body.wxr .comments-area { max-width: calc(760px + 2 * var(--wxr-gutter)); margin-left: auto; margin-right: auto; padding-left: var(--wxr-gutter); padding-right: var(--wxr-gutter); background: transparent; }

/* Support form */
body.wxr :is(.wx-support-form, .wx-support) :is(input, textarea, select) {
	font: 400 16px/1.4 var(--wxr-sans); color: var(--wxr-ink); background: #fff;
	border: 1px solid var(--wxr-rule-2); border-radius: var(--wxr-r-sm); padding: 13px 14px; min-height: 48px; width: 100%;
	transition: border-color .15s ease, box-shadow .15s ease;
}
body.wxr :is(.wx-support-form, .wx-support) :is(input, textarea, select):focus { outline: none; border-color: var(--wxr-ink); box-shadow: 0 0 0 4px var(--wxr-signal-tint); }
body.wxr :is(.wx-support-form, .wx-support) label { font: 500 12px/1.3 var(--wxr-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--wxr-graphite); }
body.wxr :is(.wx-support-form, .wx-support) :is(button, [type="submit"]) {
	min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--wxr-signal); color: #fff; font: 600 16px/1 var(--wxr-sans); cursor: pointer;
}
body.wxr :is(.wx-support-form, .wx-support) :is(button, [type="submit"]):hover { background: var(--wxr-signal-press); }

/* Generic form controls in content */
body.wxr .entry-content :is(input[type="text"], input[type="email"], input[type="search"], textarea) { border-radius: var(--wxr-r-sm); border-color: var(--wxr-rule-2); }

/* 8. Exchange widget ---------------------------------------------------- */
body.wxr .wx-widget {
	font-family: var(--wxr-sans);
	max-width: 680px;
	padding: 24px;
	border: 1px solid var(--wxr-rule);
	border-radius: var(--wxr-r-lg);
	background: var(--wxr-surface);
	box-shadow: var(--wxr-lift);
}
body.wxr .wx-widget__form { grid-template-columns: minmax(0, 1fr); gap: 0; align-items: stretch; }
body.wxr .wx-field {
	gap: 10px;
	padding: 14px 14px 14px 18px;
	border: 1px solid var(--wxr-rule);
	border-radius: 16px;
	background: var(--wxr-paper);
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
body.wxr .wx-field:focus-within { border-color: var(--wxr-ink); background: #fff; box-shadow: 0 0 0 4px var(--wxr-signal-tint); }
body.wxr .wx-field label { font: 500 11.5px/1 var(--wxr-mono); text-transform: uppercase; letter-spacing: .09em; color: var(--wxr-graphite); }
body.wxr .wx-field__row { gap: 10px; align-items: center; }

body.wxr .wx-amount {
	height: 52px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent;
	box-shadow: none !important;
	font: 500 clamp(26px, 3vw, 32px)/1 var(--wxr-mono);
	letter-spacing: -0.03em;
	color: var(--wxr-ink);
	min-width: 0;
	-moz-appearance: textfield;
}
body.wxr .wx-amount::-webkit-outer-spin-button, body.wxr .wx-amount::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.wxr .wx-amount:focus, body.wxr .wx-amount:focus-visible { outline: none; }

/* Send row: the picker keeps its natural width (ticker never clipped), the amount takes the rest. */
body.wxr .wx-field__row:not(.wx-field__row--single) .wx-asset-picker { flex: 0 0 auto; min-width: 0; max-width: none; }
body.wxr .wx-field__row:not(.wx-field__row--single) .wx-amount { flex: 1 1 72px; width: 0; }
body.wxr .wx-field__row:not(.wx-field__row--single) .wx-asset-trigger__identity { flex: 0 0 auto; overflow: visible; }
body.wxr .wx-field__row--single .wx-asset-picker { max-width: none; }
body.wxr .wx-asset-control { min-height: 52px; border: 1px solid var(--wxr-rule); border-radius: 12px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
body.wxr .wx-asset-control:hover, body.wxr .wx-asset-picker:focus-within .wx-asset-control { border-color: var(--wxr-ink); }
body.wxr .wx-asset-trigger { min-height: 50px; padding: 8px 12px; border-radius: 12px 0 0 12px; background: transparent; font-family: var(--wxr-sans); gap: 10px; }
body.wxr .wx-asset-trigger:hover, body.wxr .wx-asset-trigger:focus { background: transparent; }
body.wxr .wx-asset-trigger:focus-visible { outline: 2px solid var(--wxr-signal); outline-offset: -2px; }
body.wxr .wx-asset-icon {
	min-width: 40px; height: 26px; padding: 0 7px; border-radius: 7px;
	background: var(--wxr-ink); border: 0; color: var(--wxr-on-ink);
	font: 500 10.5px/1 var(--wxr-mono); letter-spacing: .02em;
}
body.wxr .wx-asset-trigger__ticker { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
body.wxr .wx-asset-trigger__name { font-size: 14px; color: var(--wxr-graphite); }
body.wxr .wx-asset-chevron { border-color: var(--wxr-ink); }
body.wxr .wx-network-chip { border-color: var(--wxr-rule); background: var(--wxr-paper); font: 500 11.5px/1.2 var(--wxr-mono); color: var(--wxr-graphite); padding: 6px 10px; }
body.wxr .wx-network-chip--interactive { color: var(--wxr-ink); }
body.wxr .wx-network-chip--interactive:hover { border-color: var(--wxr-ink); background: #fff; }

body.wxr :is(.wx-asset-panel, .wx-network-menu) { border-color: var(--wxr-rule); border-radius: var(--wxr-r); padding: 8px; box-shadow: 0 24px 60px -20px rgba(13, 16, 20, .35), 0 0 0 1px rgba(13, 16, 20, .02); }
body.wxr .wx-asset-search { min-height: 44px; border-radius: 10px; border-color: var(--wxr-rule); background: var(--wxr-paper); font-size: 15px; padding: 10px 12px; }
body.wxr .wx-asset-search:focus { border-color: var(--wxr-ink); background: #fff; }
body.wxr .wx-asset-group-label { font: 500 10.5px/1 var(--wxr-mono); letter-spacing: .09em; padding: 12px 10px 6px; }
body.wxr .wx-asset-option { border-radius: 10px; padding: 10px; }
body.wxr :is(.wx-asset-option, .wx-network-menu__option):is(:hover, :focus) { background: var(--wxr-paper); }
body.wxr :is(.wx-asset-option, .wx-network-menu__option).is-selected { background: var(--wxr-signal-tint); }
body.wxr .wx-asset-option__sub, body.wxr .wx-network-menu__detail { font-family: var(--wxr-mono); font-size: 11.5px; }

body.wxr .wx-swap {
	justify-self: center;
	position: relative;
	z-index: 2;
	width: 44px;
	height: 44px;
	margin: -12px 0;
	border: 1px solid var(--wxr-rule);
	background: #fff;
	box-shadow: 0 0 0 5px #fff;
	transition: transform .35s var(--wxr-ease), background-color .15s ease, border-color .15s ease;
}
body.wxr .wx-swap:hover { background: var(--wxr-ink); border-color: var(--wxr-ink); transform: rotate(180deg); }
body.wxr .wx-swap:hover svg { color: var(--wxr-on-ink) !important; }
body.wxr .wx-swap:active { transform: rotate(180deg) scale(.94); }
body.wxr .wx-swap[hidden] { display: none; }

body.wxr .wx-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 14px;
	min-height: 58px;
	padding: 0 20px;
	border-radius: 14px;
	background: var(--wxr-signal);
	font: 600 17px/1 var(--wxr-sans);
	letter-spacing: -0.01em;
	transition: background-color .15s ease, transform .15s ease;
}
body.wxr .wx-cta::after { content: '→'; font-weight: 500; transition: transform .2s var(--wxr-ease); }
body.wxr .wx-cta:hover { background: var(--wxr-signal-press); }
body.wxr .wx-cta:hover::after { transform: translateX(3px); }
body.wxr .wx-cta:active { transform: translateY(1px); }
body.wxr .wx-cta:disabled { opacity: 1; background: var(--wxr-ink); }
body.wxr .wx-cta:disabled::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: wxr-spin .8s linear infinite; }
@keyframes wxr-spin { to { transform: rotate(360deg); } }
/* Locked while a provider is selected (amount disabled too): not loading, just unavailable. */
body.wxr .wx-widget__form:has(.wx-amount:disabled) .wx-cta { background: var(--wxr-paper-2); color: var(--wxr-graphite); cursor: not-allowed; }
body.wxr .wx-widget__form:has(.wx-amount:disabled) .wx-cta::after { content: none; }
body.wxr .wx-swap[hidden] + .wx-field { margin-top: 8px; }
body.wxr .wx-amount:disabled { opacity: .55; }
body.wxr .wx-form-error { margin-top: 12px; padding: 12px 14px; border-radius: var(--wxr-r-sm); background: rgba(179, 38, 30, .07); border: 1px solid rgba(179, 38, 30, .25); font-size: 14px; }

/* Elements the widget JS hides with the hidden attribute must stay hidden
   (core's display:flex on .wx-start-over otherwise shows "Start over" on load). */
body.wxr .wx-widget [hidden], body.wxr .wx-widget[hidden] { display: none !important; }

/* Results */
body.wxr .wx-results { margin-top: 22px; }
body.wxr .wx-notice { background: var(--wxr-paper); border: 1px solid var(--wxr-rule); border-radius: var(--wxr-r-sm); color: var(--wxr-ink-2); font-size: 14.5px; padding: 14px 16px; }
body.wxr .wx-quote-list { gap: 10px; }
body.wxr .wx-quote,
body.wxr .wx-quote-list > .wx-quote:first-child {
	position: relative;
	padding: 18px 20px;
	border: 1px solid var(--wxr-rule);
	border-radius: 16px;
	background: #fff;
	box-shadow: none;
}
body.wxr .wx-quote--best,
body.wxr .wx-quote-list > .wx-quote--best:first-child { border: 1.5px solid var(--wxr-ink); box-shadow: 0 22px 44px -28px rgba(13, 16, 20, .38); padding: 20px 22px; }
body.wxr .wx-quote--best::before { content: ''; position: absolute; left: -1.5px; top: 22px; width: 4px; height: 40px; border-radius: 0 4px 4px 0; background: var(--wxr-gain); }
body.wxr .wx-quote__header { gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
body.wxr .wx-quote__provider { font: 600 12.5px/1.2 var(--wxr-mono); letter-spacing: .06em; color: var(--wxr-graphite); }
body.wxr .wx-quote--best .wx-quote__provider { color: var(--wxr-ink); }
body.wxr .wx-quote__amount { font: 500 26px/1.05 var(--wxr-mono); letter-spacing: -0.03em; overflow-wrap: anywhere; }
body.wxr .wx-quote--best .wx-quote__amount { font-size: clamp(30px, 3.4vw, 38px); }
body.wxr .wx-quote__ticker { font-family: var(--wxr-sans); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--wxr-graphite); }
body.wxr .wx-quote__diff { font-size: 14px; color: var(--wxr-graphite); }
body.wxr .wx-quote__diff--best { color: var(--wxr-gain); font-weight: 600; }
body.wxr .wx-badge { font: 500 11px/1.2 var(--wxr-mono); letter-spacing: .03em; padding: 4px 9px; border-color: var(--wxr-rule); background: var(--wxr-paper); color: var(--wxr-graphite); }
body.wxr .wx-badge--best { background: var(--wxr-gain); border-color: var(--wxr-gain); color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; }
body.wxr .wx-quote__meta { border-top-color: var(--wxr-rule); }
body.wxr .wx-quote__meta-row dt { font-size: 13px; }
body.wxr .wx-quote__meta-row dd { font-family: var(--wxr-mono); font-size: 12.5px; }
body.wxr .wx-quote__identity { font-size: 13.5px; }
body.wxr .wx-kyc-grade { font-family: var(--wxr-mono); font-weight: 500; border-radius: 6px; }
body.wxr .wx-kyc-grade--a { color: var(--wxr-gain); background: var(--wxr-gain-tint); }
body.wxr .wx-kyc-grade--b { color: var(--wxr-signal); background: var(--wxr-signal-tint); }
body.wxr .wx-kyc-grade--c { color: var(--wxr-amber); }
body.wxr .wx-privacy-details summary, body.wxr .wx-fee-help summary { font-size: 13.5px; color: var(--wxr-ink-2); padding: 4px 0; }
body.wxr .wx-privacy-details summary:hover, body.wxr .wx-fee-help summary:hover { color: var(--wxr-signal); }
body.wxr .wx-policy-field dt, body.wxr .wx-policy-notes-title { font-family: var(--wxr-mono); font-weight: 500; letter-spacing: .07em; }
body.wxr .wx-quote__continue {
	min-height: 48px; margin-top: 14px; border-radius: 12px;
	border: 1px solid var(--wxr-rule-2); background: #fff; color: var(--wxr-ink);
	font: 600 15px/1 var(--wxr-sans);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
body.wxr .wx-quote__continue:hover { border-color: var(--wxr-ink); background: var(--wxr-paper); }
body.wxr .wx-quote--best .wx-quote__continue { background: var(--wxr-signal); border-color: var(--wxr-signal); color: #fff; }
body.wxr .wx-quote--best .wx-quote__continue:hover { background: var(--wxr-signal-press); border-color: var(--wxr-signal-press); }
body.wxr .wx-failures__item { font-size: 13.5px; padding-left: 14px; position: relative; }
body.wxr .wx-failures__item::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 1px; background: currentColor; }

body.wxr .wx-skeleton {
	height: 118px; border-radius: 16px;
	background: linear-gradient(100deg, var(--wxr-paper) 30%, #fff 50%, var(--wxr-paper) 70%);
	background-size: 300% 100%;
	border: 1px solid var(--wxr-rule);
	animation: wxr-shimmer 1.3s ease-in-out infinite;
}
@keyframes wxr-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Flow: address, review, deposit, status */
body.wxr .wx-flow-step__title { font-size: 22px; font-stretch: 92%; letter-spacing: -0.025em; }
body.wxr .wx-flow-field label { font: 500 11.5px/1.3 var(--wxr-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--wxr-graphite); }
body.wxr .wx-flow-field input {
	min-height: 54px; padding: 14px 16px; border: 1px solid var(--wxr-rule-2); border-radius: 12px; background: #fff;
	font: 400 15px/1.3 var(--wxr-mono); letter-spacing: 0; color: var(--wxr-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}
body.wxr .wx-flow-field input:focus { outline: none; border-color: var(--wxr-ink); box-shadow: 0 0 0 4px var(--wxr-signal-tint); }
body.wxr .wx-flow-field__status { font-size: 13px; font-weight: 500; }
body.wxr .wx-flow-back, body.wxr .wx-start-over__btn, body.wxr .wx-need-help, body.wxr .wx-copy-btn { border-color: var(--wxr-rule-2); border-radius: 12px; font-family: var(--wxr-sans); }
body.wxr .wx-flow-back { min-height: 52px; }
body.wxr :is(.wx-flow-back, .wx-start-over__btn, .wx-need-help, .wx-copy-btn):hover { border-color: var(--wxr-ink); background: var(--wxr-paper); color: var(--wxr-ink); }
body.wxr .wx-flow-actions .wx-cta { margin-top: 0; }
body.wxr .wx-review-row { font-size: 14.5px; padding: 11px 0; }
body.wxr .wx-review-row dd { font-family: var(--wxr-mono); font-size: 13.5px; }
body.wxr :is(.wx-review-disclosure, .wx-start-over, .wx-expiry, .wx-flow-disabled, .wx-history__item) { border-radius: var(--wxr-r-sm); }
body.wxr .wx-review-disclosure__title, body.wxr .wx-history__note { font-family: var(--wxr-mono); }
body.wxr .wx-deposit-preview { border-radius: var(--wxr-r); }
body.wxr .wx-deposit-amount { font: 500 30px/1.1 var(--wxr-mono); letter-spacing: -0.03em; }
body.wxr .wx-deposit-qr img, body.wxr .wx-deposit-qr canvas, body.wxr .wx-deposit-qr svg { border-radius: 12px; border: 1px solid var(--wxr-rule); padding: 8px; background: #fff; }
body.wxr .wx-deposit-address { border: 1px solid var(--wxr-rule); }
body.wxr .wx-deposit-address code { font-family: var(--wxr-mono); font-size: 13.5px; background: transparent; color: var(--wxr-ink); }
body.wxr .wx-expiry__label { font-family: var(--wxr-mono); font-weight: 500; }
body.wxr .wx-timeline__step.is-done::before, body.wxr .wx-timeline__step.is-current::before { background: var(--wxr-ink); }
body.wxr .wx-timeline__step.is-done .wx-timeline__dot { background: var(--wxr-ink); border-color: var(--wxr-ink); }
body.wxr .wx-timeline__step.is-current .wx-timeline__dot { border-color: var(--wxr-signal); box-shadow: 0 0 0 4px var(--wxr-signal-tint); }
body.wxr .wx-timeline__label { font-size: 12.5px; }
body.wxr .wx-history__title { font-size: 16px; }
body.wxr .wx-history__item { background: var(--wxr-paper); border: 1px solid var(--wxr-rule); }
body.wxr .wx-history__pair { font-family: var(--wxr-mono); font-weight: 500; }

/* 9. 404 ---------------------------------------------------------------- */
.wxr-404 { display: block; padding: clamp(56px, 9vw, 128px) 0 clamp(64px, 9vw, 128px); }
.wxr-404__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.wxr-404__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wxr-404__art { width: 100%; height: auto; overflow: visible; }
.wxr-404__art .o { fill: var(--wxr-ink); }
.wxr-404__art .l { fill: none; stroke: var(--wxr-ink); stroke-opacity: .4; stroke-width: 2; stroke-linecap: round; }
.wxr-404__art .l.is-lost { stroke: var(--wxr-signal); stroke-opacity: 1; stroke-dasharray: 0.02 0.03; }
.wxr-404__art .e { fill: var(--wxr-paper); stroke: var(--wxr-ink); stroke-width: 2; }
.wxr-404__art .x { font: 500 34px var(--wxr-mono); fill: var(--wxr-signal); }
.wxr-404__routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--wxr-ink); }
body.wxr .wxr-404__routes a { display: flex; flex-direction: column; gap: 22px; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--wxr-rule); color: var(--wxr-ink); text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.015em; }
body.wxr .wxr-404__routes a + a { padding-left: 20px; border-left: 1px solid var(--wxr-rule); }
body.wxr .wxr-404__routes a .wxr-mono { font-size: 12px; font-weight: 500; color: var(--wxr-graphite); }
body.wxr .wxr-404__routes a:hover { color: var(--wxr-signal); }

/* 10. Motion ------------------------------------------------------------ */
.wxr-reveal-on [data-wxr-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--wxr-ease), transform .8s var(--wxr-ease); }
.wxr-reveal-on [data-wxr-reveal].is-in { opacity: 1; transform: none; }
.wxr-reveal-on .wxr-steps [data-wxr-reveal]:nth-child(2), .wxr-reveal-on .wxr-cards [data-wxr-reveal]:nth-child(2), .wxr-reveal-on .wxr-grades [data-wxr-reveal]:nth-child(2) { transition-delay: .08s; }
.wxr-reveal-on .wxr-steps [data-wxr-reveal]:nth-child(3), .wxr-reveal-on .wxr-cards [data-wxr-reveal]:nth-child(3), .wxr-reveal-on .wxr-grades [data-wxr-reveal]:nth-child(3) { transition-delay: .16s; }
.wxr-reveal-on .wxr-grades [data-wxr-reveal]:nth-child(4) { transition-delay: .24s; }
.wxr-reveal-on .wxr-grades [data-wxr-reveal]:nth-child(n+5) { transition-delay: .32s; }
.wxr-reveal-on .wxr-404__art .l { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--wxr-ease); }
.wxr-reveal-on .wxr-404__art .l.is-lost { stroke-dasharray: 0.02 0.03; stroke-dashoffset: 0; }
.wxr-reveal-on .wxr-404__art.is-in .l { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
	.wxr-pulse::after, body.wxr .wx-skeleton, body.wxr .wx-cta:disabled::after { animation: none; }
	body.wxr *, body.wxr *::before, body.wxr *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	body.wxr .wx-swap:hover, body.wxr .wx-swap:active { transform: none; }
	.wxr-custody__coin { display: none; }
}
@media print {
	.wxr-reveal-on [data-wxr-reveal] { opacity: 1 !important; transform: none !important; }
	.wxr-header, .wxr-drawer, .wxr-footer__word { display: none !important; }
}

/* 11. Responsive -------------------------------------------------------- */
@media (max-width: 1080px) {
	.wxr-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "tool" "ticks" "fig"; grid-template-rows: auto; }
	.wxr-hero__ticks { margin-top: -8px !important; }
	.wxr-hero__tool, .wxr-figure { max-width: 680px; }
	.wxr-lede { max-width: 52ch; }
	.wxr-gap__grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
	.wxr-film__grid, .wxr-faq__grid { grid-template-columns: minmax(0, 1fr); }
	.wxr-faq__grid > div:first-child { position: static; }
	.wxr-footer__top { grid-template-columns: minmax(0, 1fr); }
	.wxr-404__grid { grid-template-columns: minmax(0, 1fr); }
	.wxr-404__art { max-width: 420px; }
}
@media (max-width: 860px) {
	.wxr-steps { grid-template-columns: minmax(0, 1fr); }
	.wxr-cards { grid-template-columns: minmax(0, 1fr); }
	.wxr-card h3 { margin-top: 20px; }
	body.wxr .wx-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.wxr .wx-concepts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.wxr .wx-concepts__item:nth-child(2n) { border-right: 0; }
	body.wxr .wx-concepts__item:nth-child(2n+1) { padding-left: 0; }
	body.wxr .wx-concepts__item { border-bottom: 1px solid var(--wxr-rule); }
	body.wxr .wx-article .wx-section > :is(h2, p, ul, ol, table, figure, .wx-content-list, .wp-block-table, .wp-block-image) { margin-left: 0; }
	body.wxr .wx-article .wx-section > h2::before { position: static; margin-left: 0; margin-top: 0; }
	.wxr-404__routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.wxr .wxr-404__routes a:nth-child(3) { padding-left: 0; border-left: 0; }

	/* Checks table → stacked rows */
	.wxr-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.wxr-table, .wxr-table tbody, .wxr-table tr { display: block; }
	body.wxr .wxr-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--wxr-rule); }
	body.wxr .wxr-table tbody tr:hover { background: transparent; }
	body.wxr .wxr-table :is(th, td) { display: block; padding: 0 !important; border: 0; text-align: left !important; }
	body.wxr .wxr-table tbody th { grid-column: 1 / -1; font-size: 18px; margin-bottom: 4px; }
	body.wxr .wxr-table td::before { content: attr(data-label); display: block; font: 500 10.5px/1.4 var(--wxr-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--wxr-graphite); margin-bottom: 2px; }
	body.wxr .wxr-table td { font-size: 14px; }
}
@media (max-width: 640px) {
	:root { --wxr-header-h: 64px; }
	body.wxr { font-size: 16px; }
	.wxr-hero { padding-top: 20px; }
	.wxr-display { font-size: clamp(38px, 11vw, 52px); margin-bottom: 16px; }
	.wxr-lede { font-size: 17px; margin-bottom: 20px; }
	.wxr-ticks li { font-size: 13px; padding: 7px 12px 7px 8px; }
	.wxr-hero__grid { row-gap: 28px; }
	.wxr-tool { border-radius: 18px; }
	.wxr-tool__head { padding: 14px 16px 12px; }
	body.wxr .wxr-tool .wx-widget { padding: 14px 14px 16px; border-radius: 0 0 18px 18px; }
	body.wxr .wx-widget { padding: 16px; border-radius: 18px; }
	body.wxr .wx-field { padding: 12px 12px 12px 14px; }
	body.wxr .wx-amount { font-size: 26px; height: 48px !important; }
	body.wxr .wx-field__row:not(.wx-field__row--single) .wx-asset-trigger__name { display: none; }
	body.wxr .wx-quote, body.wxr .wx-quote-list > .wx-quote:first-child { padding: 16px; }
	body.wxr .wx-quote--best, body.wxr .wx-quote-list > .wx-quote--best:first-child { padding: 18px 16px; }
	.wxr-route__name { font-size: 18px; }
	.wxr-route__amt { font-size: 16.5px; }
	.wxr-route__axis text { font-size: 14px; }
	.wxr-figure__pair { font-size: 19px; }
	.wxr-custody { padding: 18px 12px; border-radius: 16px; }
	.wxr-custody__svg--wide { display: none; }
	.wxr-custody__svg--tall { display: block; }
	.wxr-wins li { grid-template-columns: 96px 1fr; }
	.wxr-gaps li { grid-template-columns: minmax(0, 1fr) 72px 52px; gap: 10px; }
	.wxr-wins__val { grid-column: 1 / -1; }
	body.wxr .wx-topics { grid-template-columns: minmax(0, 1fr); }
	body.wxr .wx-concepts { grid-template-columns: minmax(0, 1fr); }
	body.wxr .wx-concepts__item { border-right: 0; padding-left: 0 !important; }
	.wxr-faq__item summary { font-size: 17px; padding: 18px 0; }
	.wxr-footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.wxr-footer__cols > :last-child { grid-column: 1 / -1; }
	.wxr-404__routes { grid-template-columns: minmax(0, 1fr); }
	body.wxr .wxr-404__routes a, body.wxr .wxr-404__routes a + a { padding: 16px 0; border-left: 0; flex-direction: row; align-items: baseline; gap: 14px; }
	.wxr-btn--lg { width: 100%; }
}
