/* Locals — site styles. One file, no framework. */

@font-face {
	font-family: 'Jakarta';
	src: url('../fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
	font-weight: 200 800;
	font-display: swap;
}

:root {
	--forest: #10291e;
	--forest-2: #173829;
	--forest-3: #22503b;
	--lime: #c8f169;
	--lime-2: #b3e04a;
	--paper: #f4f1e8;
	--paper-2: #ebe6d8;
	--white: #ffffff;
	--ink: #0d1b14;
	--ink-2: #33433a;
	--muted: #5d6c63;
	--line: #dcd6c6;
	--line-dark: rgba(255, 255, 255, 0.12);
	--amber: #f2b33d;
	--coral: #ef6f4d;

	--font: 'Jakarta', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;

	--radius: 14px;
	--radius-lg: 22px;
	--max: 1200px;
	--gutter: 24px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1.02;
}

h1 {
	font-size: clamp(44px, 7.2vw, 92px);
	font-weight: 800;
}

h2 {
	font-size: clamp(34px, 4.6vw, 60px);
}

h3 {
	font-size: clamp(22px, 2.2vw, 28px);
	letter-spacing: -0.025em;
	line-height: 1.15;
}

h4 {
	font-size: 18px;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

code,
pre {
	font-family: var(--mono);
}

.wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.lede {
	font-size: clamp(18px, 1.6vw, 21px);
	color: var(--ink-2);
	max-width: 620px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 20px;
}

.eyebrow::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lime-2);
}

.dark .eyebrow {
	color: rgba(255, 255, 255, 0.6);
}

.dark .eyebrow::before {
	background: var(--lime);
}

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	font-weight: 650;
	font-size: 16px;
	border: 1.5px solid transparent;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
	cursor: pointer;
	font-family: inherit;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary {
	background: var(--lime);
	color: var(--forest);
}

.btn-primary:hover {
	background: var(--lime-2);
}

.btn-dark {
	background: var(--forest);
	color: var(--white);
}

.btn-dark:hover {
	background: var(--forest-3);
}

.btn-ghost {
	border-color: var(--ink);
	color: var(--ink);
	background: transparent;
}

.dark .btn-ghost {
	border-color: rgba(255, 255, 255, 0.4);
	color: var(--white);
}

.btn-sm {
	height: 40px;
	padding: 0 18px;
	font-size: 15px;
}

.btn .arrow {
	transition: transform 0.15s ease;
}

.btn:hover .arrow {
	transform: translateX(3px);
}

.link-arrow {
	font-weight: 650;
	display: inline-flex;
	gap: 6px;
	align-items: center;
	border-bottom: 1.5px solid currentColor;
	padding-bottom: 2px;
}

/* Announcement bar */

.announce {
	background: var(--forest);
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	text-align: center;
	padding: 10px var(--gutter);
}

.announce a {
	color: var(--lime);
	font-weight: 650;
	margin-left: 6px;
}

/* Header */

.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(244, 241, 232, 0.88);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.header.scrolled {
	border-bottom-color: var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 36px;
	height: 72px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 24px;
	letter-spacing: -0.05em;
}

.brand svg {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

/* Logo colours: deep + signal, swapped on dark backgrounds */
:root {
	--mk-a: var(--forest);
	--mk-b: var(--lime);
	--mk-c: var(--lime);
}

.swap,
.footer .brand,
.dark .brand {
	--mk-a: var(--paper);
	--mk-b: var(--forest);
	--mk-c: var(--lime);
}

.on-signal {
	--mk-c: var(--white);
}

.nav {
	display: flex;
	gap: 4px;
	flex: 1;
}

.nav > .nav-item {
	position: relative;
}

.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-radius: 999px;
	font-weight: 550;
	font-size: 15.5px;
	color: var(--ink-2);
	background: none;
	border: 0;
	font-family: inherit;
	cursor: pointer;
}

.nav-link:hover,
.nav-item:focus-within .nav-link {
	background: var(--paper-2);
	color: var(--ink);
}

.nav-link .caret {
	width: 10px;
	height: 10px;
	opacity: 0.6;
}

.mega {
	position: absolute;
	top: calc(100% + 8px);
	left: -12px;
	width: 560px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: 0 24px 60px -20px rgba(16, 41, 30, 0.28);
	padding: 14px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.mega a {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 12px;
	padding: 12px;
	border-radius: 12px;
}

.mega a:hover {
	background: var(--paper);
}

.mega strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.mega span {
	display: block;
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.4;
}

.ico {
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--forest);
	color: var(--lime);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.ico svg {
	width: 20px;
	height: 20px;
}

.ico-light {
	background: var(--paper-2);
	color: var(--forest);
}

.header-cta {
	display: flex;
	gap: 10px;
	align-items: center;
}

.menu-toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--white);
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.mobile-nav {
	display: none;
}

