/* Locals — v2 components and sections (home first, now shared by every page). Builds on site.css. */

:root {
	--ic-fill: rgba(200, 241, 105, 0.55);
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

.dark {
	--ic-fill: rgba(200, 241, 105, 0.18);
}

.ic {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

/* Live pill */

.live-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 8px;
	border-radius: 999px;
	background: var(--white);
	border: 1px solid var(--line);
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-2);
	margin-bottom: 26px;
	box-shadow: 0 6px 20px -12px rgba(16, 41, 30, 0.35);
}

.live-pill b {
	background: var(--forest);
	color: var(--lime);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 999px;
}

.pulse {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3fae2a;
	flex-shrink: 0;
}

.pulse::after {
	content: '';
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 2px solid #3fae2a;
	opacity: 0;
	animation: pulse 2s var(--ease-out) infinite;
}

@keyframes pulse {
	0% { transform: scale(0.4); opacity: 0.8; }
	100% { transform: scale(1.4); opacity: 0; }
}

/* Hero */

.hero-v2 {
	position: relative;
	padding: 64px 0 110px;
	overflow: hidden;
	isolation: isolate;
}

.hero-v2 .hero-grid {
	grid-template-columns: 1fr 1.08fr;
	gap: 56px;
}

.hero-v2 h1 {
	font-size: clamp(46px, 5.3vw, 76px);
}

.hero-v2 h1 .hl {
	background: linear-gradient(var(--lime), var(--lime)) left 88% / 0% 30% no-repeat;
	animation: highlight 1.1s 0.35s var(--ease-out) forwards;
	padding: 0 4px;
	margin: 0 -4px;
}

@keyframes highlight {
	to { background-size: 100% 30%; }
}

.hero-v2 .lede {
	margin: 26px 0 34px;
}

.trust-row {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
	margin-top: 34px;
	font-size: 14.5px;
	color: var(--ink-2);
}

.trust-row span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.trust-row .ic {
	width: 20px;
	height: 20px;
	color: var(--forest);
}

/* Barrio grid: the logo's blocks as a living background */

.barrio {
	position: absolute;
	inset: 0;
	z-index: -1;
	display: grid;
	grid-template-columns: repeat(var(--cols, 24), 1fr);
	gap: 10px;
	padding: 10px;
	pointer-events: none;
	-webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 20%, transparent 75%);
}

.barrio i {
	aspect-ratio: 1;
	border-radius: 22%;
	background: rgba(16, 41, 30, 0.045);
	transition: background 1.6s ease, transform 1.6s var(--ease-out);
}

.barrio i.on {
	background: rgba(200, 241, 105, 0.9);
	transform: scale(0.86);
	border-radius: 50%;
}

.barrio i.dim {
	background: rgba(16, 41, 30, 0.1);
}

/* Product window */

.demo {
	position: relative;
	padding: 0 34px 110px 0;
}

.win {
	position: relative;
	z-index: 1;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 20px;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.8) inset,
		0 50px 100px -40px rgba(16, 41, 30, 0.45),
		0 18px 36px -24px rgba(16, 41, 30, 0.3);
	overflow: hidden;
	transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
	transform-origin: left center;
	transition: transform 0.6s var(--ease-out);
}

.demo:hover .win {
	transform: perspective(1600px) rotateY(0) rotateX(0);
}

.win-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 42px;
	padding: 0 14px;
	background: #faf9f5;
	border-bottom: 1px solid var(--paper-2);
}

.win-bar > i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e2ddd0;
}

.win-url {
	margin: 0 0 0 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
	background: var(--white);
	border: 1px solid var(--paper-2);
	border-radius: 8px;
	padding: 4px 12px;
}

.win-url svg {
	width: 11px;
	height: 11px;
}

.win-body {
	display: grid;
	grid-template-columns: 56px 1fr;
	min-height: 470px;
}

.win-side {
	border-right: 1px solid var(--paper-2);
	padding: 14px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	background: #fcfbf8;
}

.win-side .brand svg {
	width: 26px;
	height: 26px;
}

.win-side .nav-ic {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	color: var(--muted);
}

.win-side .nav-ic .ic {
	width: 19px;
	height: 19px;
}

.win-side .nav-ic.active {
	background: var(--paper);
	color: var(--forest);
	box-shadow: inset 0 0 0 1px var(--line);
}

.win-side hr {
	width: 24px;
	border: 0;
	border-top: 1px solid var(--paper-2);
	margin: 4px 0;
}

.win-main {
	padding: 20px 22px 18px;
	min-width: 0;
}

.route-head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.route-head .fl {
	width: 38px;
	height: 38px;
}

.route-head h4 {
	font-size: 16px;
}

.route-head small {
	display: block;
	color: var(--muted);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0;
}

.route-head .state {
	margin-left: auto;
}

.state {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 650;
	padding: 5px 11px;
	border-radius: 999px;
	background: #fbefd6;
	color: #7a4f05;
	transition: background 0.4s ease, color 0.4s ease;
}

.state::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.state.is-active {
	background: #e4f6cf;
	color: #24531a;
}

.balance {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin: 18px 0 14px;
	padding: 16px 18px;
	border-radius: 14px;
	background:
		radial-gradient(120% 160% at 100% 0%, rgba(200, 241, 105, 0.35), transparent 60%),
		var(--forest);
	color: var(--white);
}

.balance small {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 2px;
}

.balance b {
	font-family: var(--mono);
	font-size: 26px;
	letter-spacing: -0.03em;
	font-weight: 600;
}

.balance b em {
	font-style: normal;
	font-size: 14px;
	color: var(--lime);
	margin-left: 6px;
}

.balance .delta {
	font-family: var(--mono);
	font-size: 12.5px;
	color: var(--lime);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
}

.balance .delta.show {
	opacity: 1;
	transform: none;
}

.bank {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border: 1px solid var(--paper-2);
	border-radius: 12px;
	overflow: hidden;
}

.bank > div {
	padding: 9px 12px;
	border-right: 1px solid var(--paper-2);
	min-width: 0;
}

.bank > div:last-child {
	border-right: 0;
}

.bank small {
	display: block;
	font-size: 11.5px;
	color: var(--muted);
}

.bank b {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	font-family: var(--mono);
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
}

