/* Lark — pay anyone in dollars, straight from your stocks.
 *
 * GROUND: "Sunrise over a meadow", Jakub Kriz (CC0, via Wikimedia Commons / Unsplash): Krkonoše National Park at
 * sunrise — a teal sky, the sun low at the right, a golden hillside of grass and bilberry below. The palette is read
 * from it: sky teal, sun gold, hedge green. One deep brand tone — hedge — for the primary button, the italic word
 * and small accents. Everything else is ink on dew.
 *
 * TYPE: Instrument Serif (wordmark, headings, big figures) · Figtree (body, 400–600) · DM Mono (addresses, amounts).
 *
 * SURFACES — the division, and every word sits on one of them:
 *   .glass   thin frosted sheet   the nav pill and the hero card, over the clear photograph.
 *   .band    section veil         below the hero every section is a band of dew over the blurred photograph; the
 *                                 heading and standfirst sit on it. Heavy enough for 4.5:1 body ink.
 *   .card    calm card            content inside a band (steps, safety, FAQ rows, the app's panels).
 *   .slab    dense slab           numbers, tables, inputs, the rows of a list.
 *   .foot    dark band            the footer: dew type on a hedge veil.
 * App pages keep the photograph visible between cards so no frame is one pale fill.
 * No chromatic literal outside :root.
 */
:root {
  --ink: #1b2211;
  --ink-2: #3c4530;
  --ink-3: #56604a;
  --hedge: #33471a;
  --hedge-2: #293a13;
  --hedge-deep: #1f2d0d;
  --moss: #5d7222;
  --moss-ink: #4b5d17;
  --moss-soft: #eef2dc;
  --moss-line: rgba(93, 114, 34, 0.24);
  --sky: #23677a;
  --sky-soft: #e1eef0;
  --sun: #f3c25b;
  --sun-soft: #fbf0d6;
  --good: #1d6440;
  --good-soft: #e3f1e8;
  --amber: #7a4a0c;
  --amber-soft: #f7eddc;
  --bad: #9a2631;
  --bad-soft: #f8e5e6;
  --dew: #f6f5ea;
  --cream: #fffdf6;
  --on-dark: #f5f3e6;
  --on-dark-2: #d6d6c2;
  --line: rgba(40, 50, 20, 0.12);
  --line-2: rgba(40, 50, 20, 0.2);
  --glass: rgba(252, 251, 243, 0.72);
  --glass-edge: rgba(255, 255, 255, 0.6);
  --nav: rgba(252, 251, 244, 0.84);
  --veil: rgba(248, 247, 236, 0.64);
  --veil-2: rgba(245, 244, 231, 0.7);
  --strip: rgba(252, 251, 243, 0.82);
  --card: rgba(255, 255, 250, 0.52);
  --card-2: rgba(255, 255, 250, 0.74);
  --app-card: rgba(252, 251, 244, 0.8);
  --app-card-2: rgba(255, 255, 250, 0.86);
  --doc-card: rgba(252, 251, 244, 0.66);
  --doc-card-2: rgba(255, 255, 250, 0.76);
  --slab: rgba(255, 255, 252, 0.94);
  --zebra: rgba(247, 246, 236, 0.96);
  --foot: rgba(24, 33, 11, 0.82);
  --foot-line: rgba(245, 243, 230, 0.16);
  --track: #e6e6d4;
  --dot: #ebeadb;
  --code-bg: #1d2610;
  --code-ink: #eef2dc;
  --toast-link: #f3d48a;
  --sk1: #ecebdc;
  --sk2: #faf9f1;
  --p1: #33471a; --p2: #23677a; --p3: #d9a441; --p4: #c9674f; --p5: #7fae9f; --p6: #8a6d3b;
  --p7: #6c5a8c; --p8: #b9c56a; --p9: #3e6f4c; --p10: #e1c7a0; --p11: #9fb5c9; --p12: #6b4e3d; --p0: #cfd3c3;
  --shadow: 0 18px 44px -26px rgba(26, 34, 10, 0.5), 0 1px 3px rgba(26, 34, 10, 0.08);
  --shadow-sm: 0 6px 18px -12px rgba(26, 34, 10, 0.45);
  --focus: 0 0 0 3px rgba(93, 114, 34, 0.28);
  --r-lg: 26px;
  --r: 18px;
  --r-sm: 12px;
  --maxw: 1124px;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--dew); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: var(--hedge); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--hedge-2); }
