/* AI with Pelumi · homepage robot story
   The opening: a Spline robot on a fixed stage, the four pillar windows
   scrolling over it, the comparison, the founder story and the ICP line.
   Always night-dark in both themes (the wrapper carries data-theme="dark").
   Everything is scoped under .rb so it never touches home.css. */
.rb { --ease-out:cubic-bezier(0.23, 1, 0.32, 1); --night:#0c0d14; --ink:#eeece7; --soft:#a19fa8; --accent:#5be3a6; --line:rgb(238 236 231 / .14); --card:#15171c; }
.rb * { box-sizing:border-box; }
.rb { margin:0; background:var(--night); color:var(--ink); font-family:"Geist",system-ui,sans-serif; }
.rb .grad { position:fixed; inset:0; z-index:0; opacity:0; transition:opacity 1.2s; pointer-events:none; }
.rb .grad::after { content:""; position:absolute; inset:0; background:radial-gradient(ellipse 30% 62% at 70% 52%, rgb(12 13 20 / .94) 0, rgb(12 13 20 / .8) 50%, transparent 100%), linear-gradient(rgb(12 13 20 / .1), rgb(12 13 20 / .7)); }
.rb .rb-stage { position:fixed; inset:0; z-index:0; pointer-events:none; background:#000; mix-blend-mode:screen; -webkit-mask-image:linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent); -webkit-mask-composite:source-in; mask-image:linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent); mask-composite:intersect; will-change:transform; opacity:0; transition:opacity 1s; }
.rb .rb-stage.is-ready { opacity:1; }
.rb .rb-stage canvas { width:100%; height:100%; display:block; }
.rb .tint { position:absolute; inset:0; background:var(--accent); mix-blend-mode:multiply; pointer-events:none; }
.rb .ch { position:fixed; inset:0; z-index:1; pointer-events:none; --p:0; }
.rb .copy, .rb .props { position:absolute; top:50%; transition:opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1); opacity:0; }
.rb .copy { left:clamp(16px,4.5vw,64px); width:min(30vw,400px); transform:translateY(calc(-50% + 24px)); }
.rb .props { right:clamp(16px,4vw,56px); width:min(27vw,360px); transform:translateY(-50%); }
.rb .ch.is-on .copy { opacity:1; transform:translateY(-50%); pointer-events:auto; }
.rb .ch.is-on .props { opacity:1; }
.rb .ch--wide .copy { width:min(42vw,560px); }
.rb h1, .rb h2 { font-family:var(--display, inherit); font-weight:var(--dw, 500); letter-spacing:var(--dl, -.05em); text-transform:var(--dt, none); line-height:var(--dh, 1.03); margin:0 0 22px; }
.rb h1 { font-size:calc(clamp(32px,4.2vw,58px) * var(--ds, 1)); }
.rb h2 { font-size:calc(clamp(30px,3.6vw,50px) * var(--ds, 1)); }
.rb h1 em, .rb h2 em { font-family:"Instrument Serif", serif; font-style:italic; font-weight:400; letter-spacing:-.02em; font-size:1.1em; }
.rb .signup-form { display:flex; gap:6px; padding:6px; border:1px solid var(--line); border-radius:999px; max-width:440px; background:rgb(12 13 20 / .7); backdrop-filter:blur(8px); }
.rb .signup-form:focus-within { border-color:var(--accent); box-shadow:0 0 0 4px rgb(91 227 166 / .14); }
.rb .signup-form input[type="email"] { flex:1; min-width:0; background:none; border:0; outline:0; color:var(--ink); font:inherit; padding:0 16px; }
.rb .signup-form button { font:inherit; font-weight:500; border:0; border-radius:999px; padding:12px 20px; background:var(--ink); color:var(--night); cursor:pointer; }
.rb .rb-trust, .rb .note { font-family:"Geist Mono",monospace; font-size:11px; letter-spacing:.06em; color:var(--soft); margin:16px 0 0; line-height:1.5; }
.rb .rb-trust { display:flex; gap:8px; align-items:center; }
.rb .rb-dot { width:6px; height:6px; border-radius:50%; background:var(--accent); flex:none; }
.rb .note { font-family:inherit; font-size:13px; letter-spacing:0; }
.rb .ch--story .copy { width:min(46vw,560px); left:50%; text-align:left; transform:translate(-50%, calc(-50% + 24px)); }
.rb .ch--story.is-on .copy { transform:translate(-50%, -50%); }
@media (max-width: 899px) {
  .rb .ch--story .copy { width:auto; left:clamp(16px,4.5vw,64px); right:clamp(16px,4.5vw,64px); transform:translateY(-50%); }
  .rb .ch--story.is-on .copy { transform:translateY(-50%); }
}
.rb .story p { color:var(--soft); font-size:clamp(14px,1.1vw,17px); line-height:1.6; margin:0 0 16px; }
.rb .story p.big { color:var(--ink); font-size:clamp(18px,1.5vw,22px); font-weight:500; letter-spacing:-.02em; margin:14px 0; }
.rb .pop { --t:clamp(0, calc((var(--p) - var(--d, 0)) * 7), 1); opacity:var(--t); transform:translate3d(calc((1 - var(--t)) * -70px), calc((1 - var(--t)) * 14px), 0) scale(calc(.9 + var(--t) * .1)); }
.rb .chip--go { border-color:var(--accent); color:var(--accent); }
.rb .win__top { display:flex; gap:6px; padding:10px 12px; border-bottom:1px solid var(--line); }
.rb .win__top .chip { padding:5px 10px; font-size:11px; }
.rb .win__body { padding:14px; display:grid; gap:10px; }
.rb .blk--hero { height:74px; background:linear-gradient(120deg, rgb(91 227 166 / .35), rgb(91 227 166 / .08)); }
.rb .vs { list-style:none; margin:0; padding:0; display:grid; gap:9px; font-size:14px; line-height:1.35; }
.rb .vs__h { font-family:"Geist Mono",monospace; font-size:11px; letter-spacing:.08em; color:var(--soft); margin:0 0 4px; }
.rb .vs + .vs__h { margin-top:20px; color:var(--accent); }
.rb .cut { --t:clamp(0, calc((var(--p) - var(--d, 0)) * 7), 1); color:color-mix(in srgb, var(--soft) calc(var(--t) * 100%), var(--ink)); background:linear-gradient(currentColor,currentColor) no-repeat 0 55% / calc(var(--t) * 100%) 1.5px; width:fit-content; }
.rb .win-li { color:var(--ink); padding-left:16px; position:relative; }
.rb .win-li::before { content:""; position:absolute; left:0; top:.5em; width:6px; height:6px; border-radius:50%; background:var(--accent); }
.rb { user-select:none; -webkit-user-select:none; cursor:grab; }
.rb.is-drag { cursor:grabbing; }
.rb .signup-form input[type="email"], .rb .signup-form button { user-select:auto; cursor:auto; }
.rb .signup-form button { cursor:pointer; }
.rb .rb-rail { position:fixed; left:0; bottom:0; height:2px; background:var(--accent); z-index:5; width:calc(var(--all, 0) * 100%); }
.rb .cue { position:fixed; left:50%; bottom:22px; z-index:5; color:var(--accent); font-size:20px; animation:bob 1.6s ease-in-out infinite; transition:opacity .4s; }
@keyframes bob { 50% { transform:translateY(8px); } }
@media (max-width: 899px) {
  .rb .copy, .rb .ch--wide .copy { width:auto; right:clamp(16px,4.5vw,64px); }
}
.rb .ch--pillar .copy { display:none; }
.rb .pillars { position:absolute; left:0; right:0; z-index:3; background:var(--night); padding:clamp(90px,13vh,150px) clamp(16px,4.5vw,64px) clamp(90px,13vh,150px); box-shadow:0 -60px 90px -10px var(--night); }
.rb .pillars__in { max-width:1180px; margin:0 auto; }
.rb .pillars__h { display:flex; justify-content:space-between; align-items:flex-end; gap:48px; margin-bottom:clamp(40px,7vh,72px); }
.rb .pillars__h h2 { font-size:clamp(36px,4vw,56px); font-weight:400; letter-spacing:-.035em; line-height:1; margin:0; }
.rb .pillars__h h2 span { display:block; color:#76747c; }
.rb .pillars__h p { max-width:400px; color:#8d8b93; font-size:clamp(15px,1.3vw,19px); line-height:1.5; margin:0 0 6px; }
.rb .pgrid { display:grid; grid-template-columns:1fr 1fr; border:1px solid rgb(255 255 255 / .08); border-radius:18px; overflow:hidden; background:linear-gradient(180deg, #101116, #0a0b0e); }
.rb .pcell { position:relative; display:flex; flex-direction:column; min-width:0; border-right:1px solid rgb(255 255 255 / .07); border-bottom:1px solid rgb(255 255 255 / .07); }
.rb .pcell:nth-child(2n) { border-right:0; }
.rb .pcell:nth-child(n+3) { border-bottom:0; }
.rb .pstage { position:relative; height:clamp(340px,50vh,440px); display:flex; align-items:center; justify-content:center; padding:28px 36px 0; overflow:hidden; -webkit-mask-image:linear-gradient(#000 78%, transparent); mask-image:linear-gradient(#000 78%, transparent); }
.rb .pcell:nth-child(n+3) .pstage { height:clamp(380px,58vh,520px); }
.rb .pstage--top { align-items:flex-start; justify-content:flex-start; padding-top:32px; }
.rb .pstage--low { align-items:flex-end; justify-content:flex-end; }
.rb .pcell__t { padding:36px 36px 0; }
.rb .pcell__t h3 { font-size:clamp(22px,2vw,28px); font-weight:400; letter-spacing:-.025em; margin:0 0 10px; }
.rb .pcell__t p { color:#8d8b93; font-size:clamp(14px,1.15vw,16px); line-height:1.55; margin:0; max-width:40ch; }
.rb .win2 { --from:-80px; position:relative; width:min(100%,420px); border:1px solid rgb(255 255 255 / .1); border-radius:14px; background:linear-gradient(180deg, #16171c, #0f1014); box-shadow:inset 0 1px 0 rgb(255 255 255 / .06), 0 40px 70px -40px #000; font-size:12px; color:#dcdad5; opacity:0; transform:translateX(var(--from)); transition:transform .9s var(--ease-out), opacity .55s var(--ease-out), box-shadow 1.2s var(--ease-out), border-color 1.2s var(--ease-out); }
.rb .pcell:nth-child(2n) .win2 { --from:80px; }
.rb .pcell.open .win2 { opacity:1; transform:none; border-color:rgb(91 227 166 / .2); box-shadow:inset 0 1px 0 rgb(255 255 255 / .06), 0 0 46px -16px rgb(91 227 166 / .35), 0 40px 70px -40px #000; }
.rb .win2::after { content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1px; pointer-events:none; opacity:0; background:linear-gradient(90deg, transparent 0 35%, #5be3a6 50%, transparent 65% 100%) 0 0 / 300% 100% no-repeat; -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.rb .pcell.open .win2::after { animation:sweep-l 1.4s var(--ease-out) .2s both; }
.rb .pcell.open:nth-child(2n) .win2::after { animation-name:sweep-r; }
@keyframes sweep-l { 0% { opacity:1; background-position:100% 0; } 70% { opacity:1; } 100% { opacity:0; background-position:0 0; } }
@keyframes sweep-r { 0% { opacity:1; background-position:0 0; } 70% { opacity:1; } 100% { opacity:0; background-position:100% 0; } }
.rb .wbar { display:flex; align-items:center; gap:10px; padding:13px 16px; border-bottom:1px solid rgb(255 255 255 / .07); }
.rb .wbar b { font-weight:500; font-size:14px; }
.rb .mono { font-family:"Geist Mono",monospace; letter-spacing:.06em; }
.rb .dim { color:#66646c; }
.rb .r { margin-left:auto; }
.rb .g { color:var(--accent); }
.rb .ldot { width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 10px var(--accent); flex:none; }
.rb .pill { font:10px "Geist Mono",monospace; letter-spacing:.06em; padding:3px 9px; border:1px solid rgb(255 255 255 / .16); border-radius:999px; color:#c9c7c2; }
.rb .pflow { display:flex; align-items:center; padding:22px 14px 18px; gap:0; }
.rb .fnode { flex:none; border:1px solid rgb(255 255 255 / .1); border-radius:8px; background:#111216; padding:6px 8px; text-align:center; min-width:62px; }
.rb .fnode i { display:block; font:normal 7.5px "Geist Mono",monospace; letter-spacing:.08em; color:#5d5b63; }
.rb .fnode b { display:block; font-weight:500; font-size:10.5px; margin:2px 0; }
.rb .fnode u { display:block; text-decoration:none; font:7.5px "Geist Mono",monospace; color:#4f4e55; }
.rb .fnode--on { border-color:rgb(238 236 231 / .85); background:#0c0d10; box-shadow:0 0 0 3px rgb(91 227 166 / .08), 0 0 22px rgb(91 227 166 / .2); padding:8px 10px; }
.rb .fnode--on i { color:#9fe8c6; }
.rb .fnode--on u { color:var(--accent); margin-top:6px; }
.rb .dots3 { display:flex; gap:3px; justify-content:center; margin-top:3px; }
.rb .dots3 s { width:3px; height:3px; border-radius:50%; background:#8d8b93; animation:blink 1.2s infinite; }
.rb .dots3 s:nth-child(2) { animation-delay:.2s; }
.rb .dots3 s:nth-child(3) { animation-delay:.4s; }
.rb .fl { flex:1; min-width:6px; height:1px; background:repeating-linear-gradient(90deg, rgb(255 255 255 / .35) 0 2px, transparent 2px 5px); }
.rb .outs { display:grid; gap:5px; }
.rb .outs span { display:flex; align-items:center; gap:5px; border:1px solid rgb(255 255 255 / .09); border-radius:6px; background:#111216; padding:4px 7px; font-size:9.5px; white-space:nowrap; }
.rb .outs s { width:5px; height:5px; border-radius:50%; background:var(--accent); }
.rb .outs s.a { background:#d8b25b; }
.rb .term { padding:12px 16px; border-top:1px solid rgb(255 255 255 / .07); font-size:10.5px; color:#a5a3ab; white-space:nowrap; overflow:hidden; }
.rb .term .g { margin-right:6px; }
.rb .caret { display:inline-block; width:6px; height:11px; background:var(--accent); vertical-align:-2px; margin-left:3px; animation:blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity:0; } }
.rb .stats { display:grid; grid-template-columns:repeat(4, auto); justify-content:space-between; padding:14px 16px 16px; border-top:1px solid rgb(255 255 255 / .07); }
.rb .stats i { display:block; font:normal 8.5px "Geist Mono",monospace; letter-spacing:.08em; color:#5d5b63; margin-bottom:5px; }
.rb .stats b { font:500 15px "Geist Mono",monospace; color:#dcdad5; }
.rb .stats .r { text-align:right; }
.rb .stats .r b { font-size:12px; color:var(--accent); }
.rb .set { padding:6px 16px 16px; }
.rb .setrow { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:11px 0; }
.rb .setrow b { display:block; font-weight:500; font-size:13px; }
.rb .setrow i { font-style:normal; font-size:11px; color:#66646c; }
.rb .sel { flex:none; display:flex; align-items:center; justify-content:space-between; gap:10px; width:132px; padding:8px 10px; border:1px solid rgb(255 255 255 / .12); border-radius:7px; font-size:12px; color:#bdbbb6; background:#101115; }
.rb .sel::after { content:""; width:6px; height:6px; border-right:1.5px solid #66646c; border-bottom:1.5px solid #66646c; transform:rotate(45deg) translateY(-2px); }
.rb .menu { position:absolute; right:-28px; top:58%; width:150px; padding:8px; border:1px solid rgb(255 255 255 / .14); border-radius:12px; background:#121317; box-shadow:0 30px 60px -20px #000, 0 0 0 1px rgb(0 0 0 / .4); font-size:11.5px; }
.rb .menu__in { padding:8px 9px; border:1px solid rgb(255 255 255 / .16); border-radius:7px; margin-bottom:6px; color:#eeece7; }
.rb .menu i { display:flex; justify-content:space-between; align-items:center; font-style:normal; padding:7px 9px; border-radius:6px; color:#8d8b93; }
.rb .menu i.on { background:rgb(255 255 255 / .06); color:#eeece7; }
.rb .menu i.on::after { content:"✓"; width:14px; height:14px; border-radius:50%; display:grid; place-items:center; font-size:9px; background:var(--accent); color:#0c0d14; }
.rb .wbar .ico { display:flex; gap:12px; color:#8d8b93; }
.rb .wbar .ico svg { width:14px; height:14px; }
.rb .inb { padding:8px; }
.rb .irow { display:flex; align-items:center; gap:12px; padding:11px 10px; border-radius:10px; }
.rb .irow:first-child { background:rgb(255 255 255 / .05); }
.rb .ic { position:relative; flex:none; width:34px; height:34px; display:grid; place-items:center; }
.rb .ic svg { width:30px; height:30px; }
.rb .badge { position:absolute; right:-3px; bottom:-3px; width:14px; height:14px; border-radius:50%; display:grid; place-items:center; font-size:8px; font-weight:700; color:#0c0d14; background:var(--accent); box-shadow:0 0 0 2px #16171c; }
.rb .badge--wait { background:#e0b450; }
.rb .irow div { min-width:0; flex:1; }
.rb .irow b { display:block; font-weight:500; font-size:13px; }
.rb .irow i { display:block; font-style:normal; font-size:11.5px; color:#66646c; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rb .irow time { flex:none; font-size:11px; color:#66646c; }
.rb .days7 { display:grid; grid-template-columns:repeat(7,1fr); padding:14px 16px 6px; font:9px "Geist Mono",monospace; letter-spacing:.08em; color:#5d5b63; }
.rb .sch { position:relative; padding:0 16px 8px; }
.rb .sch::before { content:""; position:absolute; inset:-28px 16px 0; background:linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px) 0 0 / calc(100% / 7) 100%; pointer-events:none; }
.rb .job2 { position:relative; padding:12px 0 4px; }
.rb .job2 header { display:flex; justify-content:space-between; align-items:baseline; }
.rb .job2 b { font-weight:500; font-size:13px; }
.rb .job2 small { font:9px "Geist Mono",monospace; letter-spacing:.08em; color:#66646c; }
.rb .job2 header small { color:#8d8b93; }
.rb .trk { position:relative; height:6px; border-radius:3px; background:rgb(255 255 255 / .05); margin-top:8px; }
.rb .trk s { position:absolute; top:0; bottom:0; left:var(--a); width:var(--w); border-radius:3px; background:linear-gradient(90deg, rgb(91 227 166 / .2), #5be3a6); box-shadow:0 0 14px rgb(91 227 166 / .45); transform-origin:left; }
.rb .trk s.m { background:linear-gradient(90deg, rgb(159 232 198 / .2), #c8f3df); box-shadow:0 0 14px rgb(159 232 198 / .4); }
.rb .trk s.wt { background:linear-gradient(90deg, rgb(238 236 231 / .15), #eeece7); box-shadow:0 0 14px rgb(238 236 231 / .25); }
.rb .pcell.open .trk s { animation:grow 1s var(--ease-out) both; animation-delay:calc(.5s + var(--n) * .15s); }
@keyframes grow { from { transform:scaleX(0); } }
.rb .wfoot { display:flex; justify-content:space-between; padding:14px 16px; border-top:1px solid rgb(255 255 255 / .06); font:9.5px "Geist Mono",monospace; letter-spacing:.06em; color:#4f4e55; }
@media (prefers-reduced-motion: reduce) {
  .rb .win2, .rb .pcell.open .win2 { transform:none; }
  .rb .pcell.open .win2::after { animation:none; }
  .rb .pcell.open .trk s { animation:none; }
}
@media (max-width: 899px) {
  .rb .pillars__h { flex-direction:column; align-items:flex-start; gap:16px; }
  .rb .pgrid { grid-template-columns:1fr; }
  .rb .pcell { border-right:0 !important; border-bottom:1px solid rgb(255 255 255 / .07) !important; }
  .rb .pcell:last-child { border-bottom:0 !important; }
  .rb .pstage, .rb .pcell:nth-child(n+3) .pstage { height:360px; padding:28px 8px 0; }
  .rb .pcell__t { padding:28px 20px 0; }
  .rb .menu { right:8px; top:62%; }
  .rb .pflow { padding:20px 8px 16px; }
  .rb .fnode { min-width:0; padding:5px 6px; }
  .rb .fnode:not(.fnode--on) u { display:none; }
  .rb .fnode b { font-size:9.5px; }
  .rb .fnode--on { padding:7px 8px; }
  .rb .fl { min-width:3px; }
  .rb .outs span { padding:4px 5px; font-size:9px; }
  .rb .wbar .r { display:none; }
  .rb .stats b { font-size:13px; }
  .rb .sel { width:112px; }
  .rb .setrow { gap:10px; }
  .rb .ch--vs .copy { top:16%; }
  .rb .ch--vs .props { display:block; left:clamp(16px,4.5vw,64px); right:clamp(16px,4.5vw,64px); width:auto; top:30%; transform:none; }
  .rb .ch--vs .vs { font-size:15px; }
}

/* hand the page back: content after the story slides over the fixed layers */
.rb { position: relative; }
.rb.is-past .rb-stage, .rb.is-past .ch, .rb.is-past .grad, .rb.is-past .rb-rail, .rb.is-past .cue { visibility: hidden; }
.after { position: relative; z-index: 4; background: var(--sc-canvas); box-shadow: 0 -80px 100px -20px var(--sc-canvas); }
.rb .signup-form { box-shadow: none; }
.rb .signup-form.is-done { border-radius: 20px; padding: 16px 20px; }
.rb .signup-error { margin: 10px 0 0; font-size: 13px; color: #ff9b8a; }
.rb h1 em, .rb h2 em { font-family: "Instrument Serif", serif; }
/* the nav floats over the dark story in both themes: give it night colours until the page hands back */
html.rb-on .nav { --sc-canvas:#0d0e11; --sc-surface:#15171c; --sc-ink:#eceae5; --sc-ink-soft:#9b9a95; --line:rgb(236 234 229 / .09); --btn:#eceae5; --btn-ink:#0d0e11; --mark-filter:invert(1); color:#eceae5; }
/* the footer is parked, so the legal links live under the last signup */
.rb .legal { display:flex; gap:10px; margin:14px 0 0; font:11px "Geist Mono",monospace; letter-spacing:.06em; text-transform:uppercase; color:var(--soft); }
.rb .legal a { color:inherit; text-decoration:none; } .rb .legal a:hover { color:var(--ink); text-decoration:underline; }