.bank b svg {
	width: 13px;
	height: 13px;
	color: var(--muted);
	flex-shrink: 0;
}

.timeline {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	position: relative;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 17px;
	top: 22px;
	bottom: 22px;
	width: 2px;
	background: var(--paper-2);
}

.timeline .fill-line {
	position: absolute;
	left: 17px;
	top: 22px;
	width: 2px;
	height: 0;
	background: var(--forest-3);
	transition: height 0.8s var(--ease-out);
}

.tl {
	position: relative;
	display: grid;
	grid-template-columns: 36px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 9px 0;
	opacity: 0.35;
	transition: opacity 0.5s ease;
}

.tl.is-on,
.tl.is-done {
	opacity: 1;
}

.tl .dot {
	position: relative;
	z-index: 1;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	background: var(--paper);
	color: var(--forest);
	border: 1px solid var(--line);
	transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.tl .dot .ic {
	width: 18px;
	height: 18px;
}

.tl.is-on .dot::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 14px;
	border: 2px solid var(--lime-2);
	animation: ring 1.4s ease-out infinite;
}

@keyframes ring {
	0% { opacity: 0.9; transform: scale(0.9); }
	100% { opacity: 0; transform: scale(1.25); }
}

.tl.is-done .dot {
	background: var(--forest);
	color: var(--lime);
	border-color: var(--forest);
	--ic-fill: rgba(200, 241, 105, 0.25);
}

.tl strong {
	display: block;
	font-size: 14px;
	font-weight: 650;
	letter-spacing: -0.01em;
}

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

.tl .amt {
	font-family: var(--mono);
	font-weight: 600;
	font-size: 14px;
	text-align: right;
	white-space: nowrap;
}

.tl .amt small {
	font-family: var(--font);
	text-align: right;
}

.tl .bar {
	display: block;
	height: 4px;
	width: 120px;
	border-radius: 2px;
	background: var(--paper-2);
	overflow: hidden;
	margin-top: 6px;
}

.tl .bar i {
	display: block;
	height: 100%;
	width: 0;
	background: var(--forest-3);
	transition: width 1.4s linear;
}

/* Floating pieces around the window */

.float {
	position: absolute;
	z-index: 2;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 24px 50px -24px rgba(16, 41, 30, 0.45);
	opacity: 0;
	transform: translateY(14px) scale(0.97);
	transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
}

.float.show {
	opacity: 1;
	transform: none;
}

.hook-chip {
	top: -22px;
	right: -6px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	font-family: var(--mono);
	font-size: 12.5px;
	background: #0a1a12;
	color: #d9e4dc;
	border-color: rgba(255, 255, 255, 0.08);
}

.hook-chip b {
	color: var(--lime);
	font-weight: 600;
}

.hook-chip .ic {
	width: 18px;
	height: 18px;
	color: var(--lime);
	--ic-fill: rgba(200, 241, 105, 0.2);
}

.payout-toast {
	left: -40px;
	bottom: 44px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 12px 12px;
	font-size: 14px;
	max-width: 290px;
}

.payout-toast .fl {
	width: 36px;
	height: 36px;
}

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

.payout-toast .ok {
	margin-left: 6px;
	color: #2e6b1f;
}

.demo .card-visual {
	position: absolute;
	right: -10px;
	bottom: 0;
	width: 240px;
	z-index: 3;
	transform: rotate(-6deg);
	transition: transform 0.4s var(--ease-out);
	box-shadow: 0 30px 60px -20px rgba(11, 31, 22, 0.65);
}

.card-visual .shine,
.mini-card .shine {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.16) 45%, transparent 60%);
	background-size: 250% 100%;
	animation: shine 5s ease-in-out infinite;
	pointer-events: none;
}

@keyframes shine {
	0%, 60% { background-position: 120% 0; }
	100% { background-position: -120% 0; }
}

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

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

.card-visual .contactless {
	width: 20px;
	height: 20px;
	opacity: 0.75;
}

/* Flags */

.fl {
	display: inline-block;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	flex-shrink: 0;
	box-shadow: 0 0 0 1px rgba(16, 41, 30, 0.08);
	overflow: hidden;
	background: var(--paper-2);
}

.fl svg {
	width: 100%;
	height: 100%;
}

/* Rails strip */

.rails {
	position: relative;
	padding: 26px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.rails-track {
	display: flex;
	gap: 14px;
	width: max-content;
	animation: ticker 60s linear infinite;
}

.rails:hover .rails-track {
	animation-play-state: paused;
}

.rail {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 8px;
	border-radius: 999px;
	background: var(--white);
	border: 1px solid var(--line);
	font-size: 14.5px;
	font-weight: 650;
	white-space: nowrap;
}

.rail .fl {
	width: 28px;
	height: 28px;
}

.rail em {
	font-style: normal;
	font-weight: 500;
	color: var(--muted);
}

.rail .dotst {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #3fae2a;
}

.rail .dotst.soon {
	background: var(--amber);
}

.rail .dotst.early {
	background: #b7b2a3;
}

/* Facts band */

.facts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin-top: 80px;
	border-top: 1px solid var(--line);
}

.fact {
	padding: 26px 24px 0 0;
}

.fact b {
	display: block;
	font-size: clamp(40px, 4.4vw, 60px);
	font-weight: 750;
	letter-spacing: -0.05em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.fact b sup {
	font-size: 0.42em;
	vertical-align: top;
	margin-left: 4px;
	letter-spacing: -0.02em;
	color: var(--forest-3);
}

.fact > span {
	display: block;
	margin-top: 10px;
	color: var(--muted);
	font-size: 15px;
	max-width: 220px;
}

/* Bento */

.bento {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: minmax(250px, auto);
	gap: 18px;
}

.tile {
	position: relative;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: 30px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
}

.tile:hover {
	transform: translateY(-4px);
	border-color: #cfc8b4;
	box-shadow: 0 34px 60px -38px rgba(16, 41, 30, 0.5);
}

.tile::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 241, 105, 0.22), transparent 45%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.tile:hover::before {
	opacity: 1;
}

.tile > * {
	position: relative;
}

.tile .kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 650;
	color: var(--forest-3);
	margin-bottom: 16px;
}

