:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b0f17;--bg-2:#0e131c;--surface:#121824;--surface-2:#0f141e;--border:#232b3d;--border-strong:#34405a;--text:#e8ebf2;--muted:#a0a9bd;--faint:#7d879c;--accent:#4fe3c1;--accent-strong:#2fc4a3;--accent-ink:#04140f;--accent-soft:#4fe3c11f;--authorized:#56607a;--charged:#4fe3c1;--ok:#4fe3c1;--warn:#f2c46d;--error:#ff9b9b;--error-bg:#2a1616;--notice-bg:#13261f;--grid:#94a3b812;--shadow:0 1px 0 #ffffff08, 0 12px 32px #00000059;--sans:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--mono:ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;--radius:12px;--nav-h:64px}@media (prefers-color-scheme:light){:root:not([data-theme=dark]){--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f7fa;--bg-2:#eceff4;--surface:#fff;--surface-2:#eef1f5;--border:#d9dee6;--border-strong:#bcc4d0;--text:#131722;--muted:#4e5668;--faint:#6a7183;--accent:#0a7d63;--accent-strong:#086650;--accent-ink:#fff;--accent-soft:#0a7d631a;--authorized:#c2c9d6;--charged:#0a8c74;--ok:#0a7d63;--warn:#8a5a00;--error:#a3231b;--error-bg:#fdecea;--notice-bg:#e5f3ee;--grid:#1317220d;--shadow:0 1px 0 #fff9, 0 10px 28px #13172214}}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f7fa;--bg-2:#eceff4;--surface:#fff;--surface-2:#eef1f5;--border:#d9dee6;--border-strong:#bcc4d0;--text:#131722;--muted:#4e5668;--faint:#6a7183;--accent:#0a7d63;--accent-strong:#086650;--accent-ink:#fff;--accent-soft:#0a7d631a;--authorized:#c2c9d6;--charged:#0a8c74;--ok:#0a7d63;--warn:#8a5a00;--error:#a3231b;--error-bg:#fdecea;--notice-bg:#e5f3ee;--grid:#1317220d;--shadow:0 1px 0 #fff9, 0 10px 28px #13172214}*,:before,:after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 16px);-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);font-family:var(--sans);margin:0;line-height:1.6}h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}h1,h2,h3{text-wrap:balance;line-height:1.2}a{color:var(--accent);text-underline-offset:3px}code,.mono{font-family:var(--mono);font-size:.9em}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.skip-link{z-index:100;position:absolute;left:-9999px}.skip-link:focus{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:8px 12px;top:12px;left:16px}.container{width:100%;max-width:1120px;margin:0 auto;padding:0 16px}@media (min-width:640px){.container{padding:0 24px}}.muted{color:var(--muted)}.small{font-size:.875rem}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.btn{border:1px solid var(--accent);background:var(--accent);min-height:42px;color:var(--accent-ink);font:inherit;cursor:pointer;white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:.95rem;font-weight:600;text-decoration:none;transition:background .15s,border-color .15s,transform .15s;display:inline-flex}.btn:hover{background:var(--accent-strong);border-color:var(--accent-strong)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn--ghost{color:var(--text);border-color:var(--border-strong);background:0 0}.btn--ghost:hover{background:var(--surface);border-color:var(--accent)}.btn--secondary{color:var(--accent);background:0 0;align-self:flex-start}.btn--secondary:hover{background:var(--accent-soft)}.btn--sm{min-height:36px;padding:0 14px;font-size:.875rem}.tag{border:1px solid var(--border);font-family:var(--mono);color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:.75rem;display:inline-flex}.tag--accent{color:var(--accent);border-color:var(--accent)}.tag--dashed{border-style:dashed}.tag--warn{color:var(--warn);border-color:var(--warn)}.dot{background:currentColor;border-radius:50%;flex:none;width:7px;height:7px}.dot--ok{color:var(--ok)}.wallet-status{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;font-size:.85rem;display:inline-flex}.nav{z-index:50;height:var(--nav-h);background:color-mix(in srgb, var(--bg) 82%, transparent);-webkit-backdrop-filter:saturate(140%)blur(12px);backdrop-filter:saturate(140%)blur(12px);border-bottom:1px solid var(--border);position:sticky;top:0}.nav__inner{align-items:center;gap:16px;height:100%;display:flex}.brand{color:var(--text);letter-spacing:-.01em;align-items:center;gap:10px;font-size:1.1rem;font-weight:700;text-decoration:none;display:inline-flex}.brand svg{flex:none}.nav__links{align-items:center;gap:4px;margin:0 auto;padding:0;list-style:none;display:none}.nav__links a{color:var(--muted);border-radius:8px;padding:8px 10px;font-size:.925rem;text-decoration:none;display:inline-block}.nav__links a:hover{color:var(--text);background:var(--surface)}.nav__actions{align-items:center;gap:8px;margin-left:auto;display:flex}.nav__desktop-only{display:none}.icon-btn{border:1px solid var(--border);width:40px;height:40px;color:var(--text);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{background:var(--surface)}.lang-switch{border:1px solid var(--border);border-radius:10px;display:inline-flex;overflow:hidden}.lang-switch a{font-family:var(--mono);color:var(--muted);text-align:center;min-width:40px;padding:8px 10px;font-size:.8rem;text-decoration:none}.lang-switch a[aria-current=true]{background:var(--surface);color:var(--text);font-weight:700}.theme-select{border:1px solid var(--border);border-radius:10px;gap:2px;padding:2px;display:inline-flex}.theme-select button{width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.theme-select button[aria-pressed=true]{background:var(--surface);color:var(--text)}.mobile-panel{inset:var(--nav-h) 0 auto 0;max-height:calc(100dvh - var(--nav-h));overscroll-behavior:contain;background:var(--bg);border-bottom:1px solid var(--border);box-shadow:var(--shadow);flex-direction:column;gap:16px;padding:16px 16px 24px;display:flex;position:fixed;overflow-y:auto}.mobile-panel ul{flex-direction:column;padding:0;list-style:none;display:flex}.mobile-panel li a{color:var(--text);border-bottom:1px solid var(--border);padding:12px 4px;text-decoration:none;display:block}.mobile-panel__row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.mobile-panel .btn{width:100%}@media (min-width:960px){.nav__links,.nav__desktop-only{display:flex}.nav__mobile-only{display:none}}.section{border-top:1px solid var(--border);padding:72px 0}.section__head{flex-direction:column;gap:10px;max-width:720px;margin-bottom:32px;display:flex}.eyebrow{font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--accent);align-items:center;gap:8px;font-size:.78rem;display:inline-flex}.section h2{letter-spacing:-.01em;font-size:clamp(1.5rem,3.4vw,2.1rem)}.lede{color:var(--muted);max-width:64ch;font-size:1.05rem}.hero{background:linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 48px 48px;padding:72px 0 64px;position:relative;overflow:hidden}.hero__inner{grid-template-columns:minmax(0,1fr);align-items:center;gap:40px;display:grid}.hero__copy{flex-direction:column;gap:20px;display:flex}.hero h1{letter-spacing:-.02em;font-size:clamp(2rem,6vw,3.4rem)}.hero__note{color:var(--muted);max-width:60ch;font-size:.9rem}.hero__ctas{flex-wrap:wrap;gap:12px;display:flex}.hero__route{width:100%;min-width:0;max-width:460px;color:var(--accent);justify-self:center}@media (min-width:960px){.hero{padding:104px 0 96px}.hero__inner{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}.grid-2,.grid-3{gap:16px;display:grid}@media (min-width:760px){.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:14px;min-width:0;padding:22px;display:flex}.card h3{font-size:1.1rem}.card__head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.steps{color:var(--muted);flex-direction:column;gap:6px;padding-left:1.2em;display:flex}.steps li::marker{color:var(--accent);font-family:var(--mono)}.scheme-diagram{width:100%;height:auto;color:var(--muted)}.fact h3{font-size:1rem}.fact p{color:var(--muted);font-size:.95rem}.evidence{gap:12px;padding:0;list-style:none;display:grid}@media (min-width:760px){.evidence{grid-template-columns:repeat(2,minmax(0,1fr))}}.evidence__item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:10px;padding:18px;display:flex}.evidence__meta{font-family:var(--mono);color:var(--faint);flex-wrap:wrap;align-items:center;gap:8px;font-size:.8rem;display:flex}.evidence__item p{color:var(--muted);font-size:.95rem}.evidence__item a{font-family:var(--mono);overflow-wrap:anywhere;margin-top:auto;font-size:.85rem}.more-link{margin-top:20px;display:inline-block}.status{gap:16px;display:grid}.stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:0;display:grid}.stat{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;min-width:0;padding:14px 16px}.stat dt{color:var(--faint);font-size:.8rem}.stat dd{font-family:var(--mono);overflow-wrap:anywhere;margin-top:4px;font-size:1rem}.status__schemes{flex-wrap:wrap;gap:8px;display:flex}.skeleton{background:linear-gradient(90deg, var(--surface-2), var(--border), var(--surface-2));background-size:200% 100%;border-radius:6px;height:1.1em;animation:1.4s infinite shimmer}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.upstream-summary{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.upstream-group h3{margin-bottom:12px;font-size:1rem}.upstream{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column;padding:0;list-style:none;display:flex;overflow:hidden}.upstream li{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr);gap:6px;padding:12px 16px;display:grid}.upstream li:first-child{border-top:0}.upstream__ref{font-family:var(--mono);color:var(--faint);font-size:.8rem}.upstream__title{color:var(--text);overflow-wrap:anywhere;text-decoration:none}.upstream__title:hover{color:var(--accent);text-decoration:underline}@media (min-width:760px){.upstream li{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.state{justify-self:start}.state--merged,.state--closed_completed{color:var(--ok);border-color:var(--ok)}.state--open{color:var(--warn);border-color:var(--warn)}.link-list{flex-direction:column;gap:8px;padding:0;list-style:none;display:flex}.footer{border-top:1px solid var(--border);background:var(--bg-2);padding:48px 0 32px;font-size:.925rem}.footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;display:grid}.footer__brand{color:var(--muted);flex-direction:column;grid-column:1/-1;gap:12px;display:flex}.footer h2{font-size:.8rem;font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin-bottom:12px}.footer ul{flex-direction:column;gap:8px;padding:0;list-style:none;display:flex}.footer a{color:var(--muted);text-decoration:none}.footer a:hover{color:var(--text);text-decoration:underline}.footer__bottom{border-top:1px solid var(--border);color:var(--faint);flex-direction:column;gap:6px;margin-top:40px;padding-top:20px;font-size:.85rem;display:flex}@media (min-width:760px){.footer__grid{grid-template-columns:1.4fr repeat(3,minmax(0,1fr))}.footer__brand{grid-column:auto}}.page-head{flex-direction:column;gap:12px;padding:56px 0 24px;display:flex}.page-head h1{letter-spacing:-.02em;font-size:clamp(1.8rem,5vw,2.6rem)}.prose{flex-direction:column;gap:14px;max-width:72ch;padding-bottom:72px;display:flex}.prose h2{margin-top:24px;font-size:1.3rem}.prose h3{margin-top:12px;font-size:1.05rem}.prose p,.prose li{color:var(--muted)}.prose strong{color:var(--text)}.prose ul,.prose ol{flex-direction:column;gap:6px;padding-left:1.3em;display:flex}.notice{background:var(--notice-bg);border:1px solid var(--border);border-radius:10px;padding:12px 16px}.notice--error{background:var(--error-bg);border-color:var(--error);color:var(--error);flex-direction:column;gap:10px;display:flex}.reference{border:1px solid var(--accent);background:var(--accent-soft);border-left-width:4px;border-radius:10px;flex-direction:column;gap:10px;padding:14px 16px;display:flex}.reference h3{font-size:1rem}.hash{overflow-wrap:anywhere;word-break:break-all}.demo{flex-direction:column;gap:24px;max-width:780px;padding-bottom:72px;display:flex}.demo .stack{flex-direction:column;gap:12px;display:flex}.row{flex-wrap:wrap;gap:8px;display:flex}label{font-weight:600}input{border:1px solid var(--border-strong);background:var(--surface-2);min-width:0;min-height:42px;color:var(--text);font:inherit;font-family:var(--mono);border-radius:10px;flex:140px;padding:8px 12px}input[aria-invalid=true]{border-color:var(--error)}.field-error{color:var(--error);font-size:.875rem}.avc{flex-direction:column;gap:10px;display:flex}.avc__bar{background:var(--authorized);border-radius:999px;height:14px;overflow:hidden}.avc__charged{background:var(--charged);height:100%;transition:width .4s}.avc__legend{gap:4px;display:grid}.avc__legend>div{flex-wrap:wrap;justify-content:space-between;gap:4px 12px;display:flex}.avc__legend dt{color:var(--muted);align-items:center;gap:8px;display:flex}.avc__legend dd{font-family:var(--mono)}.avc__highlight dt,.avc__highlight dd{color:var(--text);font-weight:700}.avc__percent{color:var(--muted);font-weight:400}.swatch{border-radius:2px;flex:none;width:10px;height:10px}.swatch--authorized{border:2px solid var(--authorized)}.swatch--charged{background:var(--charged)}.swatch--refunded{background:var(--authorized)}.settlements{flex-direction:column;gap:12px;padding:0;list-style:none;display:flex}.settlement{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:10px;padding:14px;display:flex}.settlement__meta{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:4px 12px;font-size:.85rem;display:flex}.settlement__meta a{white-space:nowrap}.stepper{color:var(--muted);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;font-size:.85rem;list-style:none;display:grid}.stepper li{border-top:3px solid var(--border);align-items:center;gap:6px;padding-top:8px;display:flex}.stepper .is-done{border-top-color:var(--authorized)}.stepper .is-current{border-top-color:var(--accent);color:var(--text);font-weight:600}.usage{flex-direction:column;gap:6px;padding:0;font-size:.9rem;list-style:none;display:flex}.usage li{background:var(--surface-2);border:1px solid var(--border);border-radius:8px;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;padding:8px 10px;display:flex}.facts{gap:10px;display:grid}.facts dt{font-weight:600}.facts dd{overflow-wrap:anywhere}@media (max-width:480px){.card{padding:16px}.stepper{grid-template-columns:1fr}}.mobile-panel[hidden]{display:none}.tag--wrap{white-space:normal;border-radius:12px}.upstream-more{margin-top:12px}.upstream-more summary{cursor:pointer;color:var(--accent);padding:6px 0}.upstream-more[open] summary{margin-bottom:12px}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.avc__charged,.skeleton{transition:none;animation:none}}.brand-lockup{width:auto;height:32px;display:block}.brand-lockup--on-light{display:none}@media (prefers-color-scheme:light){:root:not([data-theme=dark]) .brand-lockup--on-dark{display:none}:root:not([data-theme=dark]) .brand-lockup--on-light{display:block}}:root[data-theme=light] .brand-lockup--on-dark{display:none}:root[data-theme=light] .brand-lockup--on-light{display:block}@media (max-width:360px){.nav__inner{gap:8px}.nav__actions{gap:6px}.nav .btn--sm{padding:0 10px}.nav .icon-btn{width:36px}}.btn{white-space:normal;text-align:center;max-width:100%;padding-block:8px}.nav .btn{white-space:nowrap}.real{border:1px solid var(--border-strong);border-radius:var(--radius);min-width:0;margin:0;padding:16px}.real legend{padding:0 8px;font-weight:600}.real input{flex:none}.docs-layout{flex-direction:column;gap:32px;padding-bottom:72px;display:flex}.docs-sidebar{order:2}.docs-sidebar ul{border-left:2px solid var(--border);flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.docs-sidebar li{margin:0}.docs-sidebar a{color:var(--muted);padding:4px 12px;font-size:.9rem;text-decoration:none;display:block}.docs-sidebar a:hover{color:var(--accent)}.docs-sidebar__sub a{padding-left:24px;font-size:.85rem}.docs-content{order:1;min-width:0;max-width:72ch}.docs-content pre{background:var(--surface-2);border:1px solid var(--border);font-family:var(--mono);border-radius:10px;padding:16px;font-size:.85rem;line-height:1.5;position:relative;overflow-x:auto}.docs-content code{background:var(--surface-2);border-radius:4px;padding:1px 5px}.docs-content pre code{background:0 0;padding:0}.copy-button{font-family:var(--sans);border:1px solid var(--border-strong);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:6px;padding:4px 10px;font-size:.75rem;position:absolute;top:8px;right:8px}.copy-button:hover{color:var(--text);border-color:var(--accent)}.client-library__install,.client-library__example{background:var(--surface-2);border:1px solid var(--border);white-space:pre-wrap;word-break:break-word;border-radius:10px;padding:14px 16px;font-size:.85rem;overflow-x:auto}@media (min-width:860px){.docs-layout{grid-template-columns:200px minmax(0,1fr);align-items:start;display:grid}.docs-sidebar{top:calc(var(--nav-h) + 24px);order:1;position:sticky}.docs-content{order:2}}