code, .mono { font-family: var(--mono); font-size: 0.9em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.06; margin: 0; color: var(--ink); }
p { margin: 0 0 12px; }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--moss-ink); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------------------- the ground */
.ground { position: fixed; inset: 0; z-index: -2; background: var(--dew) url('../img/meadow-1440.jpg') 50% 46% / cover no-repeat; }
@media (min-width: 1600px) { .ground { background-image: url('../img/meadow-2400.jpg'); } }
@media (max-width: 760px) { .ground { background-image: url('../img/meadow-900.jpg'); background-position: 76% 30%; } }

/* ---------------------------------------------------------------- surfaces */
.glass { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--r-lg); box-shadow: var(--shadow); backdrop-filter: blur(22px) saturate(0.95); -webkit-backdrop-filter: blur(22px) saturate(0.95); }
.band { position: relative; padding: 92px 0; background: var(--veil); backdrop-filter: blur(6px) saturate(0.9); -webkit-backdrop-filter: blur(6px) saturate(0.9); }
.band.alt { background: var(--veil-2); }
.card, .panel { background: var(--card); border: 1px solid var(--glass-edge); border-radius: var(--r); }
.card-2 { background: var(--card-2); }
.slab, .solid { background: var(--slab); border: 1px solid var(--line); border-radius: var(--r); }
.wrap { width: min(var(--maxw), calc(100% - 48px)); margin: 0 auto; }

/* ---------------------------------------------------------------- nav */
.top { position: sticky; top: 14px; z-index: 50; margin-top: 14px; }
.pill-nav { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 14px; border-radius: 999px; background: var(--nav); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-sm); backdrop-filter: blur(20px) saturate(1.1); -webkit-backdrop-filter: blur(20px) saturate(1.1); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font: 400 28px/1 var(--serif); letter-spacing: -0.005em; }
.brand:hover { color: var(--ink); }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 2px; margin-left: 22px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 13px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); background: var(--moss-soft); }
.nav-end { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--slab); cursor: pointer; place-items: center; color: var(--ink); }
.nav-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; color: var(--ink); background: var(--slab); border: 1px solid var(--line); flex: none; }
.nav-icon:hover { color: var(--hedge); background: var(--cream); }
.chain-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 6px 10px; }
.chain-dot i, .chip i, .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); flex: none; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; background: var(--hedge); color: var(--cream); font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm); transition: background 0.15s, transform 0.15s; white-space: nowrap; }
.btn:hover { background: var(--hedge-2); color: var(--cream); }
.btn:disabled { background: var(--dot); color: var(--ink-2); box-shadow: none; cursor: not-allowed; }
.btn.ghost { background: var(--slab); color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--cream); color: var(--hedge-2); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.xs { padding: 6px 12px; font-size: 13px; box-shadow: none; }
.btn.block { width: 100%; }
.btn .arr { transition: transform 0.15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn:focus-visible, .inp:focus, .money:focus-within, .pick:focus-visible, .lookup:focus-within { outline: none; box-shadow: var(--focus); }

/* ---------------------------------------------------------------- hero */
.hero { padding: 60px 0 88px; display: grid; justify-items: center; gap: 30px; }
.hero-card { width: min(800px, 100%); padding: 44px 56px 36px; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--slab); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.chip b { font-weight: 600; color: var(--ink); }
.hero h1 { font-size: clamp(46px, 6.3vw, 80px); line-height: 1; margin: 24px 0 18px; letter-spacing: -0.015em; }
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 35em; margin: 0 auto 28px; }
.lookup { display: flex; align-items: center; gap: 8px; max-width: 600px; margin: 0 auto; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--slab); border: 1px solid var(--line-2); }
.lookup svg { width: 18px; height: 18px; color: var(--ink-2); flex: none; }
.lookup input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 15px var(--mono); color: var(--ink); height: 42px; }
.lookup input::placeholder { color: var(--ink-3); }
.try { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.try a { font: 500 13px var(--mono); text-decoration: none; padding: 4px 10px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); color: var(--hedge-2); }
.try a:hover { background: var(--slab); }
.lookup-err { margin: 10px 0 0; font-size: 14px; color: var(--bad); font-weight: 600; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); }
.trust svg { width: 14px; height: 14px; color: var(--moss); }

