/* LEGR design tokens: legr-design 0.4.2 (copied, unchanged) via bridge-liquid/demo vendor/legr-design/web/tokens.css */
:root {
  color-scheme: light;
  --rail: #f9f9f9;
  --rail-icon: #8a8a8a;
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f5;
  --surface-3: #ececec;
  --popover: #ffffff;
  --composer: #ffffff;
  --logo: #ffffff;
  --avatar: #b55722;
  --on-tint: #ffffff;
  --hover: rgb(0 0 0 / 0.05);
  --press: rgb(0 0 0 / 0.08);
  --line: rgb(0 0 0 / 0.09);
  --line-strong: rgb(0 0 0 / 0.16);
  --overlay: rgb(23 24 26 / 0.32);
  --fg: #0d0d0d;
  --fg-2: #3a3a3a;
  --muted: #5e5e5e;
  --faint: #6e6e6e;
  --accent: #2c4695;
  --accent-hover: #233a7e;
  --accent-fg: #ffffff;
  --accent-soft: #e8ecf7;
  --accent-line: #bcc7e8;
  --positive: #2b7a4b;
  --positive-soft: #e3f1e8;
  --caution: #94600a;
  --caution-soft: #f8eed8;
  --negative: #b03a30;
  --negative-soft: #f9e6e3;
  --info: #3d5a99;
  --info-soft: #e7ecf7;
  --negative-fg: #ffffff;
  --chart-in: #17623a;
  --chart-out: #e5685a;
  --chart-net: #17181a;
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #148a60;
  --series-4: #6250d6;
  --series-5: #cf4f82;
  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.05), 0 0 0 1px rgb(0 0 0 / 0.05);
  --shadow-2: 0 18px 48px -14px rgb(0 0 0 / 0.22), 0 4px 12px -4px rgb(0 0 0 / 0.08), 0 0 0 1px rgb(0 0 0 / 0.07);
  --radius: 16px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --spring: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001);
  --tint-gray: linear-gradient(180deg, #8d8d93, #6c6c72);
  --tint-blue: linear-gradient(180deg, #5b8cf5, #2f62dc);
  --tint-green: linear-gradient(180deg, #3fc48a, #1d9a64);
  --tint-orange: linear-gradient(180deg, #f6a54a, #e47f1e);
  --tint-red: linear-gradient(180deg, #f2706a, #d63f3a);
  --tint-violet: linear-gradient(180deg, #9a83f5, #6d51dc);
  --tint-teal: linear-gradient(180deg, #3cbcd0, #1a8fa6);
  --tint-ink: linear-gradient(180deg, #4a65b8, #2c4695);
  --glass-bg: rgb(255 255 255 / 0.7);
  --glass-bg-strong: rgb(255 255 255 / 0.74);
  --glass-edge: rgb(255 255 255 / 0.85);
  --glass-line: rgb(23 24 26 / 0.08);
  --glass-shadow: 0 1px 0 0 rgb(255 255 255 / 0.7) inset, 0 12px 32px -12px rgb(23 24 26 / 0.22), 0 2px 6px -2px rgb(23 24 26 / 0.08);
  --glass-bg-menu: rgb(255 255 255 / 0.98);
  --sheet-edge: rgb(0 0 0 / 0.08);
  --rim-a: rgb(0 0 0 / 0.1);
  --rim-b: rgb(0 0 0 / 0.04);
  --money-in: #2b7a4b;
  --money-in-soft: #e3f1e8;
  --money-out: #b03a30;
  --money-out-soft: #f9e6e3;
  --text-meta: 12px;
  --text-meta--line-height: 17px;
  --text-dense: 13px;
  --text-dense--line-height: 19px;
  --text-body: 14px;
  --text-body--line-height: 21px;
  --text-lead: 15.5px;
  --text-lead--line-height: 24px;
  --text-section: 16px;
  --text-section--line-height: 23px;
  --text-page: 24px;
  --text-page--line-height: 31px;
  --text-kpi: 26px;
  --text-kpi--line-height: 33px;
  --font-weight-medium: 470;
  --font-weight-semibold: 530;
  --font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, monospace;
  --text-title: 20px;
  --text-title--line-height: 28px;
  --text-display: clamp(44px, 7vw, 76px);
  --text-display--line-height: 1.02;
  --text-headline: clamp(28px, 3.6vw, 38px);
  --text-headline--line-height: 1.14;
  --radius-md: 8px;
  --radius-lg: 11px;
  --radius-xl: 14px;
  --radius-2xl: 20px;
  --radius-sheet: 16px;
  --radius-tile: 10px;
  --ease-out-ui: cubic-bezier(0.23, 1, 0.32, 1);
  --space-0-5: 2px;
  --space-1: 4px;
  --space-1-5: 6px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --control-xs: 28px;
  --control-sm: 32px;
  --control-md: 36px;
  --control-lg: 40px;
  --control-touch-web: 40px;
  --control-touch-ios: 44px;
  --row-y: 12px;
  --panel-x: 20px;
  --control-radius: 9999px;
  --badge-height: 22px;
  --icon-xs: 12px;
  --icon-sm: 14px;
  --icon-md: 16px;
  --icon-lg: 18px;
  --icon-xl: 20px;
  --page-max: 1280px;
  --reading-max: 736px;
  --dur-instant: 110ms;
  --dur-quick: 160ms;
  --dur-page: 170ms;
  --dur-exit: 110ms;
  --dur-spring-sm: 320ms;
  --dur-spring-lg: 420ms;
  --dur-rise: 520ms;
  --wait-threshold: 140ms;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --rail: #000000;
  --rail-icon: #9a9a9a;
  --canvas: #0f0f0f;
  --surface: #171717;
  --surface-2: #1f1f1f;
  --surface-3: #2a2a2a;
  --popover: #212121;
  --composer: #232323;
  --logo: #0a0a0a;
  --hover: rgb(255 255 255 / 0.07);
  --press: rgb(255 255 255 / 0.11);
  --line: rgb(255 255 255 / 0.09);
  --line-strong: rgb(255 255 255 / 0.15);
  --overlay: rgb(0 0 0 / 0.55);
  --fg: #f4f4f4;
  --fg-2: #d4d4d4;
  --muted: #adadad;
  --faint: #949494;
  --accent: #93a9ee;
  --accent-hover: #aebff3;
  --accent-fg: #0c1330;
  --accent-soft: #1b2340;
  --accent-line: #2c3a6b;
  --positive: #63c08a;
  --positive-soft: #16291e;
  --caution: #e0ad52;
  --caution-soft: #2d2412;
  --negative: #ef8378;
  --negative-soft: #331b18;
  --info: #93abe6;
  --info-soft: #1b2338;
  --negative-fg: #0f0f0f;
  --chart-in: #7fd6a3;
  --chart-out: #d9544a;
  --chart-net: #ededef;
  --series-1: #3987e5;
  --series-2: #d95926;
  --series-3: #199e70;
  --series-4: #9085e9;
  --series-5: #d55181;
  --shadow-1: 0 0 0 1px rgb(255 255 255 / 0.06);
  --shadow-2: 0 20px 56px -12px rgb(0 0 0 / 0.75), 0 4px 14px -4px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(255 255 255 / 0.09);
  --glass-bg: rgb(33 33 33 / 0.66);
  --glass-bg-strong: rgb(33 33 33 / 0.8);
  --glass-edge: rgb(255 255 255 / 0.14);
  --glass-line: rgb(255 255 255 / 0.08);
  --glass-shadow: 0 1px 0 0 rgb(255 255 255 / 0.06) inset, 0 20px 56px -12px rgb(0 0 0 / 0.75), 0 4px 14px -4px rgb(0 0 0 / 0.5);
  --glass-bg-menu: rgb(33 33 33 / 0.98);
  --sheet-edge: rgb(255 255 255 / 0.08);
  --rim-a: rgb(255 255 255 / 0.13);
  --rim-b: rgb(255 255 255 / 0.05);
  --money-in: #63c08a;
  --money-in-soft: #16291e;
  --money-out: #ef8378;
  --money-out-soft: #331b18;
}

/* LIQUID landing page. Built on the tokens above; LEGR Site density (display ramp, site shell). */
@font-face { font-family: "Geist"; src: url("/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --font-geist-sans: "Geist"; --font-geist-mono: ui-monospace; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--fg); font-family: var(--font-sans); font-size: var(--text-lead); line-height: var(--text-lead--line-height); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: calc(var(--page-max) + 2 * clamp(20px, 4vw, 48px)); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.read { max-width: var(--reading-max); }
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--canvas) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: var(--space-2); font-weight: var(--font-weight-semibold); text-decoration: none; font-size: var(--text-section); }
nav.links { display: flex; gap: var(--space-5); font-size: var(--text-body); }
nav.links a { text-decoration: none; color: var(--muted); }
nav.links a:hover { color: var(--fg); }
section { padding: var(--space-12) 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
.hero { padding: 96px 0 72px; }
h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 var(--space-5); max-width: 22ch; text-wrap: balance; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--fg-2); margin: 0 0 var(--space-8); max-width: 62ch; text-wrap: pretty; }
h2 { font-size: var(--text-headline); line-height: var(--text-headline--line-height); letter-spacing: -0.02em; font-weight: 600; margin: 0 0 var(--space-3); }
h3 { font-size: var(--text-title); line-height: var(--text-title--line-height); font-weight: var(--font-weight-semibold); margin: 0 0 var(--space-2); }
.sub { color: var(--muted); margin: 0 0 var(--space-8); max-width: 65ch; }
.eyebrow { font-size: var(--text-meta); line-height: var(--text-meta--line-height); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 var(--space-3); }
.btns { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.btn { display: inline-flex; align-items: center; gap: var(--space-2); height: var(--control-lg); padding: 0 var(--space-5); border-radius: var(--control-radius); font-size: var(--text-body); font-weight: var(--font-weight-medium); text-decoration: none; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); transition: transform 140ms var(--ease-out), background-color 150ms ease; }
.btn:hover { background: var(--hover); }
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-hover); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.grid { display: grid; gap: var(--space-4); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g4, .g2 { grid-template-columns: 1fr; } .hero { padding: 64px 0 48px; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: var(--space-6); }
.card p { margin: 0; color: var(--fg-2); }
.card ul { margin: var(--space-3) 0 0; padding-left: 1.1em; color: var(--fg-2); }
.card li + li { margin-top: var(--space-1-5); }
.num { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: var(--text-body); font-weight: var(--font-weight-semibold); margin-bottom: var(--space-4); }
.flow { width: 100%; height: auto; margin: 0 0 var(--space-8); color: var(--fg); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.card .list { margin: 0; padding: 0; list-style: none; }
.card .list li { padding: var(--space-3) 0; border-top: 1px solid var(--line); color: var(--fg-2); }
.card .list li:first-child { border-top: 0; }
ol.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: var(--space-3); padding: var(--space-4) 0; border-top: 1px solid var(--line); }
ol.steps li:first-child { border-top: 0; }
ol.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: var(--text-dense); font-weight: var(--font-weight-semibold); }
ol.steps b { display: block; font-weight: var(--font-weight-semibold); color: var(--fg); }
ol.steps span { color: var(--muted); }
@keyframes legr-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rise { animation: legr-rise var(--dur-rise) var(--ease-out) backwards; animation-delay: calc(min(var(--i, 0), 4) * 60ms); }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } html { scroll-behavior: auto; } .btn:active { transform: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .flow { display: none; } }

/* Website v2 (program#109) */
header.top .wrap { gap: var(--space-5); }
nav.links { flex: 1; justify-content: center; }
nav.links a[aria-current="page"] { color: var(--fg); }
.actions { display: flex; align-items: center; gap: var(--space-3); }
.signin { font-size: var(--text-body); color: var(--muted); text-decoration: none; }
.signin:hover { color: var(--fg); }
.btn.sm { height: var(--control-sm); padding: 0 var(--space-4); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 1.5px; background: var(--fg); }
.menu summary:hover { background: var(--hover); }
.menu nav { position: absolute; right: 0; top: 48px; min-width: 220px; display: flex; flex-direction: column; padding: var(--space-2); background: var(--popover); border-radius: var(--radius-xl); box-shadow: var(--shadow-2); }
.menu nav a { padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: var(--text-body); }
.menu nav a:hover { background: var(--hover); }
@media (max-width: 1060px) { nav.links { display: none; } .menu { display: block; } }
@media (max-width: 520px) { .signin, .actions .btn.sm { display: none; } }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--fg); }
.card.link { display: flex; flex-direction: column; gap: var(--space-2); text-decoration: none; transition: border-color 160ms ease, transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.card.link:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.card.link h3 { margin: 0; }
.card .more { margin-top: auto; padding-top: var(--space-3); font-size: var(--text-body); color: var(--accent); }
.card .more::after { content: " \2192"; }
.after { margin: var(--space-6) 0 0; }
a.text { color: var(--accent); text-decoration: none; font-weight: var(--font-weight-medium); }
a.text::after { content: " \2192"; }
a.text:hover { text-decoration: underline; }
.prose p { margin: 0 0 var(--space-4); font-size: 17px; line-height: 27px; color: var(--fg-2); }
.note { padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background: var(--accent-soft); color: var(--fg) !important; font-size: var(--text-lead) !important; }
.example p { font-size: 17px; line-height: 27px; }
.cta { border-bottom: 0; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-8); border-radius: var(--radius-2xl); background: var(--surface-2); }
.band h2 { margin: 0 0 var(--space-2); }
.band p { margin: 0; color: var(--muted); max-width: 46ch; }
.stat b { display: block; font-size: 30px; line-height: 36px; letter-spacing: -0.02em; font-weight: 600; margin-bottom: var(--space-2); }
.stat .src { display: inline-block; margin-top: var(--space-3); font-size: var(--text-meta); color: var(--muted); }
.sources { font-size: var(--text-meta); color: var(--muted); padding-bottom: var(--space-8); }
.gap-top { margin-top: var(--space-6); }
.marquee { position: relative; display: flex; overflow: hidden; gap: var(--space-4); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; flex-shrink: 0; gap: var(--space-4); margin: 0; padding: 0; list-style: none; min-width: 100%; justify-content: space-around; animation: marquee 32s linear infinite; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
.marquee a { display: flex; flex-direction: column; gap: 2px; min-width: 220px; padding: var(--space-5) var(--space-6); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); }
.marquee a b { font-size: var(--text-title); line-height: var(--text-title--line-height); font-weight: var(--font-weight-semibold); }
.marquee a span { font-size: var(--text-body); color: var(--muted); }
.marquee a:hover { border-color: var(--line-strong); }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--space-4))); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } .marquee .track[aria-hidden] { display: none; } .marquee { flex-wrap: wrap; mask-image: none; } .card.link:hover { transform: none; } }
footer { padding: var(--space-12) 0 var(--space-8); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--text-dense); }
footer .cols { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: var(--space-8); }
footer h2 { font-size: var(--text-dense); line-height: var(--text-dense--line-height); font-weight: var(--font-weight-semibold); color: var(--fg); margin: 0 0 var(--space-3); letter-spacing: 0; }
footer .cols > div > a { display: block; padding: 3px 0; text-decoration: none; }
footer .cols > div > a:hover { color: var(--fg); }
footer .fbrand p { margin: var(--space-3) 0 0; max-width: 32ch; }
footer .fine a { text-decoration: underline; }
footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: var(--text-meta); }
@media (max-width: 900px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .fbrand { grid-column: 1 / -1; } }
.network { background: var(--surface-2); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.stats:empty { display: none; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero.split .wrap { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero.split h1 { font-size: clamp(40px, 4.2vw, 62px); max-width: none; }
.hero-visual { color: var(--fg); }
.hero-visual svg { width: 100%; height: auto; display: block; }
@media (max-width: 1023px) { .hero.split .wrap { grid-template-columns: 1fr; } .hero-visual { display: none; } }