.tile .kicker .ic-box {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	background: var(--paper);
	color: var(--forest);
	border: 1px solid var(--line);
}

.tile h3 {
	font-size: clamp(24px, 2.3vw, 32px);
	margin-bottom: 10px;
}

.tile p {
	color: var(--ink-2);
	font-size: 16px;
	max-width: 440px;
}

.tile .link-arrow {
	margin-top: auto;
	align-self: flex-start;
}

.tile.t-accounts {
	grid-column: span 4;
	grid-row: span 2;
	background:
		radial-gradient(90% 70% at 100% 100%, rgba(200, 241, 105, 0.28), transparent 60%),
		var(--forest);
	color: var(--white);
	border-color: var(--forest);
	--ic-fill: rgba(200, 241, 105, 0.2);
}

.tile.t-accounts p {
	color: rgba(255, 255, 255, 0.72);
}

.tile.t-accounts .kicker {
	color: var(--lime);
}

.tile.t-accounts .kicker .ic-box {
	background: rgba(200, 241, 105, 0.1);
	border-color: rgba(200, 241, 105, 0.2);
	color: var(--lime);
}

.tile.t-accounts::before {
	background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 241, 105, 0.14), transparent 45%);
}

.tile.t-payouts,
.tile.t-cards {
	grid-column: span 2;
}

.tile.t-kyc {
	grid-column: span 6;
	flex-direction: row;
	align-items: center;
	gap: 40px;
	min-height: 0;
}

/* Accounts tile visual: stacked local account cards */

.acct-stack {
	position: relative;
	height: 380px;
	margin: 30px 0 30px;
}

.acct {
	position: absolute;
	width: min(440px, 80%);
	background: var(--white);
	color: var(--ink);
	border-radius: 16px;
	padding: 16px 18px;
	box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.55);
	transition: transform 0.6s var(--ease-out);
}

.acct-head {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 14.5px;
	margin-bottom: 12px;
}

.acct-head .fl {
	width: 30px;
	height: 30px;
}

.acct-head .state {
	margin-left: auto;
	font-size: 11.5px;
	padding: 4px 9px;
}

.acct-rows {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 16px;
}

.acct-rows small {
	display: block;
	font-size: 11px;
	color: var(--muted);
}

.acct-rows b {
	font-family: var(--mono);
	font-size: 13.5px;
	font-weight: 600;
}

.acct.a1 { left: 0; top: 0; z-index: 3; }
.acct.a2 { left: 10%; top: 128px; z-index: 2; }
.acct.a3 { left: 20%; top: 256px; z-index: 1; opacity: 0.88; }

.t-accounts:hover .acct.a2 { transform: translate(8px, 6px); }
.t-accounts:hover .acct.a3 { transform: translate(16px, 12px); }

/* Payout tile visual */

.route-viz {
	margin: 20px 0 24px;
	padding: 16px;
	border-radius: 16px;
	background: var(--paper);
	border: 1px solid var(--line);
}

.route-viz .ends {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.route-viz .end {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mono);
	font-weight: 600;
	font-size: 14px;
}

.route-viz .end .fl {
	width: 28px;
	height: 28px;
}

.route-viz .wire {
	flex: 1;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px);
	position: relative;
	overflow: hidden;
}

.route-viz .wire i {
	position: absolute;
	top: -2px;
	width: 26px;
	height: 6px;
	border-radius: 3px;
	background: var(--forest-3);
	animation: travel 2.2s var(--ease-out) infinite;
}

@keyframes travel {
	from { left: -30px; }
	to { left: 100%; }
}

.route-viz .lock {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 14px;
	font-size: 12.5px;
	color: var(--muted);
}

.route-viz .lock b {
	font-family: var(--mono);
	color: var(--ink);
	font-weight: 600;
}