/* ---------------------------------------------------------------- the widget: the week's biggest wallets, under the hero */
.widget { width: min(720px, 100%); padding: 22px; background: var(--card-2); border: 1px solid var(--glass-edge); border-radius: var(--r-lg); box-shadow: var(--shadow); backdrop-filter: blur(22px) saturate(0.95); -webkit-backdrop-filter: blur(22px) saturate(0.95); }
.w-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.w-top .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--moss-soft); color: var(--hedge); flex: none; }
.w-top .ic svg { width: 20px; height: 20px; }
.w-top h2 { font-size: 25px; line-height: 1.1; }
.w-top .w-sub { font-size: 13px; color: var(--ink-2); }
.live { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--good); background: var(--good-soft); padding: 5px 11px; border-radius: 999px; }
.live i { animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.w-fine { margin: 12px 4px 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); text-align: center; }

.rows { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }
.wrow { display: grid; grid-template-columns: 26px 36px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 14px; background: var(--slab); text-decoration: none; color: var(--ink); }
.wrow:nth-child(even) { background: var(--zebra); }
.wrow:hover { background: var(--cream); color: var(--ink); }
.wrow .rk { font: 500 13px var(--mono); color: var(--ink-2); text-align: right; }
.wrow .who { min-width: 0; }
.wrow .who b { display: block; font: 500 14.5px var(--mono); }
.wrow .who small { display: block; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrow .val { text-align: right; font: 400 22px/1 var(--serif); }
.wrow .val small { display: block; font: 400 12px var(--sans); color: var(--ink-2); margin-top: 3px; }
.wrow .go { font-size: 13px; font-weight: 600; color: var(--hedge); white-space: nowrap; }
.av { width: 36px; height: 36px; border-radius: 11px; flex: none; overflow: hidden; }
.av svg { width: 100%; height: 100%; }
.mix { display: flex; height: 7px; border-radius: 999px; overflow: hidden; background: var(--track); margin-top: 6px; }
.mix i { display: block; height: 100%; }
.mix i + i { border-left: 1.5px solid var(--slab); }
.skeleton { display: inline-block; height: 14px; width: 90px; border-radius: 6px; background: linear-gradient(90deg, var(--sk1), var(--sk2), var(--sk1)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.badge { display: inline-grid; place-items: center; min-width: 50px; height: 28px; padding: 0 8px; border-radius: 8px; background: var(--moss-soft); border: 1px solid var(--moss-line); color: var(--hedge-2); font: 500 11.5px var(--mono); letter-spacing: 0.02em; position: relative; }
.badge.long { font-size: 10.5px; }
.badge .sw { position: absolute; left: 5px; top: 50%; width: 3px; height: 14px; margin-top: -7px; border-radius: 2px; }
.badge.has-sw { padding-left: 13px; }

/* ---------------------------------------------------------------- the strip of facts */
.strip { background: var(--strip); border-top: 1px solid var(--glass-edge); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.strip ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 30px; margin: 0 auto; padding: 18px 0; list-style: none; font-size: 14px; color: var(--ink); }
.strip li { display: inline-flex; align-items: center; }
.strip li + li { border-left: 1px solid var(--line-2); padding-left: 30px; }
.strip b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- sections */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.eyebrow { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss-ink); margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: var(--slab); border: 1px solid var(--line); }
.sec-head h2 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.04; }
.band .sec-head .it { color: var(--hedge); }   /* on the veil the reef ink is too light over the deep water; measured */
.sec-head p { margin: 16px auto 0; font-size: 17px; color: var(--ink); max-width: 36em; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.step { padding: 26px 24px; }
.step .n { display: block; font: 500 13px var(--mono); color: var(--moss-ink); margin-bottom: 14px; letter-spacing: 0.04em; }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--ink-2); margin: 0; }
.grid-4 .step:nth-child(even) { background: var(--card-2); }
.card { padding: 26px 24px; }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--moss-line); color: var(--hedge); margin-bottom: 18px; background: var(--card-2); }
.ico svg { width: 18px; height: 18px; }
.grid-3 .card:nth-child(even) { background: var(--card-2); }