/* Sections */

section {
	padding: 120px 0;
}

.section-head {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 48px;
	align-items: end;
	margin-bottom: 64px;
}

.section-head p {
	color: var(--ink-2);
	font-size: 19px;
	margin: 0;
}

.dark {
	background: var(--forest);
	color: var(--white);
}

.dark .section-head p,
.dark .lede {
	color: rgba(255, 255, 255, 0.72);
}

.tinted {
	background: var(--paper-2);
}

.white {
	background: var(--white);
}

/* Hero */

.hero {
	padding: 72px 0 96px;
	position: relative;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 48px;
	align-items: center;
}

.hero h1 .hl {
	background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%);
	padding: 0 4px;
	margin: 0 -4px;
}

.hero .lede {
	margin: 28px 0 36px;
}

.hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.hero-note {
	margin-top: 28px;
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
	font-size: 14.5px;
	color: var(--muted);
}

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

.hero-note svg {
	width: 16px;
	height: 16px;
	color: var(--forest-3);
}

/* Hero product visual */

.stage {
	position: relative;
	min-height: 680px;
}

.hero h1 {
	font-size: clamp(44px, 6vw, 80px);
}

.panel {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: 0 30px 80px -30px rgba(16, 41, 30, 0.35);
}

.va-panel {
	position: absolute;
	top: 0;
	left: 0;
	right: 72px;
	padding: 22px;
	z-index: 1;
}

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

.panel-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 15px;
}

.flag {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 11px;
	font-weight: 800;
	color: var(--white);
	background: var(--forest-3);
	letter-spacing: 0;
}