.countdown {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.countdown svg {
	width: 16px;
	height: 16px;
	transform: rotate(-90deg);
}

.countdown circle {
	fill: none;
	stroke-width: 3;
}

.countdown .track {
	stroke: var(--paper-2);
}

.countdown .prog {
	stroke: var(--forest-3);
	stroke-dasharray: 44;
	stroke-linecap: round;
	transition: stroke-dashoffset 1s linear;
}

/* Cards tile visual */

.mini-card-wrap {
	perspective: 900px;
	margin: 20px 0 24px;
	position: relative;
}

.mini-card {
	position: relative;
	width: 100%;
	max-width: 300px;
	aspect-ratio: 1.586;
	border-radius: 16px;
	padding: 18px;
	color: var(--white);
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(200, 241, 105, 0.4), transparent 55%),
		linear-gradient(135deg, #173829, #0b1f16);
	box-shadow: 0 30px 50px -26px rgba(11, 31, 22, 0.7);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transform-style: preserve-3d;
	transition: transform 0.2s ease-out;
	overflow: hidden;
}

.mini-card .row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.mini-card .brandmark {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -0.05em;
	--mk-a: var(--paper);
	--mk-c: var(--lime);
}

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

.mini-card .num {
	font-family: var(--mono);
	letter-spacing: 0.14em;
	font-size: 14px;
}

.auth-ping {
	position: absolute;
	right: -6px;
	bottom: -14px;
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 8px 12px;
	font-size: 12.5px;
	font-weight: 600;
	box-shadow: 0 18px 30px -18px rgba(16, 41, 30, 0.5);
	animation: ping-in 4s var(--ease-out) infinite;
}

.auth-ping .ic {
	width: 18px;
	height: 18px;
	color: #2e6b1f;
	--ic-fill: rgba(63, 174, 42, 0.2);
}

.auth-ping small {
	color: var(--muted);
	font-weight: 500;
	font-family: var(--mono);
}

@keyframes ping-in {
	0%, 12% { opacity: 0; transform: translateY(8px); }
	20%, 80% { opacity: 1; transform: none; }
	92%, 100% { opacity: 0; transform: translateY(-4px); }
}

/* KYC tile */

.kyc-steps {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-left: auto;
}

.kyc-step {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px 10px 10px;
	border-radius: 999px;
	background: var(--paper);
	border: 1px solid var(--line);
	font-weight: 600;
	font-size: 14.5px;
	transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.kyc-step .ic-box {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--muted);
	transition: inherit;
}

.kyc-step .ic {
	width: 17px;
	height: 17px;
}

.kyc-step.ok {
	background: #eef8e2;
	border-color: #cfe9b4;
	color: #24531a;
}

.kyc-step.ok .ic-box {
	background: var(--forest);
	border-color: var(--forest);
	color: var(--lime);
	--ic-fill: rgba(200, 241, 105, 0.25);
}

/* Pipeline (how it works) */

.pipe {
	position: relative;
	border: 1px solid var(--line-dark);
	border-radius: 24px;
	padding: 40px 32px 32px;
	background:
		radial-gradient(60% 80% at 50% 0%, rgba(200, 241, 105, 0.07), transparent 70%),
		rgba(255, 255, 255, 0.015);
}

.pipe-nodes {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.pipe-line {
	position: absolute;
	left: 12.5%;
	right: 12.5%;
	top: 36px;
	height: 2px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.pipe-line .prog {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: linear-gradient(90deg, rgba(200, 241, 105, 0.2), var(--lime));
	transition: width 0.9s var(--ease-out);
}

.pipe-line .packet {
	position: absolute;
	top: -3px;
	width: 40px;
	height: 8px;
	border-radius: 4px;
	background: var(--lime);
	box-shadow: 0 0 18px 4px rgba(200, 241, 105, 0.45);
	animation: packet 3.2s linear infinite;
}

.pipe-line .packet:nth-child(3) {
	animation-delay: 1.6s;
}

@keyframes packet {
	from { left: -40px; }
	to { left: 100%; }
}

.node {
	position: relative;
	text-align: center;
}

.node .bubble {
	width: 72px;
	height: 72px;
	margin: 0 auto 18px;
	border-radius: 22px;
	display: grid;
	place-items: center;
	background: var(--forest-2);
	border: 1px solid var(--line-dark);
	color: rgba(255, 255, 255, 0.7);
	transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--ease-out);
}

.node .bubble .ic {
	width: 28px;
	height: 28px;
}

.node .bubble .brand svg {
	width: 30px;
	height: 30px;
}

.node.on .bubble {
	background: var(--lime);
	color: var(--forest);
	border-color: var(--lime);
	box-shadow: 0 0 0 8px rgba(200, 241, 105, 0.1), 0 16px 40px -10px rgba(200, 241, 105, 0.5);
	transform: translateY(-3px);
	--ic-fill: rgba(16, 41, 30, 0.15);
}

.node.on .bubble .brand {
	--mk-a: var(--forest);
	--mk-c: var(--white);
}

.node .label {
	font-family: var(--mono);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	display: block;
	margin-bottom: 6px;
}

.node h4 {
	font-size: 19px;
	margin-bottom: 8px;
}

.node p {
	color: rgba(255, 255, 255, 0.62);
	font-size: 14.5px;
	margin: 0 auto;
	max-width: 230px;
}

.node code {
	display: inline-block;
	margin-top: 14px;
	font-size: 12px;
	color: var(--lime);
	background: rgba(200, 241, 105, 0.07);
	border: 1px solid rgba(200, 241, 105, 0.16);
	padding: 5px 9px;
	border-radius: 8px;
	transition: background 0.4s ease;
}

.node.on code {
	background: rgba(200, 241, 105, 0.16);
}

/* Developers: code + event stream */

.dev-stack {
	display: grid;
	gap: 16px;
}

.code .code-tabs {
	align-items: center;
}

.code .copy {
	margin-left: auto;
	margin-bottom: 8px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.7);
	font-family: var(--mono);
	font-size: 12px;
	padding: 5px 10px;
	border-radius: 8px;
	cursor: pointer;
}

.code pre .ln {
	display: inline-block;
	width: 22px;
	color: rgba(255, 255, 255, 0.22);
	user-select: none;
}

.events {
	background: #0a1a12;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 14px 16px;
	color: #d9e4dc;
	font-family: var(--mono);
	font-size: 12.5px;
	box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.6);
}

.events-head {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 8px;
}

.events-head .pulse {
	width: 7px;
	height: 7px;
}

.events-head span:last-child {
	margin-left: auto;
}

.events ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 132px;
	overflow: hidden;
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-start;
}

.ev {
	display: grid;
	grid-template-columns: 70px 1fr auto;
	gap: 10px;
	padding: 6px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	animation: ev-in 0.45s var(--ease-out);
}

.ev time {
	color: rgba(255, 255, 255, 0.35);
}

.ev b {
	color: var(--lime);
	font-weight: 500;
}

.ev .code200 {
	color: #8fd3ff;
}

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

/* Use cases */

.uses {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.use {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 26px;
	display: flex;
	flex-direction: column;
	transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.use:hover {
	transform: translateY(-4px);
	box-shadow: 0 30px 50px -36px rgba(16, 41, 30, 0.5);
}

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

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

.use h4 {
	font-size: 20px;
	margin-bottom: 8px;
}

.use p {
	color: var(--ink-2);
	font-size: 15px;
}

.use .flowchip {
	margin-top: auto;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mono);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--forest-3);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 4px 10px 4px 4px;
}

.use .flowchip .fl {
	width: 20px;
	height: 20px;
}

/* Markets */