/* the board: wallet cards */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wcard { display: block; padding: 20px; text-decoration: none; color: var(--ink); transition: transform 0.15s; }
.wcard:nth-child(4n+2), .wcard:nth-child(4n+3) { background: var(--card-2); }
.wcard:hover { color: var(--ink); transform: translateY(-2px); }
.wcard .hd { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.wcard .hd b { font: 500 14.5px var(--mono); display: block; }
.wcard .hd small { font-size: 12.5px; color: var(--ink-2); }
.wcard .big { font: 400 36px/1 var(--serif); }
.wcard .mix { height: 9px; margin: 14px 0 10px; }
.wcard .tks { display: flex; flex-wrap: wrap; gap: 5px; }
.wcard .tks span { font: 500 11.5px var(--mono); padding: 3px 8px; border-radius: 999px; background: var(--slab); border: 1px solid var(--line); display: inline-flex; gap: 5px; align-items: center; }
.wcard .tks span i { width: 7px; height: 7px; border-radius: 50%; }
.wcard .ft { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.wcard .ft b { color: var(--hedge); font-weight: 600; }
.more-row { display: flex; justify-content: center; margin-top: 22px; }
.empty { padding: 40px 36px; text-align: center; max-width: 760px; margin: 0 auto; width: 100%; }
.empty h3 { font-size: 30px; margin-bottom: 12px; }
.empty p { max-width: 44em; margin-left: auto; margin-right: auto; color: var(--ink-2); }
.empty .btn { margin-top: 8px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--card-2); border: 1px solid var(--glass-edge); }
.faq details:nth-child(even) { background: var(--slab); }
.faq summary { cursor: pointer; padding: 18px 24px; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 22px/1 var(--sans); color: var(--moss-ink); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 24px 20px; margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------------------------------------------------------------- app pages: a head on the clear photograph, then cards on the photograph */
.page-head { padding: 48px 0 40px; display: grid; justify-items: center; }
.page-head .glass { width: min(820px, 100%); padding: 32px 44px 30px; text-align: center; }
.page-head h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.02; margin: 0; overflow-wrap: anywhere; }
.page-head p { margin: 14px auto 0; font-size: 17px; color: var(--ink-2); max-width: 36em; }
.page-head .eyebrow { margin-bottom: 12px; }
.band.app-band { padding: 8px 0 84px; min-height: 50vh; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.app-band .card, .app-band .panel { background: var(--app-card); }
.app-band .card-2 { background: var(--app-card-2); }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
.side { position: sticky; top: 92px; display: grid; gap: 16px; }
.pane { padding: 24px; }
.pane-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pane-h h2 { font-size: 30px; }
.pane-h .meta { font-size: 12.5px; color: var(--ink-2); font-family: var(--mono); }
.who-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.who-row .btn { padding: 9px 16px; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.stat { padding: 12px 14px; border-radius: var(--r-sm); background: var(--slab); border: 1px solid var(--line); text-align: left; }
.stat .label { display: block; }
.stat b { display: block; font: 400 28px/1.1 var(--serif); margin-top: 4px; }
.stat small { font-size: 12.5px; color: var(--ink-2); }
.label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.field-label { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 7px; }

.hold { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: center; margin-bottom: 18px; }
.donut { width: 180px; height: 180px; }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; font-size: 13.5px; }
.legend div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.legend i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.legend span { margin-left: auto; font-family: var(--mono); color: var(--ink-2); }
.tbl-wrap { overflow-x: auto; border-radius: var(--r-sm); border: 1px solid var(--line); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); padding: 11px 14px; background: var(--slab); white-space: nowrap; }
.tbl td { padding: 10px 14px; background: var(--slab); border-top: 1px solid var(--line); vertical-align: middle; }
.tbl tr:nth-child(even) td { background: var(--zebra); }
.tbl .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.tbl .nm { font-size: 13px; color: var(--ink-2); }
.tbl tr.out td { color: var(--ink-2); }
.wbar { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.wbar .rail { width: 70px; height: 6px; border-radius: 999px; background: var(--track); overflow: hidden; }
.wbar .rail i { display: block; height: 100%; }
.tk { display: flex; gap: 10px; align-items: center; }
.note { font-size: 13.5px; color: var(--ink-2); margin: 12px 2px 0; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--slab); border: 1px solid var(--line); margin-bottom: 16px; }
.tabs button { border: 0; background: transparent; padding: 9px 10px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected='true'] { background: var(--hedge); color: var(--cream); }
.explain { font-size: 13.5px; color: var(--ink-2); margin: 0 0 14px; }
.money { display: flex; align-items: center; gap: 4px; background: var(--slab); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 8px 0 14px; height: 56px; }
.money > span { font: 400 28px var(--serif); color: var(--ink-2); }
.money input { border: 0; background: transparent; outline: 0; width: 100%; min-width: 0; font: 400 30px var(--serif); color: var(--ink); }
.money .btn { flex: none; }
.bal { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin: 7px 2px 14px; }
.bal b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 999px; background: var(--slab); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; padding: 5px 10px; border-radius: 999px; font: 500 12.5px var(--mono); color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed='true'] { background: var(--moss-soft); color: var(--hedge-2); box-shadow: inset 0 0 0 1px var(--moss-line); }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 12px; }
.legs { display: grid; gap: 0; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); margin-bottom: 12px; max-height: 380px; overflow-y: auto; }
.leg { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; background: var(--slab); }
.leg:nth-child(even) { background: var(--zebra); }
.leg .side-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; }
.leg .side-tag.buy { background: var(--good-soft); color: var(--good); }
.leg .side-tag.sell { background: var(--amber-soft); color: var(--amber); }
.leg .what b { display: block; font: 500 13.5px var(--mono); }
.leg .what small, .leg .n small { display: block; font-size: 12px; color: var(--ink-2); }
.leg .n { text-align: right; font: 500 13.5px var(--mono); }
.legs .empty { padding: 20px 16px; background: var(--slab); font-size: 14px; color: var(--ink-2); text-align: center; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.kv:last-child { border-bottom: 0; }
.kv b { font-family: var(--mono); font-weight: 500; text-align: right; overflow-wrap: anywhere; color: var(--ink); min-width: 0; }
.kv b small { display: block; font: 400 12px var(--sans); color: var(--ink-2); }
.doc-body code { overflow-wrap: anywhere; }
.sumbox { padding: 4px 14px; border-radius: var(--r-sm); background: var(--slab); border: 1px solid var(--line); margin-bottom: 12px; }
.msg { font-size: 14px; padding: 11px 13px; border-radius: var(--r-sm); background: var(--slab); border: 1px solid var(--line); margin: 8px 0; }
.msg.bad { background: var(--bad-soft); color: var(--bad); }
.msg.warn { background: var(--amber-soft); color: var(--amber); }
.msg.good { background: var(--good-soft); color: var(--good); }
.msg.info { background: var(--moss-soft); color: var(--ink); }
.status { margin-top: 10px; font-size: 14px; color: var(--ink); }
.status:empty { display: none; }
.progress { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.progress span { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--dot); color: var(--ink-2); }
.progress span.on { background: var(--hedge); color: var(--cream); }
.progress span.done { background: var(--good-soft); color: var(--good); }
.overlap { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--slab); border: 1px solid var(--line); margin-bottom: 14px; }
.overlap .ring { width: 46px; height: 46px; flex: none; }
.overlap b { font: 400 24px/1 var(--serif); }
.overlap small { display: block; font-size: 12.5px; color: var(--ink-2); }