.flag.aud { background: #1f4e9c; }
.flag.usd { background: #2f3e57; }
.flag.eur { background: #2a4fb0; }
.flag.gbp { background: #7b1f3a; }
.flag.aed { background: #0f6b4f; }
.flag.usdc { background: #2775ca; font-size: 7px; letter-spacing: -0.02em; }

.status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 650;
	padding: 4px 10px;
	border-radius: 999px;
	background: #e4f6cf;
	color: #24531a;
}

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

.status.soon {
	background: #fbefd6;
	color: #7a4f05;
}

.status.pending {
	background: var(--paper-2);
	color: var(--muted);
}

.kv {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
}

.kv > div {
	background: var(--white);
	padding: 10px 14px;
	min-width: 0;
}

.kv .v {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.kv dt,
.kv .k {
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 2px;
}

.kv .v {
	font-family: var(--mono);
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.feed {
	margin-top: 16px;
}

.feed-row {
	display: grid;
	grid-template-columns: 32px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px 4px;
	border-top: 1px solid var(--paper-2);
	font-size: 14px;
}

.feed-row:first-child {
	border-top: 0;
}

.feed-row .dot {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: var(--paper);
	color: var(--forest);
}

.feed-row .dot svg {
	width: 16px;
	height: 16px;
}

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

.feed-row .amt {
	font-family: var(--mono);
	font-weight: 600;
	text-align: right;
}

.feed-row .amt small {
	font-family: var(--font);
	font-weight: 500;
}

.pos {
	color: #2e6b1f;
}

.card-visual {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 290px;
	z-index: 2;
	aspect-ratio: 1.586;
	border-radius: 18px;
	padding: 20px;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(200, 241, 105, 0.35), transparent 55%),
		linear-gradient(135deg, #173829, #0b1f16);
	color: var(--white);
	box-shadow: 0 30px 60px -20px rgba(11, 31, 22, 0.6);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transform: rotate(-4deg);
}

.card-visual .row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.card-visual .chip {
	width: 38px;
	height: 28px;
	border-radius: 6px;
	background: linear-gradient(135deg, #e9d79a, #b99b4c);
}

.card-visual .num {
	font-family: var(--mono);
	letter-spacing: 0.12em;
	font-size: 15px;
	opacity: 0.9;
}

.card-visual .brandmark {
	font-weight: 800;
	letter-spacing: -0.05em;
	font-size: 20px;
}

.card-visual .net {
	font-size: 12px;
	font-weight: 700;
	opacity: 0.75;
	letter-spacing: 0.04em;
}

.toast {
	position: absolute;
	left: -48px;
	bottom: 56px;
	padding: 14px 16px;
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: 14px;
	max-width: 262px;
	z-index: 3;
}

.toast .ico {
	width: 36px;
	height: 36px;
	border-radius: 10px;
}

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

/* Rails ticker */

.ticker {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 22px 0;
	overflow: hidden;
	background: var(--paper);
}

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

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

.ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 650;
	color: var(--ink-2);
	white-space: nowrap;
	font-size: 15px;
}

.ticker-item .flag {
	width: 24px;
	height: 24px;
	font-size: 9.5px;
}

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

@keyframes ticker {
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ticker-track {
		animation: none;
	}
}

/* Product tiles */

.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.product {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 32px;
	display: flex;
	flex-direction: column;
	min-height: 460px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 50px -30px rgba(16, 41, 30, 0.4);
}

.product h3 {
	margin: 22px 0 12px;
}

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

.product ul {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 15px;
	color: var(--ink-2);
}

.product li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.product li::before {
	content: '';
	width: 16px;
	height: 16px;
	margin-top: 4px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%2310291E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

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

.product.feature {
	background: var(--forest);
	color: var(--white);
	border-color: var(--forest);
}

.product.feature p,
.product.feature ul {
	color: rgba(255, 255, 255, 0.75);
}

/* Flow steps */

.flow {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.flow-step {
	padding: 32px 28px;
	border-left: 1px solid var(--line-dark);
	position: relative;
}

.flow-step:first-child {
	border-left: 0;
}

.flow-step .n {
	font-family: var(--mono);
	font-size: 13px;
	color: var(--lime);
	margin-bottom: 40px;
	display: block;
}

.flow-step h4 {
	font-size: 20px;
	margin-bottom: 10px;
}

.flow-step p {
	color: rgba(255, 255, 255, 0.66);
	font-size: 15px;
	margin: 0;
}

.flow-step code {
	display: inline-block;
	margin-top: 18px;
	font-size: 12.5px;
	color: var(--lime);
	background: rgba(200, 241, 105, 0.08);
	border: 1px solid rgba(200, 241, 105, 0.18);
	padding: 5px 9px;
	border-radius: 8px;
}

/* Split blocks */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: center;
}

.split + .split {
	margin-top: 120px;
}

.split.reverse > :first-child {
	order: 2;
}

.split h2 {
	margin-bottom: 24px;
}

.checks {
	list-style: none;
	padding: 0;
	margin: 28px 0 32px;
	display: grid;
	gap: 16px;
}

.checks li {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 14px;
}

.checks li strong {
	display: block;
	font-size: 17px;
	letter-spacing: -0.01em;
}

.checks li span {
	color: var(--muted);
	font-size: 15.5px;
}

.checks .tick {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--forest);
	color: var(--lime);
	display: grid;
	place-items: center;
}

.checks .tick svg {
	width: 15px;
	height: 15px;
}

.dark .checks li span {
	color: rgba(255, 255, 255, 0.6);
}

.dark .checks .tick {
	background: var(--lime);
	color: var(--forest);
}

/* Code window */

.code {
	background: #0a1a12;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.08);
	overflow: hidden;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
	color: #d9e4dc;
}

.code-tabs {
	display: flex;
	gap: 2px;
	padding: 10px 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	overflow-x: auto;
}

.code-tab {
	background: none;
	border: 0;
	color: rgba(255, 255, 255, 0.55);
	font-family: var(--mono);
	font-size: 13px;
	padding: 10px 14px;
	border-radius: 8px 8px 0 0;
	cursor: pointer;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}

.code-tab[aria-selected='true'] {
	color: var(--white);
	border-bottom-color: var(--lime);
}

.code-pane {
	display: none;
}

.code-pane.active {
	display: block;
}

.code pre {
	margin: 0;
	padding: 22px 24px;
	font-size: 13.5px;
	line-height: 1.7;
	overflow-x: auto;
}

.code .sep {
	border-top: 1px dashed rgba(255, 255, 255, 0.1);
	padding: 8px 24px;
	font-family: var(--mono);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	display: flex;
	justify-content: space-between;
}

.code .sep b {
	color: var(--lime);
	font-weight: 600;
}

.tk-k { color: #c8f169; }
.tk-s { color: #f2c98a; }
.tk-n { color: #8fd3ff; }
.tk-c { color: rgba(255, 255, 255, 0.38); }
.tk-m { color: #ff9e80; }
.tk-p { color: #a9b8ae; }

/* Use cases */

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

.case {
	border-top: 2px solid var(--ink);
	padding-top: 22px;
}

.case .tag {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
	display: block;
	margin-bottom: 18px;
}

.case h4 {
	font-size: 21px;
	margin-bottom: 10px;
}

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

/* Coverage */

.coverage-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
}

.cov {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px;
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 12px;
	align-items: center;
}

.coverage-grid[data-coverage='accounts'] {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.coverage-grid.compact {
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 8px;
}

.coverage-grid.compact .cov {
	padding: 12px 14px;
	grid-template-columns: 28px 1fr;
	gap: 10px;
}

.coverage-grid.compact .cov .flag {
	width: 28px;
	height: 28px;
	font-size: 9.5px;
}

.coverage-grid .region {
	grid-column: 1 / -1;
	font-size: 12.5px;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 16px 0 2px;
}

.coverage-grid .region:first-child {
	margin-top: 0;
}

.cov .flag {
	width: 36px;
	height: 36px;
	font-size: 12px;
}

.cov strong {
	display: block;
	font-size: 15.5px;
	letter-spacing: -0.01em;
}

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

.cov .status {
	grid-column: 1 / -1;
	justify-self: start;
	margin-top: 4px;
}

.filters {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.chip-btn {
	border: 1px solid var(--line);
	background: var(--white);
	border-radius: 999px;
	padding: 8px 16px;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink-2);
	cursor: pointer;
}

.chip-btn[aria-pressed='true'] {
	background: var(--forest);
	border-color: var(--forest);
	color: var(--white);
}

.table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	font-size: 15px;
}

.table th,
.table td {
	text-align: left;
	padding: 14px 18px;
	border-bottom: 1px solid var(--paper-2);
	vertical-align: middle;
}

.table th {
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted);
	font-weight: 650;
	background: var(--paper);
}

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

.table .cur {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 650;
}

.table .cur .flag {
	width: 26px;
	height: 26px;
	font-size: 10px;
}

.table-wrap {
	overflow-x: auto;
	border-radius: var(--radius);
}

.table-wrap .table {
	min-width: 640px;
}

/* Trust band */

.trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--line-dark);
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--line-dark);
}

.trust > div {
	background: var(--forest);
	padding: 32px 28px;
}

.trust .ico {
	background: rgba(200, 241, 105, 0.12);
	margin-bottom: 28px;
}

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

.trust p {
	color: rgba(255, 255, 255, 0.64);
	font-size: 15px;
	margin: 0;
}

/* FAQ */

.faq {
	max-width: 860px;
}

.faq details {
	border-bottom: 1px solid var(--line);
	padding: 22px 0;
}

.faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	font-weight: 650;
	font-size: 19px;
	letter-spacing: -0.015em;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: '+';
	font-weight: 400;
	font-size: 26px;
	line-height: 1;
	color: var(--muted);
	transition: transform 0.2s ease;
}

.faq details[open] summary::after {
	transform: rotate(45deg);
}

.faq details p {
	margin: 14px 0 0;
	color: var(--ink-2);
	max-width: 720px;
}

.wrap:has(> .faq) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
	gap: 64px;
	align-items: start;
}

.wrap:has(> .faq) > .section-head {
	grid-template-columns: 1fr;
	margin: 0;
	position: sticky;
	top: 110px;
}

.wrap:has(> .faq) > .faq {
	max-width: none;
}

.wrap:has(> .faq) > .faq details:first-child {
	padding-top: 0;
}

/* CTA band */

.cta-band {
	padding: 0 0 120px;
}

.dark + .cta-band {
	padding-top: 120px;
}

.cta-box {
	background: var(--lime);
	border-radius: 28px;
	padding: 72px 64px;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 40px;
	align-items: end;
	position: relative;
	overflow: hidden;
}

.cta-box h2 {
	color: var(--forest);
	font-size: clamp(36px, 5vw, 68px);
}

.cta-box p {
	color: var(--forest-2);
	font-size: 18px;
	margin-top: 20px;
	max-width: 560px;
}

.cta-box .actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.cta-box .btn-ghost {
	border-color: var(--forest);
	color: var(--forest);
}

.cta-box::after {
	content: '';
	position: absolute;
	right: 48px;
	top: 40px;
	width: 120px;
	height: 120px;
	background:
		linear-gradient(var(--forest), var(--forest)) 30% 12% / 14% 62% no-repeat,
		linear-gradient(var(--forest), var(--forest)) 30% 74% / 48% 14% no-repeat,
		radial-gradient(circle at 80% 74%, var(--forest) 9%, transparent 10%);
	opacity: 0.12;
}

/* Page hero (inner pages) */

.page-hero {
	padding: 80px 0 72px;
}

.page-hero h1 {
	font-size: clamp(42px, 6vw, 76px);
	max-width: 900px;
}

.page-hero .lede {
	margin: 24px 0 32px;
}

.crumbs {
	font-size: 14px;
	color: var(--muted);
	margin-bottom: 24px;
	display: flex;
	gap: 8px;
}

.crumbs a:hover {
	color: var(--ink);
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 56px;
}

.stat {
	border-top: 1px solid var(--line);
	padding-top: 18px;
}

.stat b {
	display: block;
	font-size: clamp(28px, 3vw, 40px);
	letter-spacing: -0.04em;
	font-weight: 750;
	line-height: 1.1;
}

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

.mini-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.mini {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 28px;
}

.mini .ico {
	margin-bottom: 22px;
}

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

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

.dark .mini {
	background: var(--forest-2);
	border-color: var(--line-dark);
}

.dark .mini p {
	color: rgba(255, 255, 255, 0.66);
}

/* Quote / payout visual */

.quote-panel {
	padding: 24px;
	max-width: 460px;
	margin-left: auto;
}

.quote-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 16px;
	background: var(--paper);
	border-radius: 14px;
}

.quote-row + .quote-row {
	margin-top: 8px;
}

.quote-row label {
	display: block;
	font-size: 12.5px;
	color: var(--muted);
}

.quote-row .big {
	font-size: 24px;
	white-space: nowrap;
	font-weight: 750;
	letter-spacing: -0.04em;
}

.cur-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 12px 6px 6px;
	font-weight: 700;
	font-size: 14.5px;
}

.cur-pill .flag {
	width: 24px;
	height: 24px;
	font-size: 9px;
}

.cur-pill .flag.usdc {
	font-size: 7px;
}

.quote-meta {
	margin: 16px 0;
	font-size: 14px;
	display: grid;
	gap: 8px;
}

.quote-meta div {
	display: flex;
	justify-content: space-between;
	color: var(--muted);
}

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

.timer {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--muted);
	margin-top: 12px;
	justify-content: center;
}

.timer .bar {
	width: 90px;
	height: 4px;
	background: var(--paper-2);
	border-radius: 2px;
	overflow: hidden;
}

.timer .bar i {
	display: block;
	height: 100%;
	width: 62%;
	background: var(--forest-3);
}

/* Card program visual */

.cards-stack {
	position: relative;
	height: 420px;
}

.cards-stack .card-visual {
	width: 340px;
	right: auto;
}

.cards-stack .c1 {
	left: 8%;
	top: 30px;
	transform: rotate(-8deg);
}

.cards-stack .c2 {
	left: 26%;
	top: 120px;
	transform: rotate(4deg);
	background: linear-gradient(135deg, #d6f58a, #b3e04a);
	color: var(--forest);
}

.cards-stack .c3 {
	left: 14%;
	top: 220px;
	transform: rotate(-2deg);
	background: linear-gradient(135deg, #f7f4ea, #e3ddcb);
	color: var(--ink);
}

/* Form */

.form {
	display: grid;
	gap: 16px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.form label {
	display: grid;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-2);
}

.form input,
.form select,
.form textarea {
	font-family: inherit;
	font-size: 16px;
	padding: 13px 14px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--ink);
	width: 100%;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
	outline: 2px solid var(--forest-3);
	outline-offset: 1px;
}

.form textarea {
	min-height: 110px;
	resize: vertical;
}

.fine {
	font-size: 13px;
	color: var(--muted);
}

.form fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.form legend {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-2);
	padding: 0;
	margin-bottom: 8px;
}

.form label.check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	font-size: 15px;
}

.form label.check input {
	width: auto;
	accent-color: var(--forest);
}

.panel-pad {
	padding: 24px;
}

@media (min-width: 681px) {
	.panel-pad {
		padding: 32px;
	}
}

/* Footer */

.footer {
	background: var(--forest);
	color: rgba(255, 255, 255, 0.72);
	padding: 88px 0 40px;
	font-size: 15px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, 1fr);
	gap: 32px;
}

