/* Ledgerly theme — fintech. Warm paper white, mint, pill buttons, calm and number-heavy. Layout lives in ../_base/saas.css. */
@font-face { font-family: 'Manrope'; src: url(fonts/manrope.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(fonts/jetbrains-mono.woff2) format('woff2'); font-weight: 500; font-display: swap; }
:root {
  --bg: #FAF8F3; --bg2: #FFFFFF; --bg3: #F1EEE5; --ink: #13201A; --ink2: #5E6A62; --line: color-mix(in srgb, var(--ink) 10%, transparent);
  --acc: #0FA37F; --acc-ink: #FFFFFF; --acc2: #6C5CE7; --acc3: #F2A93B;
  --f-head: 'Manrope', system-ui, sans-serif; --f-body: 'Manrope', system-ui, sans-serif; --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --r-lg: 28px; --r-md: 18px; --btn-r: 999px;
}
h1, h2, h3, .a-head h2 { font-weight: 700; letter-spacing: -0.04em; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); }
.nav-links { background: var(--bg2); }
.nav-links a:hover { background: var(--bg3); }
.a-btn.ghost { background: var(--bg2); }
.card, .plan { background: var(--bg2); }
.quote { background: var(--ink); color: #F4F1EA; border: 0; }
.quote blockquote, .quote b { color: #fff; }
.quote .a-eye, .quote small { color: #A8B3AC; }
.quote .av.lg { background: var(--acc); color: #fff; }
.quote .who-link { color: #7FE0C4; }
.a-frame { background: color-mix(in srgb, var(--acc) 6%, var(--bg2)); }
.a-word { color: var(--ink); -webkit-text-stroke: 0; background: none; opacity: .06; }

/* Hero */
.l-hero { padding: 150px 0 90px; }
.l-hero::before { background: radial-gradient(circle, color-mix(in srgb, var(--acc) 14%, transparent), transparent 62%); }
.l-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.l-copy { text-align: left; }
.l-hero h1 { margin-top: 22px; font-size: clamp(44px, 5.6vw, 78px); font-weight: 800; letter-spacing: -0.05em; line-height: .98; text-wrap: balance; }
.l-hero .hl { position: relative; color: var(--ink); white-space: nowrap; }
.l-hero .hl::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; z-index: -1; border-radius: 6px; background: color-mix(in srgb, var(--acc) 35%, transparent); transform-origin: left; transform: scaleX(0); transition: transform 1s .5s var(--ease); }
.l-hero h1.in .hl::after { transform: scaleX(1); }
.l-hero .hero-sub { font-size: 19px; }
.l-hero .hero-btns { justify-content: flex-start; }
.l-proof { display: flex; align-items: center; gap: 14px; margin-top: 32px; font-size: 14px; color: var(--ink2); }
.l-proof b { color: var(--ink); }
.l-avs { display: flex; }
.l-avs i { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -8px; border-radius: 50%; border: 2px solid var(--bg); background: var(--bg3); font: 700 11px/1 var(--f-body); font-style: normal; color: var(--ink); }
.l-avs i:first-child { margin-left: 0; background: #DDEFE7; } .l-avs i:nth-child(2) { background: #E8E4FB; } .l-avs i:nth-child(3) { background: #FBEBD3; } .l-avs i:last-child { background: var(--ink); color: #fff; }
.l-stage { position: relative; height: 520px; perspective: 1200px; }
.l-card { position: absolute; left: 8%; top: 4%; width: 380px; aspect-ratio: 1.586; padding: 26px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.22), transparent 40%), linear-gradient(135deg, #0FA37F, #0B6F57 60%, #13201A); box-shadow: 0 40px 70px -30px rgba(11,111,87,.6), inset 0 1px 0 rgba(255,255,255,.25); display: flex; flex-direction: column; transform: rotateX(var(--ry, 8deg)) rotateY(var(--rx, -14deg)) rotateZ(-4deg); transition: transform .4s var(--ease); z-index: 2; overflow: hidden; }
.l-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 45%, transparent 60%); transform: translateX(-100%); animation: l-shine 5s 1.5s ease-in-out infinite; }
@keyframes l-shine { 30%, 100% { transform: translateX(100%); } }
.l-card-top { display: flex; justify-content: space-between; align-items: center; }
.l-chip { width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #F5D78A, #C89B3C); }
.l-card-logo { font-weight: 800; letter-spacing: -0.04em; font-size: 20px; }
.l-card-num { margin-top: auto; font: 500 19px/1 var(--f-mono); letter-spacing: .08em; }
.l-card-bot { display: flex; justify-content: space-between; margin-top: 18px; }
.l-card-bot small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.l-card-bot b { font-size: 14px; font-weight: 600; }
.l-panel { position: absolute; box-shadow: 0 30px 60px -30px rgba(19,32,26,.3); }
.l-panel > div { background: var(--bg2); }
.l-tx { right: 0; top: 34%; width: 340px; z-index: 3; animation: l-bob 7s ease-in-out infinite; }
.l-tx > div { padding: 16px; }
.l-panel-h { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 8px; }
.l-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--acc); font-weight: 600; }
.l-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); animation: k-pulse 1.4s infinite; }
.tx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tx-list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-radius: 12px; font-size: 13px; transition: background .4s; }
.tx-list li.new { animation: l-in .6s var(--ease); background: color-mix(in srgb, var(--acc) 8%, transparent); }
@keyframes l-in { from { opacity: 0; transform: translateY(-10px); } }
.tx-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--c); color: #fff; font-weight: 700; font-size: 13px; }
.tx-list b { display: block; font-weight: 600; }
.tx-list small { color: var(--ink2); font-size: 11.5px; }
.tx-list em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.l-budget { left: 0; bottom: 2%; width: 290px; z-index: 3; animation: l-bob 8s 1s ease-in-out infinite reverse; }
.l-budget > div { display: flex; align-items: center; gap: 14px; padding: 16px; }
.l-budget svg { width: 64px; height: 64px; flex: none; transform: rotate(-90deg); }
.rg-bg, .rg { fill: none; stroke-width: 9; }
.rg-bg { stroke: var(--bg3); }
.rg { stroke: var(--acc); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: l-ring 1.6s 1s var(--ease) forwards; }
@keyframes l-ring { to { stroke-dashoffset: 36; } }
.l-budget small { display: block; color: var(--ink2); font-size: 12px; }
.l-budget b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.l-budget span { color: var(--ink2); font-size: 12px; }
@keyframes l-bob { 50% { transform: translateY(-10px); } }