.markets {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.market {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.market:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 40px -30px rgba(16, 41, 30, 0.5);
}

.market .top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.market .fl {
	width: 44px;
	height: 44px;
}

.market strong {
	display: block;
	font-size: 17px;
	letter-spacing: -0.015em;
}

.market small {
	display: block;
	color: var(--muted);
	font-size: 13.5px;
	margin-top: 2px;
}

.market .code-cur {
	font-family: var(--mono);
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
}

.market.live {
	border-color: #cfe9b4;
	background: linear-gradient(180deg, #f7fcef, var(--white) 60%);
}

.market .status {
	align-self: flex-start;
}

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

@keyframes blink {
	50% { opacity: 0.25; }
}

.payout-flags {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 28px;
	padding: 18px 22px;
	border-radius: 18px;
	background: var(--white);
	border: 1px solid var(--line);
	flex-wrap: wrap;
}

.payout-flags .stack {
	display: flex;
}

.payout-flags .stack .fl {
	width: 30px;
	height: 30px;
	margin-left: -8px;
	box-shadow: 0 0 0 2px var(--white);
}

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

.payout-flags p {
	margin: 0;
	color: var(--ink-2);
	font-size: 15.5px;
}

.payout-flags .link-arrow {
	margin-left: auto;
}

/* Trust (compliance) with new icons */

.trust .ico .ic {
	width: 22px;
	height: 22px;
}

/* CTA with living grid */

.cta-box .barrio {
	left: auto;
	width: 38%;
	gap: 7px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 70%), linear-gradient(transparent, #000 30%, #000 70%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent, #000 70%), linear-gradient(transparent, #000 30%, #000 70%, transparent);
	mask-composite: intersect;
	z-index: 0;
	opacity: 0.8;
}

.cta-box .barrio i {
	background: rgba(16, 41, 30, 0.05);
}

.cta-box .barrio i.on {
	background: rgba(16, 41, 30, 0.55);
	transform: scale(0.7);
}

.cta-box .actions {
	position: relative;
	z-index: 1;
}

.cta-box > div:not(.barrio) {
	position: relative;
	z-index: 1;
}

.cta-box::after {
	display: none;
}

/* Responsive */

@media (max-width: 1080px) {
	.hero-v2 .hero-grid {
		grid-template-columns: 1fr;
	}

	.demo {
		max-width: 640px;
	}

	.win {
		transform: none;
	}

	.facts {
		grid-template-columns: 1fr 1fr;
	}

	.fact {
		padding-bottom: 24px;
	}

	.bento {
		grid-template-columns: 1fr 1fr;
	}

	.tile.t-accounts,
	.tile.t-kyc {
		grid-column: span 2;
	}

	.tile.t-accounts {
		grid-row: auto;
	}

	.tile.t-payouts,
	.tile.t-cards {
		grid-column: span 1;
	}

	.tile.t-kyc {
		flex-direction: column;
		align-items: flex-start;
	}

	.kyc-steps {
		margin-left: 0;
	}

	.pipe-nodes {
		grid-template-columns: 1fr 1fr;
		row-gap: 40px;
	}

	.pipe-line {
		display: none;
	}

	.uses {
		grid-template-columns: 1fr 1fr;
	}

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

	.cta-box .barrio {
		display: none;
	}
}

@media (max-width: 680px) {
	.hero-v2 {
		padding: 36px 0 70px;
	}

	.barrio {
		--cols: 10;
		-webkit-mask-image: radial-gradient(ellipse 90% 40% at 70% 70%, #000 10%, transparent 75%);
		mask-image: radial-gradient(ellipse 90% 40% at 70% 70%, #000 10%, transparent 75%);
	}

	.demo {
		padding: 0 0 70px;
	}

	.win-body {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.win-side {
		display: none;
	}

	.win-main {
		padding: 16px;
	}

	.win-url {
		font-size: 10.5px;
	}

	.bank {
		grid-template-columns: 1fr 1fr;
	}

	.bank > div:last-child {
		grid-column: 1 / -1;
		border-top: 1px solid var(--paper-2);
	}

	.bank > div:nth-child(2) {
		border-right: 0;
	}

	.tl .bar {
		width: 80px;
	}

	.hook-chip {
		display: none;
	}

	.payout-toast {
		display: none;
	}

	.barrio {
		opacity: 0.6;
	}

	.demo .card-visual {
		width: 170px;
		padding: 12px;
		right: 0;
		bottom: 8px;
	}

	.demo .card-visual .num {
		font-size: 11px;
	}

	.bento,
	.uses {
		grid-template-columns: 1fr;
	}

	.facts {
		margin-top: 56px;
	}

	.fact {
		padding-right: 12px;
	}

	.tile.t-accounts,
	.tile.t-kyc,
	.tile.t-payouts,
	.tile.t-cards {
		grid-column: span 1;
	}

	.tile {
		padding: 24px;
	}

	.acct-stack {
		height: 330px;
	}

	.acct.a2 { top: 108px; left: 5%; }
	.acct.a3 { top: 216px; left: 10%; }

	.acct {
		width: 92%;
	}

	.pipe {
		padding: 28px 18px;
	}

	.pipe-nodes {
		grid-template-columns: 1fr;
	}

	.markets {
		grid-template-columns: 1fr 1fr;
	}

	.payout-flags .link-arrow {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rails-track,
	.pipe-line .packet,
	.route-viz .wire i,
	.card-visual .shine,
	.mini-card .shine,
	.auth-ping,
	.pulse::after {
		animation: none;
	}

	.hero-v2 h1 .hl {
		animation: none;
		background-size: 100% 30%;
	}
}

.shot .auth-ping {
	animation: none;
}

/* Screenshots capture the final state at once */
.shot *,
.shot *::before,
.shot *::after {
	transition: none !important;
}

.shot .hero-v2 h1 .hl {
	animation: none;
	background-size: 100% 30%;
}

.checks .tick {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	--ic-fill: rgba(200, 241, 105, 0.25);
}

.checks .tick .ic {
	width: 18px;
	height: 18px;
}

.checks li {
	grid-template-columns: 32px 1fr;
}

/* Globe section (scroll-driven, inspired by wireframe globes in fintech) */

.globe-sec {
	background:
		radial-gradient(60% 50% at 30% 40%, rgba(200, 241, 105, 0.06), transparent 70%),
		var(--forest);
}

.globe-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.globe-stick {
	position: sticky;
	top: 96px;
	height: min(720px, calc(100vh - 130px));
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 18px;
	align-items: center;
}

.globe-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	font-family: var(--mono);
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.35);
}

.globe-steps li {
	position: relative;
	padding: 10px 0;
	transition: color 0.3s ease;
}

.globe-steps li + li::before {
	content: '';
	display: block;
	width: 1px;
	height: 56px;
	margin: 0 auto 10px;
	background: rgba(255, 255, 255, 0.14);
}

.globe-steps li.on {
	color: var(--lime);
}

.globe-wrap {
	position: relative;
	height: 100%;
}

.globe {
	display: block;
	width: 100%;
	height: 100%;
}

.globe-legend {
	position: absolute;
	left: 0;
	bottom: 6px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mono);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

.globe-legend i {
	width: 7px;
	height: 7px;
	margin-left: 10px;
}

.globe-legend i:first-child {
	margin-left: 0;
}

.lg-live { background: var(--lime); }
.lg-soon { background: var(--amber); }
.lg-early { background: rgba(255, 255, 255, 0.55); }

.globe-panels {
	display: grid;
	gap: 40vh;
	padding: 6vh 0 18vh;
}

.gpanel {
	border: 1px solid var(--line-dark);
	border-radius: 18px;
	padding: 30px;
	background: rgba(255, 255, 255, 0.02);
	opacity: 0.35;
	transform: translateY(10px);
	transition: opacity 0.5s ease, transform 0.6s var(--ease-out), border-color 0.5s ease, background 0.5s ease;
}

.gpanel.on {
	opacity: 1;
	transform: none;
	border-color: rgba(200, 241, 105, 0.28);
	background: rgba(255, 255, 255, 0.035);
}

.mono-kicker {
	display: block;
	font-family: var(--mono);
	font-size: 12.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--lime);
	margin-bottom: 40px;
}

.gpanel h3 {
	font-size: clamp(26px, 2.4vw, 34px);
	margin-bottom: 14px;
}

.gpanel p {
	color: rgba(255, 255, 255, 0.7);
	font-size: 16px;
}

.gpanel .link-arrow {
	color: var(--white);
}

.gpanel .list-label {
	color: rgba(255, 255, 255, 0.45);
	margin: 44px 0 8px;
}

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

.glist li {
	border-top: 1px solid var(--line-dark);
}

.glist li > a,
.glist li > div {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	font-weight: 600;
	font-size: 15.5px;
}

.glist li > a i {
	margin-left: auto;
	font-style: normal;
	color: rgba(255, 255, 255, 0.45);
	transition: transform 0.2s ease, color 0.2s ease;
}

.glist li > a:hover i {
	transform: translateX(4px);
	color: var(--lime);
}

.glist .fl {
	width: 26px;
	height: 26px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.glist small {
	color: rgba(255, 255, 255, 0.5);
	font-weight: 500;
	font-size: 13.5px;
}

.glist .status {
	margin-left: auto;
	font-size: 12px;
}

.glist .status.pending {
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.75);
}

.glist .stack {
	display: flex;
	margin-left: auto;
}

.glist .stack .fl {
	width: 22px;
	height: 22px;
	margin-left: -6px;
	box-shadow: 0 0 0 2px var(--forest);
}

@media (max-width: 1080px) {
	.globe-grid {
		grid-template-columns: 1fr;
	}

	.globe-stick {
		position: relative;
		top: 0;
		height: 460px;
	}

	.globe-panels {
		gap: 20px;
		padding: 0;
	}

	.gpanel {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 680px) {
	.globe-stick {
		height: 360px;
		grid-template-columns: 1fr;
	}

	.globe-steps {
		display: none;
	}

	.mono-kicker {
		margin-bottom: 24px;
	}

	.gpanel {
		padding: 22px;
	}
}

.shot .globe-panels {
	gap: 24px;
	padding: 0;
}

.shot .gpanel {
	opacity: 1;
	transform: none;
}

.shot .globe-stick {
	position: relative;
	top: 0;
}

/* Value statement + gallery */

.value {
	padding: 130px 0 20px;
}

.statement {
	font-size: clamp(30px, 3.6vw, 52px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
	max-width: 1080px;
	margin: 0 0 96px;
}

.statement .w {
	color: rgba(13, 27, 20, 0.16);
	transition: color 0.35s ease;
}

.statement .w.lit {
	color: var(--ink);
}

.statement .w.hi.lit {
	color: var(--forest-3);
	background: linear-gradient(transparent 70%, rgba(200, 241, 105, 0.7) 70%);
}

.vgal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
}

.value .mono-kicker {
	color: var(--muted);
	margin: 0;
}

.vgal-nav {
	display: flex;
	gap: 8px;
}

.vgal-nav button {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--white);
	font-size: 18px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.vgal-nav button:hover {
	background: var(--paper-2);
	transform: translateY(-1px);
}

.vgal {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 4 * 18px) / 4.4);
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 6px;
}

.vgal::-webkit-scrollbar {
	display: none;
}

.vcard {
	scroll-snap-align: start;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 14px 14px 24px;
	transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.vcard:hover {
	transform: translateY(-4px);
	box-shadow: 0 30px 50px -36px rgba(16, 41, 30, 0.5);
}

.vcard h4 {
	font-size: 20px;
	margin: 22px 10px 8px;
}

.vcard p {
	margin: 0 10px;
	color: var(--ink-2);
	font-size: 15px;
}

.vvis {
	position: relative;
	height: 200px;
	border-radius: 14px;
	background:
		radial-gradient(80% 90% at 50% 120%, rgba(200, 241, 105, 0.45), transparent 60%),
		var(--paper);
	border: 1px solid var(--paper-2);
	overflow: hidden;
	display: grid;
	place-items: center;
}

/* ID scan */
.idcard {
	position: relative;
	width: 170px;
	height: 108px;
	border-radius: 12px;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 16px 30px -20px rgba(16, 41, 30, 0.5);
	overflow: hidden;
}

.idcard .ph {
	position: absolute;
	left: 14px;
	top: 18px;
	width: 44px;
	height: 56px;
	border-radius: 8px;
	background: linear-gradient(180deg, #d9e8c4, #b9d39a);
}

.idcard .ln {
	position: absolute;
	left: 70px;
	height: 8px;
	border-radius: 4px;
	background: var(--paper-2);
}

.idcard .w1 { top: 24px; width: 76px; }
.idcard .w2 { top: 42px; width: 58px; }
.idcard .w3 { top: 60px; width: 68px; }

.idcard .scan {
	position: absolute;
	left: 0;
	right: 0;
	height: 26px;
	background: linear-gradient(180deg, transparent, rgba(200, 241, 105, 0.55), transparent);
	animation: scan 2.6s ease-in-out infinite;
}

@keyframes scan {
	0%, 100% { top: -26px; }
	50% { top: 108px; }
}

.vtag {
	position: absolute;
	right: 18px;
	bottom: 18px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 650;
	background: var(--forest);
	color: var(--lime);
	--ic-fill: rgba(200, 241, 105, 0.25);
	animation: tag 2.6s ease-in-out infinite;
}

.vtag .ic {
	width: 16px;
	height: 16px;
}

@keyframes tag {
	0%, 45% { opacity: 0; transform: translateY(6px); }
	55%, 100% { opacity: 1; transform: none; }
}

/* Bank details */
.v-bank {
	place-items: stretch;
	padding: 26px 22px;
	align-content: center;
	gap: 10px;
}

.brow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 9px 12px;
}

.brow small {
	color: var(--muted);
	font-size: 12px;
}

.brow b {
	font-family: var(--mono);
	font-size: 13.5px;
	font-weight: 600;
	min-height: 1em;
}

.brow b::after {
	content: '';
	display: inline-block;
	width: 1px;
	height: 0.95em;
	margin-left: 2px;
	vertical-align: -0.1em;
	background: var(--forest);
	opacity: 0;
}

.brow b.typing::after {
	opacity: 1;
	animation: blinkc 0.8s steps(1) infinite;
}

@keyframes blinkc {
	50% { opacity: 0; }
}

/* Coin swap */
.v-coin {
	grid-auto-flow: column;
	gap: 18px;
	align-content: center;
	justify-content: center;
}

.coin {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--white);
	box-shadow: 0 14px 26px -16px rgba(16, 41, 30, 0.6);
}

.coin .fl {
	width: 52px;
	height: 52px;
}

.c-aud {
	animation: coin-out 3s ease-in-out infinite;
}

.c-usdc {
	animation: coin-in 3s ease-in-out infinite;
}

.coin-arrow {
	font-size: 22px;
	color: var(--forest-3);
	animation: nudge 3s ease-in-out infinite;
}

@keyframes coin-out {
	0%, 20% { transform: none; }
	45%, 70% { transform: scale(0.86) translateX(6px); opacity: 0.6; }
	100% { transform: none; }
}

@keyframes coin-in {
	0%, 35% { transform: scale(0.86); opacity: 0.6; }
	55%, 85% { transform: scale(1.08) rotateY(360deg); opacity: 1; }
	100% { transform: scale(0.86); opacity: 0.6; }
}

@keyframes nudge {
	0%, 30% { transform: none; }
	45% { transform: translateX(6px); }
	60%, 100% { transform: none; }
}

/* Status chips */
.v-status {
	align-content: center;
	gap: 10px;
}

.chip-st {
	font-family: var(--mono);
	font-size: 13px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--muted);
	animation: st 4.5s ease-in-out infinite;
}

.chip-st.s2 { animation-delay: 1.5s; }
.chip-st.s3 { animation-delay: 3s; }

@keyframes st {
	0%, 30% { background: var(--forest); color: var(--lime); border-color: var(--forest); transform: scale(1.06); }
	34%, 100% { background: var(--white); color: var(--muted); border-color: var(--line); transform: none; }
}

/* Code */
.v-code {
	align-content: center;
	gap: 10px;
	background:
		radial-gradient(80% 90% at 50% 120%, rgba(200, 241, 105, 0.2), transparent 60%),
		#0a1a12;
	border-color: #0a1a12;
}

.v-code code {
	font-size: 14px;
	color: #d9e4dc;
}

.v-code .res {
	color: rgba(255, 255, 255, 0.6);
	animation: tag 3s ease-in-out infinite;
}

.v-code .caret {
	display: inline-block;
	width: 8px;
	height: 15px;
	margin-left: 4px;
	vertical-align: -2px;
	background: var(--lime);
	animation: blinkc 1s steps(1) infinite;
}

@media (max-width: 1080px) {
	.vgal {
		grid-auto-columns: 42%;
	}
}

@media (max-width: 680px) {
	.value {
		padding: 80px 0;
	}

	.statement {
		margin-bottom: 56px;
	}

	.vgal {
		grid-auto-columns: 82%;
	}

	.vgal-nav {
		display: none;
	}
}

.shot .statement .w {
	color: var(--ink);
}

.shot .idcard .scan,
.shot .vtag,
.shot .c-aud,
.shot .c-usdc,
.shot .coin-arrow,
.shot .chip-st,
.shot .v-code .res {
	animation: none;
}

.shot .chip-st.s3 {
	background: var(--forest);
	color: var(--lime);
	border-color: var(--forest);
}

@media (prefers-reduced-motion: reduce) {
	.idcard .scan,
	.vtag,
	.c-aud,
	.c-usdc,
	.coin-arrow,
	.chip-st,
	.v-code .res,
	.v-code .caret {
		animation: none;
	}

	.statement .w {
		color: var(--ink);
	}
}

/* Use cases: accordion list + changing visual */

.uc {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 48px;
	align-items: stretch;
}

.uc-list {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--line);
}

