/* LISA landing page. Uses the tokens in lisa.css. */

section { position: relative; }
.head { max-width: 760px; margin: 0 auto 56px; }
.head.center { text-align: center; }
.head h2, .demo-copy h2, .faq h2, .trust-copy h2 { font-size: clamp(36px, 5vw, 60px); margin-top: 16px; }
.head .lead { margin: 18px auto 0; max-width: 600px; }
.link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* shared chat bubbles (hero, devices, how) */
.b-user { align-self: flex-end; max-width: 86%; padding: 9px 14px; border-radius: 18px 18px 6px 18px; background: var(--grad); color: #fff; font-weight: 500; box-shadow: 0 8px 18px -10px rgba(30,87,200,.6); }
.b-lisa { align-self: flex-start; max-width: 92%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); line-height: 1.55; }
.b-lisa b { color: var(--ink); font-weight: 650; }
.b-card { align-self: flex-start; display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .92em; }
.b-card span { color: var(--ink-mute); font-size: .85em; }
.b-card b { color: var(--ink); }
.b-btn { display: inline-flex; align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 650; font-size: 13px; border: 1px solid var(--blue-100); }

/* ═══════════ HERO ═══════════ */
.hero { padding: 150px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--hero-bg); overflow: hidden; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero-bg .b1 { width: 620px; height: 620px; left: -160px; top: -200px; background: var(--blob-1); animation: drift 26s ease-in-out infinite; }
.hero-bg .b2 { width: 560px; height: 560px; right: -140px; top: 40px; background: var(--blob-2); animation: drift 30s ease-in-out infinite reverse; }
.hero-bg .b3 { width: 520px; height: 520px; left: 35%; bottom: -260px; background: var(--blob-3); animation: drift 34s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0,0); } 33% { transform: translate(60px,-40px); } 66% { transform: translate(-40px,30px); } }

.hero-copy { text-align: center; max-width: 980px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgb(var(--surface-rgb) / .8); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: border-color .25s, transform .35s var(--ease); }
.pill:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.pill svg { width: 15px; height: 15px; color: var(--ink-mute); transition: transform .3s var(--ease); }
.pill:hover svg { transform: translateX(3px); }
.pill-tag { padding: 3px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.hero h1 { margin-top: 28px; font-size: clamp(44px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -.045em; }
.hero h1 .serif { font-size: 1.08em; letter-spacing: -.02em; padding-right: .06em; }
.hero .lead { max-width: 640px; margin: 26px auto 0; }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.proof { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 18px; height: 18px; color: var(--blue); }
@media (max-width: 640px) { .br-lg { display: none; } }

/* stage */
.stage { position: relative; height: 600px; margin-top: 40px; perspective: 1600px; transform-style: preserve-3d; }
.stage.in { transform: perspective(1600px) rotateX(calc(max(var(--p, 0), 0) * 16deg)) scale(calc(1 - max(var(--p, 0), 0) * .05)); transform-origin: 50% 0%; transition: opacity 1.1s var(--ease); }
.stage-floor { position: absolute; left: 50%; bottom: 10px; width: 640px; height: 120px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(30,87,200,.28), transparent 70%); filter: blur(24px); }
.stage-orb { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; transform: translate(-60%, -50%); }
.stage-orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring { position: absolute; inset: 50%; border-radius: 50%; border: 1px solid rgba(30,87,200,.12); }
.ring.r1 { inset: 8%; animation: spin 50s linear infinite; border-style: dashed; }
.ring.r2 { inset: -6%; animation: spin 70s linear infinite reverse; }
.ring.r3 { inset: -20%; border-color: rgba(30,87,200,.07); }
.ring.r1::after, .ring.r2::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(34,180,238,.18); }
.ring.r2::after { background: var(--blue); top: auto; bottom: 12%; left: 6%; }
@keyframes spin { to { transform: rotate(360deg); } }