.fl-list { display: grid; gap: 12px; }
.fl { display: grid; grid-template-columns: 40px minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; }
.fl:nth-child(even) { background: rgba(255, 255, 255, 0.86); }
.fl .who b { font: 500 15px var(--mono); display: block; }
.fl .who small { font-size: 13px; color: var(--ink-2); }
.fl .acts { display: flex; gap: 6px; }

/* docs */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.toc { position: sticky; top: 92px; padding: 14px; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 14.5px; color: var(--ink-2); }
.toc a:hover { background: var(--moss-soft); color: var(--ink); }
.doc-body { min-width: 0; }
.doc-body > section { padding: 30px 34px; margin-bottom: 16px; }
.app-band .doc-body > section, .app-band .toc { background: var(--doc-card); }
.doc-body .kv, .doc-body .kv span, .doc-body .note, .toc a { color: var(--ink); }
.doc-body a { color: var(--hedge-deep); }
.app-band .doc-body > section:nth-child(even) { background: var(--doc-card-2); }
.more-tbl { margin-top: 12px; }
.more-tbl summary { list-style: none; display: inline-flex; margin-bottom: 12px; }
.more-tbl summary::-webkit-details-marker { display: none; }
.more-tbl[open] summary { display: none; }
.doc-body h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 14px; }
.doc-body h2 { font-size: 34px; margin-bottom: 14px; }
.doc-body h3 { font: 600 15px var(--sans); letter-spacing: 0.01em; margin: 22px 0 8px; color: var(--ink); }
.doc-body p, .doc-body li { font-size: 15.5px; color: var(--ink); }
.doc-body ul, .doc-body ol { padding-left: 20px; }
.addr { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
pre { background: var(--code-bg); color: var(--code-ink); padding: 16px; border-radius: var(--r-sm); overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.6 var(--mono); }
.fig { font-family: var(--mono); font-weight: 500; color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--foot); color: var(--on-dark); padding: 64px 0 34px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.foot a.brand { display: flex; color: var(--on-dark); padding: 0; font: 400 28px/1 var(--serif); }
.foot .brand:hover { color: var(--on-dark); }
.foot .about { font-size: 14.5px; margin-top: 14px; color: var(--on-dark-2); max-width: 30em; }
.foot h4 { margin: 4px 0 14px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); }
.foot a { display: block; text-decoration: none; font-size: 14.5px; padding: 4px 0; color: var(--on-dark); }
.foot a:hover { color: var(--cream); text-decoration: underline; }
.foot .fine { display: grid; gap: 6px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--foot-line); font-size: 13px; color: var(--on-dark-2); }
.foot .fine a { display: inline; font-size: inherit; padding: 0; color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--foot-line); }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 99; background: var(--code-bg); color: var(--cream); padding: 12px 18px; border-radius: 14px; font-weight: 500; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast a { color: var(--toast-link); }
.center-page { min-height: 74vh; display: grid; place-items: center; padding: 40px 0; }
.center-page .glass { padding: 46px 48px; max-width: 580px; text-align: center; }
.center-page h1 { font-size: 72px; }
.center-page p { color: var(--ink-2); }