.uc-item {
	text-align: left;
	font-family: inherit;
	color: inherit;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--line);
	padding: 24px 0;
	cursor: pointer;
	position: relative;
	display: block;
}

.uc-title {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--muted);
	transition: color 0.3s ease;
}

.uc-item:hover .uc-title,
.uc-item.on .uc-title {
	color: var(--ink);
}

.uc-title .ic-box {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--forest);
	flex-shrink: 0;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.uc-item.on .ic-box {
	background: var(--forest);
	border-color: var(--forest);
	color: var(--lime);
	--ic-fill: rgba(200, 241, 105, 0.22);
}

.uc-title .flowchip {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mono);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--forest-3);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 4px 10px 4px 4px;
	letter-spacing: 0;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.uc-item.on .flowchip {
	opacity: 1;
}

.uc-title .flowchip .fl {
	width: 20px;
	height: 20px;
}

.uc-body {
	display: grid;
	grid-template-rows: 0fr;
	color: var(--ink-2);
	font-size: 16px;
	padding-left: 56px;
	max-width: 520px;
	overflow: hidden;
	transition: grid-template-rows 0.45s var(--ease-out), margin 0.45s var(--ease-out), opacity 0.3s ease;
	opacity: 0;
	max-height: 0;
}

.uc-item.on .uc-body {
	opacity: 1;
	max-height: 140px;
	margin-top: 12px;
}