.float { position: absolute; z-index: 3; }
.float-card { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgb(var(--surface-rgb) / .85); border: 1px solid var(--glass-border); box-shadow: 0 24px 50px -20px rgba(10,19,38,.3), 0 0 0 1px var(--hover); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: bob 7s ease-in-out infinite; }
.f1 { left: 2%; top: 14%; } .f2 { left: 6%; bottom: 14%; } .f3 { left: 30%; top: 2%; }
.f2 .float-card { animation-delay: -2.5s; } .f3 .float-card { animation-delay: -4.5s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.fc-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; }
.fc-ico svg { width: 19px; height: 19px; }
.fc-ico.ok { background: var(--tint-mint); color: var(--mint); }
.fc-ico.blue { background: var(--blue-50); color: var(--blue); }
.fc-k { font-size: 12px; color: var(--ink-mute); line-height: 1.3; }
.fc-v { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.25; }
.fc-v.sm { font-size: 15px; }
.live-dot { position: relative; width: 10px; height: 10px; margin: 0 4px; border-radius: 50%; background: var(--amber); }
.live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--amber); opacity: .5; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }

.convo { position: absolute; z-index: 4; right: 0; top: 50%; width: 400px; transform: translateY(-50%); border-radius: 26px; background: rgb(var(--surface-rgb) / .82); border: 1px solid var(--glass-border); box-shadow: 0 40px 90px -36px rgba(10,19,38,.45), 0 0 0 1px var(--hover); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); overflow: hidden; }
.convo-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.convo-name { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 15px; line-height: 1.2; }
.convo-sub { font-size: 12px; color: var(--ink-mute); transition: opacity .3s; }
.convo-badge { margin-left: auto; padding: 4px 9px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--ink-mute); }
.convo-body { height: 290px; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; overflow: hidden; justify-content: flex-end; }
.convo-body > * { animation: msg-in .55s var(--ease) both; }
.convo-body.fade > * { opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .4s; animation: none; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; align-self: flex-start; padding: 12px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface); border: 1px solid var(--line); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: dot 1.1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%,80%,100% { transform: scale(.55); opacity: .35; } 40% { transform: scale(1); opacity: 1; } }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--blue); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 1020px) {
  .stage { height: auto; display: flex; flex-direction: column; align-items: center; padding-bottom: 20px; }
  .stage.in { transform: none; }
  .stage-orb { position: relative; left: auto; top: auto; transform: none; width: min(380px, 86vw); height: min(380px, 86vw); }
  .convo { position: relative; right: auto; top: auto; transform: none; width: min(420px, 100%); margin-top: -70px; }
  .float { display: none; }
}

/* ═══════════ LENDERS ═══════════ */
.lenders { padding: 36px 0 20px; }
.lenders-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 44px; padding: 22px 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); max-width: 860px; }
.lenders-row p { font-size: 15px; color: var(--ink-soft); }
.lenders-row b { color: var(--ink); font-weight: 650; }
.lender-logos { display: flex; align-items: center; gap: 36px; }
.lender-logos img { height: 34px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .3s, opacity .3s; }
.lender-logos img:first-child { height: 40px; }
.lender-logos img:hover { filter: none; opacity: 1; }

/* ═══════════ WHERE ═══════════ */
.where { padding: 110px 0 30px; }
.seg { position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 40px; padding: 5px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .3s; }
.seg button svg { width: 17px; height: 17px; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--surface); box-shadow: 0 6px 18px -8px rgba(10,19,38,.3), 0 0 0 1px var(--hover); transition: transform .55s var(--ease), width .55s var(--ease); }