.rise { transition: opacity 0.6s ease, transform 0.6s ease; }
.motion .rise:not(.in) { opacity: 0; transform: translateY(14px); }

/* ---------------------------------------------------------------- Lark: the split hero (the sun stays clear at the right) */
.hero-split { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: start; justify-items: stretch; gap: 26px; padding-top: 54px; }
.hero-split .hero-card { width: 100%; text-align: left; padding: 44px 46px 36px; }
.hero-split .lede { margin-left: 0; }
.hero-split .trust { justify-content: flex-start; }
.hero-split .widget { width: 100%; margin-top: 150px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.w-top .ic { background: transparent; overflow: hidden; }
.w-top .ic img { width: 40px; height: 40px; }
.money select, .pick-sel { border: 0; background: transparent; font: 600 14px var(--sans); color: var(--hedge); cursor: pointer; max-width: 46%; }
.money.sm { height: 46px; }
.money.sm > span { font-size: 22px; }
.money.sm input { font-size: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font: 500 13px var(--mono); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--slab); color: var(--ink); cursor: pointer; }
.chips button[aria-checked='true'] { background: var(--hedge); color: var(--cream); border-color: var(--hedge); }
.w-out { margin: 16px 0 14px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }
.w-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; background: var(--slab); font-size: 14px; color: var(--ink-2); }
.w-line:nth-child(even) { background: var(--zebra); }
.w-line b { font: 500 14px var(--mono); color: var(--ink); text-align: right; }
.w-line b small { display: block; font: 400 12px var(--sans); color: var(--ink-2); }
.bad-t { color: var(--bad); font-family: var(--sans); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: center; }
.split > div:first-child { padding: 34px 36px; border-radius: var(--r-lg); background: var(--card-2); border: 1px solid var(--glass-edge); }
.h2 { font-size: clamp(34px, 4vw, 50px); margin-bottom: 16px; }
.big-p { font-size: 16.5px; color: var(--ink); max-width: 34em; }
.split .btn { margin-top: 8px; }
.req-demo, .req-card { padding: 24px; background: var(--slab); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.rq-top { display: flex; align-items: center; gap: 12px; }
.rq-top b { display: block; font-size: 15px; }
.rq-top small { font-size: 13px; color: var(--ink-2); }
.rq-top .av, .av-lark { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; }
.av-lark { background: var(--dot) url('../brand/mark.svg') center / cover; }
.rq-amt { font: 400 58px/1 var(--serif); margin: 18px 0 8px; }
.rq-amt small { font: 400 22px var(--serif); color: var(--ink-2); }
.rq-note { font: italic 400 22px/1.3 var(--serif); color: var(--ink-2); margin-bottom: 14px; }
.req-demo .kv:last-of-type { margin-bottom: 16px; }
.req-banner { background: var(--slab) !important; border-color: var(--moss-line) !important; }
.req-banner .rq-amt { font-size: 48px; margin: 14px 0 6px; }

/* the pay page */
.main-col { display: grid; gap: 16px; }
.payees { display: grid; gap: 10px; }
.payee { padding: 14px; border-radius: var(--r); background: var(--slab); border: 1px solid var(--line); }
.payee.alt { background: var(--zebra); }
.p-top { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.p-top .av { width: 36px; height: 36px; background: var(--dot); }
.p-top .addr { flex: 1; min-width: 0; }
.p-bot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.p-err { margin: 8px 2px 0; font-size: 13.5px; font-weight: 600; color: var(--bad); }
.x { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); color: var(--ink-2); font-size: 20px; line-height: 1; cursor: pointer; }
.x:hover { color: var(--bad); }
.inp { width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--slab); color: var(--ink); font-size: 15px; outline: 0; }
.inp.mono { font: 400 14px var(--mono); }
.inp[readonly] { background: var(--zebra); color: var(--ink-2); }
select.inp { cursor: pointer; }
.inp-row { display: flex; gap: 8px; align-items: center; }
.row-end { display: flex; justify-content: flex-end; margin-top: 12px; }
.toggle { padding: 12px 14px; border-radius: var(--r-sm); background: var(--slab); border: 1px solid var(--line); cursor: pointer; }
.toggle b { display: block; color: var(--ink); font-weight: 600; }
.toggle small { display: block; font-size: 12.5px; color: var(--ink-2); }
.toggle input, .hrow input { width: 20px; height: 20px; accent-color: var(--hedge); flex: none; cursor: pointer; }
.hold-list { max-height: 420px; }
.hrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--slab); cursor: pointer; }
.hrow:nth-child(even) { background: var(--zebra); }
.hrow.cash { cursor: default; }
.hrow .what b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrow .what small { display: block; font-size: 12px; color: var(--ink-2); font-family: var(--mono); }
.hrow .n { font: 500 14px var(--mono); }
.leg .side-tag.cash { background: var(--sky-soft); color: var(--sky); }
.leg.head { background: var(--moss-soft); }
.leg.head .n { font-weight: 600; }
.leg .n small { display: inline; }
a.leg { text-decoration: none; color: var(--ink); }
a.leg:hover { background: var(--cream); color: var(--ink); }
.av.sm { width: 28px; height: 28px; border-radius: 8px; display: inline-block; vertical-align: middle; }
.chip .av.sm { width: 20px; height: 20px; border-radius: 6px; }
.fine-print { font-size: 12.5px; color: var(--ink-2); margin: 12px 2px 0; line-height: 1.5; }
.review .btn.block { margin-top: 4px; }
.linkbox { display: grid; gap: 10px; margin-top: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.req-preview .empty, .receipt .empty { padding: 26px; }
.rc-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.receipt .card { background: rgba(252, 251, 244, 0.86); }

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 1060px) {
  .nav-links { margin-left: 8px; }
  .chain-dot { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .board, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: 1fr; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .widget { margin-top: 0; }
  .split { grid-template-columns: 1fr; }
  .rc-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 32px); }
  .top { top: 10px; margin-top: 10px; }
  .pill-nav { padding-left: 12px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; margin: 0; padding: 10px; border-radius: 22px; background: var(--slab); border: 1px solid var(--glass-edge); box-shadow: var(--shadow); }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .top.open .nav-links { display: flex; }
  .menu-btn { display: grid; }
  .btn .lg { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .brand { font-size: 25px; }
  .hero { padding: 30px 0 52px; gap: 22px; }
  .hero-card, .hero-split .hero-card { padding: 30px 20px 24px; }
  .split > div:first-child { padding: 24px 20px; }
  .p-bot { grid-template-columns: 1fr; }
  .rq-amt { font-size: 46px; }
  .inp-row { flex-direction: column; align-items: stretch; }
  .hero h1 { font-size: clamp(40px, 11.4vw, 52px); margin: 20px 0 14px; }
  .lede { font-size: 16px; margin-bottom: 22px; }
  .lookup { padding-left: 14px; }
  .lookup input { font-size: 13.5px; }
  .lookup .btn .lg { display: none; }
  .trust { gap: 6px; margin-top: 18px; }
  .trust li { font-size: 12.5px; padding: 5px 10px; }
  .widget { padding: 14px; border-radius: 22px; }
  .w-top h2 { font-size: 22px; }
  .wrow { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .wrow .rk, .wrow .go { display: none; }
  .wrow .val { font-size: 19px; }
  .strip ul { flex-direction: column; align-items: center; gap: 6px; padding: 16px 0; font-size: 13.5px; }
  .strip li + li { border-left: 0; padding-left: 0; }
  .band { padding: 64px 0; }
  .sec-head { margin-bottom: 30px; text-align: left; }
  .sec-head p { margin-left: 0; font-size: 16px; }
  .grid-4, .grid-3, .grid-2, .board { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 20px 18px; }
  .step h3 { font-size: 23px; }
  .card { padding: 22px 20px; }
  .faq summary { padding: 16px 18px; font-size: 15px; }
  .faq details p { padding: 0 18px 18px; }
  .empty { padding: 30px 22px; text-align: left; }
  .foot { padding: 48px 0 28px; }
  .foot .cols { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .foot .cols > :first-child { grid-column: 1 / -1; }
  .page-head { padding: 26px 0 24px; }
  .page-head .glass { padding: 24px 20px; }
  .page-head p { font-size: 16px; }
  .band.app-band { padding: 4px 0 60px; }
  .pane { padding: 18px; }
  .hold { grid-template-columns: 1fr; justify-items: center; }
  .legend { width: 100%; }
  .tbl .hide-sm { display: none; }
  .fl { grid-template-columns: 36px minmax(0, 1fr); }
  .fl .acts { grid-column: 1 / -1; }
  .doc-body > section { padding: 22px 20px; }
  .center-page .glass { padding: 32px 22px; }
  .center-page h1 { font-size: 56px; }
}