/* Feature rows (zigzag) */
.l-rows { display: grid; gap: 120px; }
.l-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.l-row.flip .l-row-copy { order: 2; }
.l-row-copy h3 { margin-top: 18px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.04em; }
.l-row-copy p { margin-top: 16px; font-size: 18px; color: var(--ink2); }
.l-row-viz > div { position: relative; min-height: 380px; display: grid; place-items: center; padding: 32px; background: radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--acc) 10%, transparent), transparent 55%), var(--bg2); }
.lv-cards { position: relative; width: 300px; height: 190px; }
.lv-c { position: absolute; inset: 0; padding: 20px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.18), transparent 45%), var(--cbg); box-shadow: 0 24px 40px -20px rgba(19,32,26,.45); transform: translateX(var(--x)) rotate(var(--r)); transition: transform .7s var(--ease); display: flex; flex-direction: column; }
.lv-c b { font-size: 18px; } .lv-c small { opacity: .75; font-size: 13px; } .lv-c span { margin-top: auto; font: 500 14px/1 var(--f-mono); letter-spacing: .08em; }
.l-row:hover .lv-c { transform: translateX(calc(var(--x) * 2.4)) rotate(calc(var(--r) * 1.6)); }
.lv-btn { position: absolute; bottom: 28px; padding: 10px 18px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.lv-policy { display: grid; justify-items: center; gap: 6px; width: 100%; max-width: 360px; }
.lp-rule { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; }
.lp-rule span { color: var(--ink2); } .lp-rule b { font-weight: 700; }
.lp-rule.ok { border-color: color-mix(in srgb, var(--acc) 40%, transparent); background: color-mix(in srgb, var(--acc) 8%, var(--bg2)); }
.lp-arrow { color: var(--acc); font-weight: 700; }
.lp-toast { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13px; transform: translateY(8px); opacity: 0; transition: all .6s .3s var(--ease); }
.l-row-viz.in .lp-toast { transform: none; opacity: 1; }
.lv-close { width: 100%; max-width: 380px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); }
.lc-h { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; }
.lc-h span { color: var(--acc); font-size: 13px; font-weight: 600; }
.lc-i { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.lc-i i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); }
.lc-i.done i { background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/11px no-repeat; border-color: var(--acc); }
.lc-i em { font-style: normal; color: var(--ink2); font-size: 13px; }
.lc-bar { height: 6px; margin-top: 12px; border-radius: 6px; background: var(--bg3); overflow: hidden; }
.lc-bar i { display: block; height: 100%; width: 0; background: var(--acc); border-radius: 6px; transition: width 1.6s .3s var(--ease); }
.l-row-viz.in .lc-bar i { width: 92%; }
.cta { background: var(--ink); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: #C9D2CC; opacity: 1; }
.cta-mark { color: color-mix(in srgb, var(--acc) 30%, transparent); }
.a-btn.dark { background: var(--acc); color: #fff; --chip: #fff; }
.a-btn.dark .chip { color: var(--acc); }

@media (max-width: 1080px) { .l-hero-in { grid-template-columns: 1fr; } .l-stage { max-width: 560px; } }
@media (max-width: 900px) { .l-row, .l-row.flip { grid-template-columns: 1fr; gap: 32px; } .l-row.flip .l-row-copy { order: 0; } .l-rows { gap: 80px; } }
@media (max-width: 560px) { .l-stage { height: 470px; } .l-card { width: 290px; left: 0; padding: 20px; } .l-tx { width: 290px; top: 38%; } .l-budget { width: 250px; } }
/* Hero stage spacing */
.l-card { left: 2%; top: 0; width: 360px; }
.l-tx { width: 330px; top: 30%; }
.l-budget { width: 236px; bottom: 0; }
.l-budget > div { gap: 12px; }
.l-budget svg { width: 54px; height: 54px; }
@media (max-width: 560px) { .l-card { width: 290px; } .l-tx { width: 280px; top: 36%; } .l-budget { width: 220px; bottom: -6%; } }
.l-stage { margin-top: 24px; }
.l-budget span { white-space: nowrap; }