.uc-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	overflow: hidden;
}

.uc-bar i {
	display: block;
	height: 100%;
	width: 0;
	background: var(--forest);
}

.uc-item.on .uc-bar i {
	animation: ucbar var(--uc-time, 6s) linear forwards;
}

.uc.paused .uc-item.on .uc-bar i {
	animation-play-state: paused;
}

@keyframes ucbar {
	to { width: 100%; }
}

.uc-stage {
	position: relative;
	min-height: 520px;
	border-radius: 26px;
	background:
		radial-gradient(70% 60% at 70% 100%, rgba(200, 241, 105, 0.5), transparent 70%),
		radial-gradient(50% 50% at 10% 0%, rgba(255, 255, 255, 0.7), transparent 70%),
		var(--paper);
	border: 1px solid var(--line);
	overflow: hidden;
}

.uc-view {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	opacity: 0;
	transform: translateY(18px) scale(0.98);
	transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
	pointer-events: none;
}

.uc-view.on {
	opacity: 1;
	transform: none;
}

/* Phone mock */
.phone {
	width: 290px;
	border-radius: 34px;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 40px 70px -40px rgba(16, 41, 30, 0.55);
	padding: 22px 18px;
	display: grid;
	gap: 14px;
}

.ph-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 700;
	font-size: 16px;
}