.where-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.where-copy { display: grid; }
.where-panel { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.where-panel.active { opacity: 1; transform: none; pointer-events: auto; }
.where-panel h3 { font-size: clamp(28px, 3.2vw, 40px); margin: 18px 0 16px; }
.where-panel > p { color: var(--ink-soft); font-size: 17px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 650; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.status.live { background: var(--tint-mint); color: var(--ok-text); }
.status.soon { background: var(--blue-50); color: var(--blue); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.ticks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue-50); color: var(--blue); margin-top: 1px; }

.where-stage { position: relative; display: grid; place-items: center; min-height: 500px; perspective: 1600px; }
.where-stage > .device { transform-style: preserve-3d; }
.where-stage.in, .where-stage { --pp: max(var(--p, 0), 0); }
.where-glow { position: absolute; inset: 6% 4%; border-radius: 40px; background: radial-gradient(circle at 30% 30%, rgba(34,180,238,.25), transparent 60%), radial-gradient(circle at 70% 70%, rgba(30,87,200,.25), transparent 60%); filter: blur(40px); }
.device { grid-area: 1 / 1; position: relative; transition: opacity .6s var(--ease), transform .9s var(--ease); opacity: 0; pointer-events: none;
  transform: rotateX(calc(var(--pp) * 14deg)) rotateY(-24deg) translateZ(-120px) scale(.92); }
.device.active { opacity: 1; pointer-events: auto; transform: rotateX(calc(var(--pp) * 14deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)); transition: opacity .6s var(--ease), transform .25s linear; }

/* browser mockup */
.browser { width: 100%; max-width: 640px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 12px; }
.br-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.br-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .br-bar i:nth-child(2) { background: #febc2e; } .br-bar i:nth-child(3) { background: #28c840; }
.br-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-mute); font-size: 11px; }
.br-body { display: grid; grid-template-columns: 120px 1fr 230px; min-height: 360px; }
.br-side { padding: 16px 10px; background: var(--night); display: grid; align-content: start; gap: 4px; }
.br-logo { height: 13px; width: auto; filter: brightness(0) invert(1); margin: 2px 8px 14px; }
.br-side p { padding: 7px 10px; border-radius: 8px; color: #8b97b3; font-size: 11.5px; }
.br-side p.on { background: rgba(255,255,255,.1); color: #fff; }
.br-main { padding: 16px; display: grid; align-content: start; gap: 12px; }
.br-hello { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 14px; }
.br-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.br-kpis div { padding: 10px; border-radius: 10px; border: 1px solid var(--line); }
.br-kpis span { display: block; color: var(--ink-mute); font-size: 10px; }
.br-kpis b { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.br-chart { height: 130px; display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-soft)); }
.br-chart span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #2f7be8, #1e57c8); opacity: .85; transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.br-chart span:nth-child(odd) { background: linear-gradient(180deg, #7dd3f5, #22b4ee); }
@keyframes grow { from { transform: scaleY(0); } }
.br-lisa { padding: 14px; border-left: 1px solid var(--line); background: var(--bg-soft); display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; }
.br-lisa-h { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }

/* phone mockup */
.phone { width: 300px; }
.ph-frame { position: relative; width: 300px; height: 610px; padding: 6px; border-radius: 48px; background: linear-gradient(145deg, #2a2f3d 0%, #10131c 55%, #05070d 100%); box-shadow: 0 60px 100px -36px rgba(10,8,30,.6), 0 18px 40px -20px rgba(30,87,200,.4), inset 0 0 0 1.5px rgba(255,255,255,.07); }
.ph-frame::after { content: ""; position: absolute; inset: 0; border-radius: 48px; background: linear-gradient(90deg, rgba(255,255,255,.18), transparent 12%, transparent 88%, rgba(255,255,255,.18)); mix-blend-mode: screen; pointer-events: none; }
.ph-island { position: absolute; z-index: 3; top: 16px; left: 50%; width: 104px; height: 28px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.ph-screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: linear-gradient(180deg, #f3f7fd 0%, #fff 40%); display: flex; flex-direction: column; font-size: 12.5px; }
.ph-top { display: flex; align-items: baseline; gap: 5px; padding: 54px 20px 10px; }
.ph-top img { height: 13px; width: auto; }
.ph-top span { font-family: var(--font-display); font-weight: 700; color: var(--teal); font-size: 13px; }
.ph-chat-h { display: flex; align-items: center; gap: 10px; margin: 4px 14px 10px; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ph-chat-h b { display: block; color: var(--ink); font-family: var(--font-display); }
.ph-chat-h small { color: var(--ink-mute); font-size: 11px; }
.ph-msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 4px 14px; }
.ph-card { align-self: stretch; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ph-card p { font-weight: 650; color: var(--ink); margin-bottom: 8px; }
.ph-row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--ink-soft); }
.ph-row b { color: var(--ink); }
.ph-bar { height: 6px; margin: 8px 0 10px; border-radius: 6px; background: var(--blue-50); overflow: hidden; }
.ph-bar i { display: block; height: 100%; border-radius: 6px; background: var(--grad); }
.ph-btn { display: block; text-align: center; padding: 9px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 650; }
.ph-input { display: flex; align-items: center; justify-content: space-between; margin: 10px 12px 18px; padding: 8px 8px 8px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-mute); }
.ph-input i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--blue); color: #fff; }
.ph-input svg { width: 15px; height: 15px; }

@media (max-width: 980px) {
  .where-grid { grid-template-columns: 1fr; gap: 40px; }
  .where-stage { min-height: 0; }
  .br-body { grid-template-columns: 1fr 200px; } .br-side { display: none; }
}
@media (max-width: 560px) { .br-body { grid-template-columns: 1fr; } .br-lisa { border-left: 0; border-top: 1px solid var(--line); } .seg button { padding: 0 14px; font-size: 14px; } }

/* ═══════════ MARQUEE ═══════════ */
.asked { padding: 30px 0 40px; text-align: center; }
.asked > p { color: var(--ink-soft); margin-bottom: 26px; font-size: 16px; }
.asked .serif { font-size: 1.25em; color: var(--ink); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.marquee-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ DEMO ═══════════ */
.demo { padding: 80px 0 90px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 30%, var(--bg-soft) 70%, var(--bg) 100%); }
.demo-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.demo-copy .lead { margin-top: 18px; }
.who { display: grid; gap: 10px; margin-top: 30px; }
.who button { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); text-align: left; transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.who button svg { width: 22px; height: 22px; flex: none; padding: 9px; box-sizing: content-box; border-radius: 12px; background: var(--bg-soft); color: var(--ink-soft); transition: background .3s, color .3s; }
.who button b { display: block; font-family: var(--font-display); color: var(--ink); font-size: 16px; }
.who button small { color: var(--ink-mute); font-size: 13.5px; }
.who button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.who button[aria-selected="true"] { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,87,200,.1), var(--shadow); }
.who button[aria-selected="true"] svg { background: var(--blue); color: #fff; }
.mini-ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.mini-ticks li { display: flex; gap: 10px; align-items: center; }
.mini-ticks svg { width: 18px; height: 18px; color: var(--mint); flex: none; }

.chat { display: flex; flex-direction: column; height: 580px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.chat-id { display: flex; align-items: center; gap: 12px; }
.chat-orb { position: relative; width: 42px; height: 42px; }
.chat-orb canvas { position: absolute; inset: -9px; width: 60px; height: 60px; }
.chat-id p { font-family: var(--font-display); font-weight: 800; color: var(--ink); line-height: 1.2; }
.chat-id small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ok-text); }
.chat-id small i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.chat-reset { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-soft); transition: color .2s, border-color .2s; }
.chat-reset:hover { color: var(--ink); border-color: var(--line-strong); }
.chat-reset svg { width: 14px; height: 14px; }
.chat-body { flex: 1; overflow-y: auto; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; background: var(--bg-soft); scroll-behavior: smooth; font-size: 15px; }
.chat-body::-webkit-scrollbar { width: 6px; } .chat-body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; }
.chat-body > * { animation: msg-in .5s var(--ease) both; }
.m-lisa { display: flex; gap: 10px; align-items: flex-start; max-width: 92%; }
.m-lisa .orb { width: 28px; height: 28px; margin-top: 2px; }
.m-lisa .stack { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.m-lisa .b-lisa { max-width: 100%; }
.ans-card { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; animation: msg-in .5s var(--ease) both; }
.ans-card h5 { margin: 0; padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--bg-soft); border-bottom: 1px solid var(--line); font-family: var(--font-display); }
.ans-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 14px; font-size: 14px; border-bottom: 1px solid var(--line-2); }
.ans-card .row:last-of-type { border-bottom: 0; }
.ans-card .row span { color: var(--ink-soft); }
.ans-card .row b { color: var(--ink); font-weight: 650; text-align: right; }
.ans-card .row b.ok { color: var(--ok-text); } .ans-card .row b.warn { color: var(--warn-text); }
.ans-card .act { display: flex; padding: 10px 14px; border-top: 1px solid var(--line-2); }
.ans-card .act span { padding: 8px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 650; }
.ans-card .steps { display: flex; gap: 4px; padding: 12px 14px 4px; }
.ans-card .steps i { flex: 1; height: 5px; border-radius: 4px; background: var(--line); }
.ans-card .steps i.d { background: var(--grad); } .ans-card .steps i.c { background: var(--amber); }
.ans-src { font-size: 12px; color: var(--ink-mute); display: inline-flex; gap: 6px; align-items: center; }
.ans-src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.ans-cta { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 650; font-size: 14px; }
.chat-foot { padding: 12px 16px 14px; border-top: 1px solid var(--line-2); background: var(--surface); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; color: var(--ink-2); transition: border-color .2s, color .2s, transform .3s var(--ease), background .2s; }
.chips button:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); transform: translateY(-1px); }
.composer { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-soft); transition: border-color .25s, box-shadow .25s, background .25s; }
.composer:focus-within { border-color: var(--blue); background: var(--surface); box-shadow: 0 0 0 4px rgba(30,87,200,.1); }
.composer input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; outline: none; font-size: 15px; color: var(--ink); }
.composer input::placeholder { color: var(--ink-mute); }
.composer button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 13px; background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); transition: transform .3s var(--ease), opacity .2s; }
.composer button:hover { transform: scale(1.06); }
.composer button:disabled { opacity: .4; transform: none; }
.composer button svg { width: 18px; height: 18px; }
.chat-note { margin-top: 10px; font-size: 12.5px; color: var(--ink-mute); text-align: center; }
.chat-note a { color: var(--blue); font-weight: 600; }
@media (max-width: 980px) { .demo-grid { grid-template-columns: 1fr; gap: 40px; } .chat { height: 600px; } }