.footer .brand {
	color: var(--white);
}

.footer h5 {
	margin: 0 0 16px;
	color: var(--white);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.footer a:hover {
	color: var(--lime);
}

.footer-tag {
	margin: 20px 0 0;
	max-width: 300px;
}

.footer-legal {
	margin-top: 72px;
	padding-top: 28px;
	border-top: 1px solid var(--line-dark);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	display: grid;
	gap: 14px;
}

.footer-legal .row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.footer-big {
	font-size: clamp(80px, 19vw, 260px);
	font-weight: 800;
	letter-spacing: -0.07em;
	color: rgba(255, 255, 255, 0.07);
	line-height: 0.8;
	margin: 64px 0 -10px;
	user-select: none;
}

/* Brand sheet */

.swatches {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
}

.swatch {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--white);
}

.swatch .s {
	height: 120px;
}

.swatch div:last-child {
	padding: 12px 14px;
	font-size: 14px;
}

.swatch code {
	color: var(--muted);
	font-size: 13px;
}

/* Utilities */

.center {
	text-align: center;
}

.center .lede,
.center .section-head p {
	margin-left: auto;
	margin-right: auto;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.js .reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.shot .reveal {
	transition: none;
}

.js .reveal.in {
	opacity: 1;
	transform: none;
}

/* Responsive */

@media (max-width: 1080px) {
	.nav,
	.header-cta {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.mobile-nav.open {
		display: block;
		position: fixed;
		inset: 72px 0 0;
		background: var(--paper);
		padding: 24px var(--gutter) 40px;
		overflow-y: auto;
		z-index: 49;
	}

	.mobile-nav h6 {
		margin: 24px 0 8px;
		font-size: 12.5px;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		color: var(--muted);
	}

	.mobile-nav a {
		display: block;
		padding: 12px 0;
		font-size: 20px;
		font-weight: 650;
		border-bottom: 1px solid var(--line);
	}

	.mobile-nav .btn {
		margin-top: 24px;
		width: 100%;
		border-bottom: 0;
		font-size: 16px;
		display: flex;
	}

	.hero-grid,
	.split,
	.section-head,
	.cta-box,
	.wrap:has(> .faq) {
		grid-template-columns: minmax(0, 1fr);
	}

	.wrap:has(> .faq) {
		gap: 40px;
	}

	.wrap:has(> .faq) > .section-head {
		position: static;
	}

	.coverage-grid[data-coverage='accounts'] {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	}

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

	.split.reverse > :first-child {
		order: 0;
	}

	.products,
	.mini-grid {
		grid-template-columns: 1fr 1fr;
	}

	.flow,
	.trust,
	.cases {
		grid-template-columns: 1fr 1fr;
	}

	.flow-step:nth-child(3) {
		border-left: 0;
	}

	.flow-step:nth-child(n + 3) {
		border-top: 1px solid var(--line-dark);
	}

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

	.footer-grid > :first-child {
		grid-column: 1 / -1;
	}

	.cta-box .actions {
		justify-content: flex-start;
	}

	.stage {
		max-width: 560px;
	}

	.quote-panel {
		margin-left: 0;
	}
}

@media (max-width: 680px) {
	:root {
		--gutter: 16px;
	}

	body {
		font-size: 16px;
	}

	section {
		padding: 80px 0;
	}

	.hero {
		padding: 40px 0 64px;
	}

	.products,
	.mini-grid,
	.flow,
	.trust,
	.cases,
	.stats,
	.form-row {
		grid-template-columns: 1fr;
	}

	.flow-step {
		border-left: 0;
		border-top: 1px solid var(--line-dark);
	}

	.flow-step:first-child {
		border-top: 0;
	}

	.product {
		min-height: 0;
	}

	.stage {
		min-height: 0;
	}

	.va-panel {
		position: static;
		padding: 16px;
	}

	.stage .card-visual {
		position: relative;
		right: auto;
		bottom: auto;
		margin: -36px 8px 0 auto;
		transform: rotate(-4deg);
	}

	.card-visual {
		width: 230px;
		bottom: 0;
		padding: 16px;
	}

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

	.toast {
		display: none;
	}

	.cta-box {
		padding: 48px 24px;
	}

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

	.cards-stack {
		height: 360px;
	}

	.cards-stack .card-visual {
		width: 250px;
	}

	.cards-stack .c1 { left: 0; }
	.cards-stack .c2 { left: 14%; }
	.cards-stack .c3 { left: 4%; }

	.split + .split {
		margin-top: 80px;
	}

	.section-head {
		margin-bottom: 40px;
	}
}

/* Tighter period in headings (see build.js) */
.pd {
	margin-left: -0.09em;
}