.ph-top .fl {
	width: 28px;
	height: 28px;
}

.ph-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--forest);
	color: var(--lime);
	font-size: 11.5px;
	font-weight: 700;
}

.ph-bal {
	padding: 14px;
	border-radius: 16px;
	background: var(--forest);
	color: var(--white);
}

.ph-bal small {
	display: block;
	color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
}

.ph-bal b {
	font-family: var(--mono);
	font-size: 22px;
	letter-spacing: -0.03em;
}

.ph-bal em {
	font-style: normal;
	font-size: 12px;
	color: var(--lime);
}

.ph-card {
	border: 1px solid var(--paper-2);
	border-radius: 16px;
	padding: 12px 14px;
	display: grid;
	gap: 8px;
	background: #fcfbf8;
}

.ph-card > small {
	color: var(--muted);
	font-size: 12px;
}

.ph-row {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--muted);
}

.ph-row b {
	font-family: var(--mono);
	color: var(--ink);
	font-weight: 600;
}

.ph-toast,
.inv-paid {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border-radius: 14px;
	background: #eef8e2;
	border: 1px solid #cfe9b4;
	color: #24531a;
	animation: toastin 6s var(--ease-out) infinite;
}

.ph-toast .ic,
.inv-paid .ic {
	width: 22px;
	height: 22px;
	--ic-fill: rgba(63, 174, 42, 0.2);
}

.ph-toast b,
.inv-paid b {
	display: block;
	font-size: 14px;
}

.ph-toast small,
.inv-paid small {
	font-size: 12px;
	font-family: var(--mono);
}

@keyframes toastin {
	0%, 25% { opacity: 0; transform: translateY(10px); }
	35%, 100% { opacity: 1; transform: none; }
}

.ph-tabs {
	display: flex;
	gap: 6px;
}

.ph-tabs > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px 5px 5px;
	border-radius: 999px;
	border: 1px solid var(--line);
	font-size: 12.5px;
	font-weight: 700;
	color: var(--muted);
}

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

.ph-tabs > span.soon {
	opacity: 0.5;
}

.ph-tabs .fl {
	width: 20px;
	height: 20px;
}

.ph-share {
	text-align: center;
	padding: 12px;
	border-radius: 999px;
	background: var(--lime);
	color: var(--forest);
	font-weight: 700;
	font-size: 14px;
}

/* Payout batch */
.batch {
	width: min(440px, 88%);
	border-radius: 22px;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 40px 70px -40px rgba(16, 41, 30, 0.55);
	padding: 18px;
}

.batch-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 15px;
}

.batch-row {
	display: grid;
	grid-template-columns: 30px 1fr auto auto;
	gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-top: 1px solid var(--paper-2);
	font-size: 14px;
	font-weight: 600;
	animation: rowin 6s var(--ease-out) infinite;
}

.batch-row:nth-child(3) { animation-delay: 0.15s; }
.batch-row:nth-child(4) { animation-delay: 0.3s; }
.batch-row:nth-child(5) { animation-delay: 0.45s; }

@keyframes rowin {
	0%, 6% { opacity: 0; transform: translateX(-8px); }
	14%, 100% { opacity: 1; transform: none; }
}

.batch-row .fl {
	width: 30px;
	height: 30px;
}

.batch-row small {
	display: block;
	font-weight: 500;
	color: var(--muted);
	font-size: 12px;
}

.batch-row b {
	font-family: var(--mono);
	font-weight: 600;
}

.batch-row .st {
	font-size: 11.5px;
	font-weight: 650;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--paper-2);
	color: var(--muted);
}

.batch-row .st.done {
	background: #e4f6cf;
	color: #24531a;
}

.batch-row .st.run {
	background: #fbefd6;
	color: #7a4f05;
}

/* Invoice */
.invoice {
	width: min(380px, 86%);
	border-radius: 22px;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 40px 70px -40px rgba(16, 41, 30, 0.55);
	padding: 22px;
	display: grid;
	gap: 14px;
}

.inv-head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.inv-head .brand svg {
	width: 30px;
	height: 30px;
}

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

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

.inv-amt b {
	font-size: 34px;
	letter-spacing: -0.04em;
	font-weight: 750;
}

@media (max-width: 1080px) {
	.uc {
		grid-template-columns: 1fr;
	}

	.uc-stage {
		min-height: 460px;
		order: -1;
	}
}

@media (max-width: 680px) {
	.uc-title {
		font-size: 18px;
		flex-wrap: wrap;
	}

	.uc-title .flowchip {
		margin-left: 56px;
	}

	.uc-item:not(.on) .flowchip {
		display: none;
	}

	.uc-body {
		padding-left: 0;
	}

	.uc-stage {
		min-height: 420px;
	}

	.phone {
		width: 260px;
	}
}

.shot .ph-toast,
.shot .inv-paid,
.shot .batch-row,
.shot .uc-item.on .uc-bar i {
	animation: none;
}

@media (prefers-reduced-motion: reduce) {
	.ph-toast,
	.inv-paid,
	.batch-row {
		animation: none;
	}
}