/* ═══════════ HOW (sticky story) ═══════════ */
.how { padding: 110px 0 20px; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.how-visual { position: sticky; top: calc(50vh - 210px); align-self: start; }
.how-card { position: relative; padding: 26px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.how-card::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(34,180,238,.18), transparent 70%); }
.how-q { display: flex; justify-content: flex-end; font-size: 15px; }
.how-views { position: relative; display: grid; margin-top: 18px; min-height: 230px; }
.hv { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; font-size: 14.5px; }
.hv.active { opacity: 1; transform: none; pointer-events: auto; }
.hv-t { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 9px 13px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-soft); }
.tags b { color: var(--ink); }
.calls, .checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.calls li { display: grid; grid-template-columns: 22px auto 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); }
.calls svg, .checks svg { width: 18px; height: 18px; color: var(--mint); }
.calls code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 12.5px; color: var(--ink); }
.calls span { text-align: right; color: var(--ink-mute); font-size: 13px; }
.checks li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.checks li.no { background: var(--tint-rose); border-color: var(--tint-rose-line); color: var(--err-text); text-decoration: line-through; text-decoration-color: rgba(180,35,24,.5); }
.checks li.no svg { color: var(--rose); }
.how-dots { display: flex; gap: 6px; margin-top: 18px; }
.how-dots i { width: 22px; height: 4px; border-radius: 4px; background: var(--line); transition: background .4s, width .4s var(--ease); }
.how-dots i.on { width: 40px; background: var(--grad); }
.how-steps { list-style: none; margin: 0; padding: 0; }
.hs { display: flex; gap: 22px; min-height: 40vh; padding: 10px 0; opacity: .32; transition: opacity .6s var(--ease); }
.hs.active { opacity: 1; }
.hs:last-child { min-height: 0; padding-bottom: 12vh; }
.hs-n { flex: none; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--blue); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-50); border: 1px solid var(--blue-100); }
.hs h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 6px 0 12px; }
.hs p { color: var(--ink-soft); font-size: 17px; max-width: 440px; }
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; gap: 24px; }
  .how-visual { top: 84px; z-index: 2; }
  .hs { min-height: 0; padding: 26px 0; opacity: 1; }
  .how-views { min-height: 210px; }
}

/* ═══════════ BENTO ═══════════ */
.ask { padding: 100px 0 120px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bx { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.bx:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(30,87,200,.08), transparent 45%); }
.spot:hover::after { opacity: 1; }
.bx-wide { grid-column: span 2; }
.bx-tall { grid-row: span 2; }
.bx h3 { font-size: 21px; letter-spacing: -.02em; }
.bx > p { color: var(--ink-soft); font-size: 15px; }
.bx .q { margin-top: auto; padding: 10px 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); font-style: italic; }
.aud { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
.stepper { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.stepper span { position: relative; padding: 8px 12px 8px 26px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--bg-soft); color: var(--ink-mute); border: 1px solid var(--line); }
.stepper span::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--line-strong); }
.stepper .d { color: var(--ink-2); background: var(--surface); } .stepper .d::before { background: var(--mint); }
.stepper .cur { color: var(--warn-text); background: var(--tint-amber); border-color: var(--tint-amber-line); } .stepper .cur::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(240,160,32,.2); }
.big-num span { font-family: var(--font-display); font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; }
.big-num small { display: block; color: var(--ink-mute); font-size: 14px; }
.earn, .margin { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.earn div, .margin div { padding: 12px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line-2); }
.earn small, .margin small { display: block; color: var(--ink-mute); font-size: 12.5px; }
.earn b, .margin b { font-family: var(--font-display); font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
b.ok { color: var(--ok-text) !important; } b.warn { color: var(--warn-text) !important; }
.margin { grid-template-columns: 1fr 1fr auto; align-items: center; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 12px; border-radius: 14px; background: var(--bg-soft); }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--line-strong); transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s var(--ease); }
.bars span.c { background: var(--grad); }
.bx.in .bars span { transform: none; }
.bx.in .bars span:nth-child(2) { transition-delay: .08s; } .bx.in .bars span:nth-child(3) { transition-delay: .16s; } .bx.in .bars span:nth-child(4) { transition-delay: .24s; } .bx.in .bars span:nth-child(5) { transition-delay: .32s; } .bx.in .bars span:nth-child(6) { transition-delay: .4s; }
.wa { position: relative; padding: 12px 14px 22px; border-radius: 14px 14px 14px 4px; background: #e7fbe4; border: 1px solid #cdeec7; font-size: 14px; color: #183b1a; line-height: 1.55; }
.wa span { position: absolute; right: 10px; bottom: 5px; font-size: 11px; color: #4f8a52; }
.langs { display: grid; gap: 10px; margin-top: auto; }
.langs span { padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); animation: lang 6s var(--ease) infinite; }
.langs span:nth-child(2) { animation-delay: 2s; } .langs span:nth-child(3) { animation-delay: 4s; }
@keyframes lang { 0%, 30%, 100% { border-color: var(--line-2); background: var(--bg-soft); } 8%, 22% { border-color: var(--blue); background: var(--blue-50); color: var(--ink); } }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .bx-tall { grid-row: auto; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bx-wide { grid-column: auto; } .margin { grid-template-columns: 1fr 1fr; } .margin .b-btn { grid-column: 1 / -1; } }

/* ═══════════ TRUST ═══════════ */
.trust { padding: 0 16px; }
.trust-band { position: relative; max-width: 1280px; margin: 0 auto; padding: 100px 0; border-radius: 40px; background: var(--night); color: #9aa6c0; overflow: hidden; }
.trust-glow { position: absolute; inset: 0; background: radial-gradient(600px circle at 85% 0%, rgba(30,87,200,.45), transparent 60%), radial-gradient(500px circle at 0% 100%, rgba(34,180,238,.22), transparent 60%); }
.trust-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); pointer-events: none; }
.trust-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.3fr; gap: 64px; }
.eyebrow.light { color: #8fb3ff; }
.trust-copy h2 { color: #fff; }
.trust-copy h2 .serif { background: linear-gradient(110deg, #8fb3ff, #5ee1ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.trust-copy > p { margin-top: 18px; font-size: 17px; max-width: 420px; }
.zero { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding: 18px 22px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); max-width: 400px; }
.zero span { font-family: var(--font-display); font-size: 56px; font-weight: 800; color: #fff; line-height: 1; }
.zero small { font-size: 14px; line-height: 1.5; }
.never { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nv { padding: 22px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.nv:hover { background: rgba(255,255,255,.07); border-color: rgba(143,179,255,.35); transform: translateY(-3px); }
.nv svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(143,179,255,.12); color: #a9c3ff; }
.nv h4 { margin: 16px 0 6px; color: #fff; font-size: 16.5px; letter-spacing: -.01em; }
.nv p { font-size: 14.5px; line-height: 1.55; }
@media (max-width: 980px) { .trust-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .never { grid-template-columns: 1fr; } .trust-band { padding: 72px 0; border-radius: 28px; } }

/* ═══════════ FAQ ═══════════ */
.faq { padding: 120px 0 100px; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.3fr; gap: 64px; }
.faq .lead { margin-top: 16px; }
.faq-list { display: grid; gap: 12px; }
.fq { border-radius: 20px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, box-shadow .4s var(--ease); }
.fq.open { border-color: var(--line-strong); box-shadow: var(--shadow); }
.fq button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border: 0; background: none; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.fq button i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s; }
.fq button svg { width: 16px; height: 16px; }
.fq.open button i { transform: rotate(135deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.fq .ans { height: 0; overflow: hidden; transition: height .5s var(--ease); }
.fq .ans p { padding: 0 22px 22px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ═══════════ CTA ═══════════ */
.cta { padding: 0 0 100px; }
.cta-card { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 24px; padding: 72px 64px; border-radius: 40px; background: linear-gradient(125deg, #001b78 0%, #1e57c8 55%, #2a8de6 100%); color: #fff; overflow: hidden; isolation: isolate; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 70%); }
.cta-copy { order: -1; }
.cta h2 { color: #fff; font-size: clamp(36px, 5vw, 60px); }
.cta-copy p { margin-top: 18px; max-width: 520px; color: rgba(255,255,255,.82); font-size: 17px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta-orb { position: relative; height: 380px; }
.cta-orb canvas { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; padding: 56px 28px; text-align: center; } .cta-btns { justify-content: center; } .cta-copy p { margin-inline: auto; } .cta-orb { height: 240px; order: -2; } }
@media (max-width: 480px) {
  .hero { padding-top: 120px; }
  .pill { font-size: 13px; gap: 8px; white-space: nowrap; }
  .convo-body { height: 240px; }
  .stage-orb { margin-bottom: 0; }
}

/* ═══════════ DARK THEME ═══════════ */
/* the phone shows the Lark Money app, which is light: keep its own light palette */
.phone { --surface: #fff; --surface-rgb: 255 255 255; --line: #e4e9f2; --line-2: #eef2f8; --ink: #0a1326; --ink-2: #26324a; --ink-soft: #54607a; --ink-mute: #8590a6; --bg-soft: #f5f8fd; --blue: #1e57c8; --blue-50: #eef3fc; --blue-100: #dde7f8; color: var(--ink-2); }
:root[data-theme="dark"] .hero-bg .blob { opacity: .5; }
:root[data-theme="dark"] .lender-logos img { filter: grayscale(1); opacity: .85; background: #fff; padding: 6px 10px; border-radius: 10px; box-sizing: content-box; }
:root[data-theme="dark"] .lender-logos img:hover { filter: none; opacity: 1; }
:root[data-theme="dark"] .trust-band { background: linear-gradient(180deg, #0a1430, #070d1f); border: 1px solid var(--line); }
:root[data-theme="dark"] .ring { border-color: rgba(120, 170, 255, .14); }
:root[data-theme="dark"] .stage-floor { background: radial-gradient(ellipse at center, rgba(59,123,240,.35), transparent 70%); }
:root[data-theme="dark"] .br-side { background: #040812; }
:root[data-theme="dark"] .wa { background: rgba(37, 211, 102, .1); border-color: rgba(37, 211, 102, .25); color: #c9f2d5; }
:root[data-theme="dark"] .wa span { color: #7dd39a; }
:root[data-theme="dark"] .float-card, :root[data-theme="dark"] .convo { box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); }
:root[data-theme="dark"] .cta-card { background: linear-gradient(125deg, #001257 0%, #1849b0 55%, #1f74c9 100%); }

/* ═══════════ SCROLL EFFECTS ═══════════ */
/* soft light that follows the pointer in the hero */
.hero-spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(520px circle at var(--cx, 50%) var(--cy, 30%), rgba(34,180,238,.16), transparent 60%); }
:root[data-theme="dark"] .hero-spot { background: radial-gradient(560px circle at var(--cx, 50%) var(--cy, 30%), rgba(59,123,240,.22), transparent 60%); }
.hero > .wrap { position: relative; z-index: 1; }
/* the hero copy drifts up and softens as you scroll past it */
.hero-copy { --out: max(calc(-1 * var(--p, 0) - .3), 0); opacity: clamp(0, calc(1 - var(--out) * 1.7), 1); transform: translateY(calc(var(--out) * -70px)); filter: blur(calc(var(--out) * 6px)); will-change: transform, opacity; }

/* statement: words light up while scrolling */
.statement { padding: 110px 0 90px; }
.scrub { max-width: 1020px; margin: 0 auto; text-align: center; font-family: var(--font-display); font-weight: 750; font-size: clamp(28px, 4.3vw, 56px); line-height: 1.18; letter-spacing: -.035em; }
.scrub .sw { color: var(--line-strong); transition: color .5s var(--ease); }
.scrub .sw.on { color: var(--ink); }
.scrub em { font-style: normal; }
.scrub em .sw.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
:root[data-theme="dark"] .scrub .sw { color: rgba(255,255,255,.14); }
:root[data-theme="dark"] .scrub .sw.on { color: var(--ink); }

/* bento cards rise in 3D */
.bento { perspective: 1400px; }
.bento .bx.reveal { transform: rotateX(16deg) translateY(60px) scale(.97); transform-origin: 50% 0%; filter: blur(4px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease), box-shadow .6s var(--ease), border-color .4s; transition-delay: var(--d, 0s); }
.bento .bx.reveal.in { transform: none; filter: none; }
.bento .bx.reveal.in:hover { transform: translateY(-5px); transition-delay: 0s; }

/* how it works: progress line that fills as you scroll */
.how-steps { position: relative; padding-left: 0; }
.how-steps::before, .how-steps::after { content: ""; position: absolute; left: 22px; top: 12px; width: 2px; border-radius: 2px; }
.how-steps::before { bottom: 12vh; background: var(--line); }
.how-steps::after { height: calc((100% - 12vh - 12px) * var(--hp, 0)); background: var(--grad); box-shadow: 0 0 12px rgba(34,180,238,.5); }
.hs-n { position: relative; z-index: 1; background: var(--surface); }
.hs.active .hs-n { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 8px 20px -8px rgba(30,87,200,.7); transition: background .4s, color .4s, box-shadow .4s; }
@media (max-width: 900px) { .how-steps::before, .how-steps::after { display: none; } }

/* small things */
.chips { padding: 4px 2px 10px; margin-top: -4px; }

/* ── auto journey (coming soon) ── */
.auto { padding: 110px 0 40px; }
.auto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.auto-copy h2 { font-size: clamp(36px, 5vw, 60px); margin-top: 18px; }
.auto-copy .lead { margin-top: 18px; }
.auto-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.auto-points li { display: flex; gap: 14px; align-items: flex-start; }
.auto-points li > span { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.auto-points svg { width: 18px; height: 18px; }
.auto-points b { font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.auto-points p { margin-top: 2px; font-size: 14.5px; color: var(--ink-soft); }
.auto-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.auto-card::before { content: ""; position: absolute; inset: auto -20% -45% auto; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(34,180,238,.14), transparent 70%); pointer-events: none; }
.auto-head { display: flex; align-items: center; gap: 12px; }
.auto-head p { font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.auto-head small { font-size: 12.5px; color: var(--ink-mute); transition: color .3s; }
.auto-head .convo-badge { margin-left: auto; }
.auto-orb { position: relative; width: 42px; height: 42px; }
.auto-orb canvas { position: absolute; inset: -9px; width: 60px; height: 60px; }
.auto-ask { font-size: 14.5px; }
.auto-steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 4px; }
.auto-steps::before, .auto-steps::after { content: ""; position: absolute; left: 14px; top: 16px; width: 2px; border-radius: 2px; }
.auto-steps::before { bottom: 16px; background: var(--line); }
.auto-steps::after { height: calc((100% - 32px) * var(--ap, 0)); background: var(--grad); transition: height .6s var(--ease); }
.auto-steps li { position: relative; display: flex; align-items: center; gap: 14px; min-height: 36px; font-size: 14.5px; color: var(--ink-mute); transition: color .4s; }
.auto-steps li > i { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); transition: border-color .3s, background .3s, transform .5s var(--ease-spring); }
.auto-steps li.run { color: var(--ink); }
.auto-steps li.run > i { border-color: var(--blue); border-top-color: transparent; animation: auto-spin .8s linear infinite; }
.auto-steps li.done { color: var(--ink-2); }
.auto-steps li.done > i { background: var(--blue); border-color: var(--blue); transform: scale(1.05); }
.auto-steps li.done > i::after { content: ""; width: 8px; height: 4px; margin-top: -2px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.auto-steps li.you.done span::after { content: "Your OTP"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--tint-mint); color: var(--ok-text); font-size: 11.5px; font-weight: 700; }
@keyframes auto-spin { to { transform: rotate(360deg); } }
.otp { display: none; gap: 5px; margin-left: auto; }
.auto-steps li.run .otp { display: inline-flex; }
.otp b { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background .2s, border-color .2s; }
.otp b.on { background: var(--blue); border-color: var(--blue); }
.auto-done { max-width: 100%; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s var(--ease); }
.auto-done.show { opacity: 1; transform: none; }
@media (max-width: 900px) { .auto-grid { grid-template-columns: 1fr; gap: 36px; } .auto { padding-top: 80px; } }
