/* Tu correo de ComunityApp: the 30-second onboarding at the top of "Soy paciente" (welcome page).
   Ported from redesign/mi-correo-onboarding-mockup.html; every rule lives under .onb so nothing leaks. */
.onb {
    --navy: #0e2439; --navy-2: #16324d; --ink: #0f172a; --muted: #64748B; --line: #E7ECF1;
    --green: #16A34A; --green-bg: #E9F3EC; --amber: #9C6B12; --amber-bg: #FBF3E2; --blue-bg: #EAF0F7;
  }
.onb, .onb *, .onb *::before, .onb *::after { box-sizing: border-box; }
.onb .ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
/* The phone the real thing would live in: a full-screen sheet in the beta app. */
.onb {
    width: 390px; max-width: 100%; height: 800px; max-height: calc(100vh - 32px); border-radius: 44px;
    background: #fff; box-shadow: 0 30px 80px rgba(14, 36, 57, .25), 0 0 0 10px #0b1622;
    overflow: hidden; position: relative; display: flex; flex-direction: column;
  }
/* Story bars on top, like Instagram: one per step, the current one fills. */
.onb .bars { display: flex; gap: 5px; padding: 18px 20px 0; }
.onb .bars span { flex: 1; height: 4px; border-radius: 4px; background: #E2E8F0; overflow: hidden; }
.onb .bars span i { display: block; height: 100%; width: 0; background: var(--navy); }
.onb .bars span.done i { width: 100%; }
.onb .bars span.now i { animation: onb-fill var(--dur, 5s) linear forwards; }
.onb.paused .bars span.now i { animation-play-state: paused; }
@keyframes onb-fill { to { width: 100%; } }
.onb .top { display: flex; align-items: center; gap: 2px; padding: 8px 10px 0; }
.onb .top .grow { flex: 1; }
.onb .ctl { width: 40px; height: 40px; border: 0; border-radius: 12px; background: none; color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; }
.onb .ctl:hover, .onb .ctl:focus-visible { background: #F1F5F9; }
/* Player bar under the picture: back a step, pause/play, speed. */
.onb .player { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 0 2px; }
.onb .pl { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 17px; cursor: pointer; box-shadow: 0 2px 8px rgba(14, 36, 57, .06); }
.onb .pl:hover, .onb .pl:focus-visible { background: #F1F5F9; }
.onb .pl:active { transform: scale(.95); }
.onb .pl.main { width: 50px; height: 50px; background: var(--navy); color: #fff; border-color: var(--navy); font-size: 20px; }
.onb .pl.main:hover, .onb .pl.main:focus-visible { background: #17375a; }
.onb .pl.speed { font: 800 13px/1 inherit; font-family: inherit; }
.onb.closed .player { display: none; }
/* Paused (button or holding the picture): everything in the step stops where it is. */
.onb.paused .scene, .onb.paused .scene * { animation-play-state: paused !important; }
/* Closed: in the app this would go back to Mi salud; here a note and a way to watch it again. */
.onb .closed-view { display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; }
.onb .closed-view > .ic { font-size: 40px; color: var(--green); }
.onb .closed-view b { font-size: 20px; color: var(--navy); }
.onb .closed-view p { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.onb.closed .closed-view { display: flex; }
.onb.closed .bars, .onb.closed .top, .onb.closed .stage, .onb.closed .copy, .onb.closed .foot { display: none; }
.onb .skip { border: 0; background: none; color: var(--muted); font: 600 14px/1 inherit; font-family: inherit; padding: 8px 8px; border-radius: 10px; cursor: pointer; }
.onb .skip:hover { background: #F1F5F9; color: var(--navy); }
/* The stage: one illustration per step. Taps on the left half go back, the right half forward. */
.onb .stage { position: relative; flex: 1 1 auto; min-height: 0; cursor: pointer; user-select: none; }
.onb .scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.onb .scene.on { opacity: 1; }
.onb .copy { padding: 16px 28px 0; min-height: 132px; }
.onb .copy h2 { font-size: 25px; line-height: 1.15; margin: 0 0 8px; letter-spacing: -.02em; color: var(--navy); }
.onb .copy p { font-size: 15.5px; line-height: 1.45; margin: 0; color: #475569; }
.onb .copy > div { animation: onb-rise .45s ease both; }
@keyframes onb-rise { from { opacity: 0; transform: translateY(10px); } }
.onb .foot { padding: 14px 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.onb .btn { border: 0; border-radius: 16px; padding: 16px; font: 700 16px/1 inherit; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.onb .btn.primary { background: var(--navy); color: #fff; }
.onb .btn.primary:active { transform: scale(.98); }
.onb .btn.ghost { background: none; color: var(--muted); padding: 10px; font-weight: 600; font-size: 15px; }
.onb .btn.ghost[hidden] { display: none; }
/* ---------- Mini phone used in the illustrations ---------- */
.onb .mini {
    width: 196px; height: 330px; border-radius: 30px; background: #fff; position: relative; overflow: hidden;
    box-shadow: 0 0 0 7px #0b1622, 0 24px 50px rgba(14, 36, 57, .28);
  }
.onb .mini .notch { position: absolute; top: 7px; left: 50%; width: 58px; height: 14px; margin-left: -29px; border-radius: 10px; background: #0b1622; z-index: 3; }
.onb .mini-hero { background: var(--navy); padding: 30px 12px 14px; border-radius: 0 0 18px 18px; }
.onb .mini-hero b { display: block; color: #fff; font-size: 19px; letter-spacing: -.02em; margin-bottom: 10px; }
.onb .pill { background: #fff; border-radius: 12px; padding: 8px 9px; display: flex; align-items: center; gap: 6px; }
.onb .pill small { display: block; font-size: 7.5px; color: var(--muted); font-weight: 600; }
.onb .pill span { display: block; font-size: 8.6px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.onb .pill em { margin-left: auto; font-style: normal; font-size: 7.5px; font-weight: 700; background: var(--blue-bg); color: var(--navy); padding: 4px 6px; border-radius: 7px; }
.onb .mini-body { padding: 12px; display: grid; gap: 7px; }
.onb .ghost-row { height: 30px; border-radius: 9px; background: #F1F5F9; }
.onb .ghost-row.s { width: 70%; }
/* The app's own top bar inside each phone: menu, ComunityApp logo, bell, profile. */
.onb .mh { display: flex; align-items: center; gap: 6px; margin: -4px 0 9px; }
.onb .mh .burger { width: 14px; height: 14px; color: #fff; flex: 0 0 auto; }
.onb .mh .burger svg { width: 100%; height: 100%; display: block; }
.onb .mh .logo { height: 16px; width: 90px; flex: 0 0 auto; }
.onb .s3 .mh .logo { height: 13px; width: 73px; }
.onb .mh .bell { margin-left: auto; width: 17px; height: 17px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 9px; }
.onb .mh .me { width: 17px; height: 17px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 6.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85); }
/* Scene 1: the address card lights up. */
.onb .s1 .pill { position: relative; }
.onb .s1 .mini { width: 220px; }
.onb .s1 .pill span { font-size: 7.8px; }
.onb .s1.on .pill { animation: onb-pop .6s .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.onb .s1.on .pill::after { content: ""; position: absolute; inset: -4px; border-radius: 15px; border: 2px solid #7DD3FC; animation: onb-ring 1.6s 1.1s ease-out infinite; }
@keyframes onb-pop { 0% { transform: scale(1); } 45% { transform: scale(1.07); } 100% { transform: scale(1.03); } }
@keyframes onb-ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.18); } }
.onb .tag {
    position: absolute; background: #fff; border-radius: 12px; padding: 7px 10px; font-size: 12px; font-weight: 700; color: var(--navy);
    box-shadow: 0 8px 24px rgba(14, 36, 57, .16); display: flex; align-items: center; gap: 6px; white-space: nowrap; opacity: 0;
  }
.onb .tag i { font-size: 14px; }
.onb .s1 .tag.a { left: 18px; top: 50%; }
.onb .s1 .tag.b { right: 16px; top: 68%; }
.onb .s1.on .tag.a { animation: onb-float-in .5s 1.4s ease both; }
.onb .s1.on .tag.b { animation: onb-float-in .5s 1.9s ease both; }
@keyframes onb-float-in { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
/* Scene 2: a person at the lab counter shows their phone; the receptionist types it in. */
.onb .s2 .wrap { position: relative; width: 350px; height: 360px; }
.onb .s2 svg.counter { position: absolute; left: 0; top: 70px; width: 350px; height: 290px; overflow: visible; }
.onb .s2 svg * { transform-box: view-box; }
.onb .s2 #pat { transform: translateX(-150px); }
.onb .s2.on #pat { animation: onb-walk 1s .15s ease-out forwards; }
@keyframes onb-walk {
    0% { transform: translateX(-150px); } 20% { transform: translate(-120px, -4px); } 40% { transform: translate(-90px, 0); }
    60% { transform: translate(-55px, -4px); } 80% { transform: translate(-22px, 0); } 100% { transform: none; }
  }
.onb .s2 #patArm { transform-origin: 104px 132px; transform: rotate(78deg); }
.onb .s2.on #patArm { animation: onb-raise .55s 1.1s cubic-bezier(.3, 1.4, .5, 1) forwards; }
@keyframes onb-raise { to { transform: rotate(0); } }
.onb .s2 #glow { opacity: 0; transform-origin: 161px 117px; }
.onb .s2.on #glow { animation: onb-glow 1.4s 1.6s ease-out infinite; }
@keyframes onb-glow { 0% { opacity: .55; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.5); } }
.onb .s2 #recHead { transform-origin: 270px 112px; }
.onb .s2.on #recHead { animation: onb-nod .7s 2s ease-in-out both; }
@keyframes onb-nod { 30% { transform: rotate(-7deg); } 60% { transform: rotate(3deg); } 100% { transform: none; } }
.onb .s2.on #recArm { animation: onb-tap .16s 2.6s ease-in-out 14 alternate; }
@keyframes onb-tap { to { transform: translateY(3px); } }
.onb .reg {
    position: absolute; right: 0; top: 0; width: 184px; background: #fff; border-radius: 14px; padding: 11px 12px 10px;
    box-shadow: 0 12px 30px rgba(14, 36, 57, .18); opacity: 0;
  }
.onb .reg::after { content: ""; position: absolute; right: 74px; bottom: -8px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.onb .reg, .onb .s2 .bubble { z-index: 2; }
.onb .s2.on .reg { animation: onb-float-in .45s 2.1s ease both; }
.onb .mon-h { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; color: #334155; margin-bottom: 8px; }
.onb .mon-h .ic { color: #0EA5E9; font-size: 13px; }
.onb .field { margin-bottom: 7px; }
.onb .field label { display: block; font-size: 8.5px; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.onb .field div { height: 22px; border: 1px solid #E2E8F0; border-radius: 6px; font-size: 7.8px; padding: 0 6px; display: flex; align-items: center; color: #334155; white-space: nowrap; overflow: hidden; }
.onb .field.hot div { border-color: #0EA5E9; box-shadow: 0 0 0 3px rgba(14, 165, 233, .15); }
.onb .caret { display: inline-block; width: 1px; height: 11px; background: #0EA5E9; margin-left: 1px; animation: onb-blink .8s step-end infinite; }
@keyframes onb-blink { 50% { opacity: 0; } }
.onb .saved { display: flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 800; color: var(--green); opacity: 0; transform: translateY(4px); transition: .3s; }
.onb .saved.show { opacity: 1; transform: none; }
.onb .s2 .bubble {
    position: absolute; left: 4px; top: 52px; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 600; padding: 8px 11px;
    border-radius: 14px 14px 14px 4px; opacity: 0; max-width: 158px; line-height: 1.3;
  }
.onb .s2.on .bubble { animation: onb-float-in .45s 1.5s ease both; }
/* Scene 3: the lab sends it — lab and phone side by side on one line, the envelope arcs from one to the other. */
.onb .s3 .wrap { position: relative; width: 340px; height: 300px; }
.onb .lab { position: absolute; left: 0; top: 70px; width: 110px; text-align: center; z-index: 1; }
.onb .lab .bld { width: 84px; height: 84px; margin: 0 auto; border-radius: 24px; background: var(--amber-bg); color: var(--amber); display: flex; align-items: center; justify-content: center; font-size: 42px; box-shadow: 0 10px 26px rgba(156, 107, 18, .18); }
.onb .lab b { display: block; margin-top: 10px; font-size: 13px; color: var(--navy); }
.onb .s3 .mini { position: absolute; right: 6px; top: 4px; width: 164px; height: 290px; border-radius: 26px; z-index: 1; }
.onb .s3 .mini .mini-hero { padding: 26px 9px 11px; }
.onb .s3 .mini .mini-hero b { font-size: 15px; margin-bottom: 8px; }
.onb .s3 .mini .pill { padding: 7px 7px; }
.onb .s3 .mini .pill span { font-size: 6.6px; }
.onb .s3 .mini .pill small { font-size: 6px; }
.onb .s3 .mini .pill em { display: none; }
.onb .path { position: absolute; left: 0; top: 0; width: 340px; height: 300px; }
.onb .path path { stroke: #CBD5E1; stroke-width: 2.5; stroke-dasharray: 2 8; stroke-linecap: round; fill: none; }
.onb .letter {
    position: absolute; left: 0; top: 0; z-index: 2; width: 48px; height: 36px; border-radius: 8px; background: #fff; color: var(--navy);
    box-shadow: 0 10px 24px rgba(14, 36, 57, .25); display: flex; align-items: center; justify-content: center; font-size: 22px;
    offset-path: path("M 55 108 Q 135 -10 252 92"); offset-rotate: 0deg; offset-distance: 0%; opacity: 0;
  }
.onb .s3.on .letter { animation: onb-fly 1.9s .6s cubic-bezier(.45, 0, .3, 1) both; }
@keyframes onb-fly { 0% { offset-distance: 0%; opacity: 0; transform: scale(.6); } 14% { opacity: 1; transform: scale(1); } 82% { opacity: 1; transform: scale(1); } 100% { offset-distance: 100%; opacity: 0; transform: scale(.4); } }
.onb .s3 .mini .ping { position: absolute; right: 11px; top: 28px; width: 12px; height: 12px; border-radius: 50%; background: #EF4444; box-shadow: 0 0 0 3px var(--navy); opacity: 0; z-index: 2; }
.onb .s3.on .mini .ping { animation: onb-float-in .3s 2.4s ease both; }
/* The red dot now sits on the header bell, not over the profile picture. */
.onb .s3 .mini .ping { display: none; }
.onb .mh .bell { position: relative; }
.onb .s3 .mh .bell::after { content: ""; position: absolute; top: -2px; right: -2px; width: 7px; height: 7px; border-radius: 50%; background: #EF4444; box-shadow: 0 0 0 1.5px var(--navy); opacity: 0; }
.onb .s3.on .mh .bell::after { animation: onb-float-in .3s 2.4s ease both; }
/* The copy: once it lands in the app, a small copy goes on to the email they signed up with. */
.onb .inbox { position: absolute; left: 0; top: 226px; z-index: 1; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px; box-shadow: 0 8px 20px rgba(14, 36, 57, .1); opacity: 0; }
.onb .s3.on .inbox { animation: onb-float-in .4s 2.2s ease both; }
.onb .inbox > .ic { flex: 0 0 auto; width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--blue-bg); color: var(--navy); }
.onb .inbox b { display: block; font-size: 11px; color: var(--navy); }
.onb .inbox small { display: block; font-size: 9.5px; color: var(--muted); }
.onb .inbox .got { position: absolute; left: 30px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); color: #fff; font-size: 10px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; opacity: 0; }
.onb .s3.on .inbox .got { animation: onb-float-in .3s 3.9s ease both; }
.onb .copyletter {
    position: absolute; left: 0; top: 0; z-index: 2; width: 30px; height: 23px; border-radius: 6px; background: #fff; color: var(--navy);
    box-shadow: 0 6px 16px rgba(14, 36, 57, .25); display: flex; align-items: center; justify-content: center; font-size: 14px;
    offset-path: path("M 250 120 Q 200 250 30 246"); offset-rotate: 0deg; offset-distance: 0%; opacity: 0;
  }
.onb .s3.on .copyletter { animation: onb-fly 1.3s 2.6s cubic-bezier(.45, 0, .3, 1) both; }
/* Scene 4: it arrived — banner, then the result filed. */
.onb .s4 .mini { width: 220px; height: 380px; }
.onb .banner {
    position: absolute; left: 8px; right: 8px; top: 28px; z-index: 2; background: rgba(255, 255, 255, .97); border-radius: 14px; padding: 9px 10px;
    box-shadow: 0 10px 26px rgba(14, 36, 57, .22); display: flex; gap: 8px; align-items: center; transform: translateY(-130%); opacity: 0;
  }
.onb .s4.on .banner { animation: onb-drop .55s .3s cubic-bezier(.3, 1.4, .5, 1) both, onb-lift .4s 2.3s ease forwards; }
@keyframes onb-drop { to { transform: none; opacity: 1; } }
@keyframes onb-lift { to { transform: translateY(-130%); opacity: 0; } }
.onb .banner .ic { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.onb .banner small { display: block; font-size: 8px; color: var(--muted); font-weight: 600; }
.onb .banner b { display: block; font-size: 10px; color: var(--ink); line-height: 1.25; }
.onb .s4 .mini-body { padding: 12px 11px; }
.onb .newcard { border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: #fff; opacity: 0; transform: translateY(14px) scale(.96); }
.onb .s4.on .newcard { animation: onb-card .5s 2.5s cubic-bezier(.3, 1.4, .5, 1) forwards; }
@keyframes onb-card { to { opacity: 1; transform: none; } }
.onb .newcard .hd { display: flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 800; color: #0369A1; margin-bottom: 7px; }
.onb .newcard .hd i { width: 7px; height: 7px; border-radius: 50%; background: #0EA5E9; display: inline-block; }
.onb .doc { display: flex; gap: 8px; align-items: center; }
.onb .doc .pdf { flex: 0 0 auto; width: 34px; height: 42px; border-radius: 7px; background: #FEE2E2; color: #B91C1C; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.onb .doc b { display: block; font-size: 11px; color: var(--navy); }
.onb .doc small { display: block; font-size: 8.5px; color: var(--muted); }
.onb .filed { margin-top: 8px; display: flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 800; color: var(--green); background: var(--green-bg); border-radius: 8px; padding: 6px 7px; opacity: 0; }
.onb .s4.on .filed { animation: onb-float-in .4s 3.2s ease both; }
.onb .s4 .confetti { position: absolute; inset: 0; pointer-events: none; }
.onb .s4 .confetti i { position: absolute; width: 7px; height: 7px; border-radius: 2px; opacity: 0; }
.onb .s4.on .confetti i { animation: onb-burst 1.1s var(--d) ease-out both; }
@keyframes onb-burst { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(220deg); } }
/* Scene 5: the VIZ screen as it opens when a result arrives — the "Resultado nuevo" card with the
     report's first page, its arrival questions, then VIZ's answer. Values only, never what they mean. */
.onb .s5 .mini { width: 254px; height: 480px; background: #F8FAFC; }
/* The app's navy top bar above the VIZ chat, as on every screen. */
.onb .vz-bar { position: relative; z-index: 3; background: var(--navy); padding: 27px 12px 9px; }
.onb .vz-bar .mh { margin: 0; }
.onb .s5 .vz-top { padding-top: 8px; }
.onb .vz-top { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); padding: 26px 12px 8px; display: flex; align-items: center; gap: 7px; }
.onb .vz-av { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: #0C3C73; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.onb .vz-top b { font-size: 12px; color: var(--navy); }
.onb .vz-top small { display: block; font-size: 8px; color: var(--muted); font-weight: 600; }
.onb .vz-msgs { padding: 9px 9px 0; display: flex; flex-direction: column; gap: 7px; }
/* First a small scroll so the three questions show in full, then the rest once VIZ answers. */
.onb .s5.on .vz-msgs { animation: onb-scroll1 .6s .9s ease-out forwards, onb-scroll2 .8s 3s ease-in-out forwards; }
@keyframes onb-scroll1 { to { transform: translateY(-24px); } }
@keyframes onb-scroll2 { from { transform: translateY(-24px); } to { transform: translateY(-58px); } }
.onb .arr { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px; box-shadow: 0 4px 14px rgba(14, 36, 57, .07); opacity: 0; transform: translateY(12px); }
.onb .s5.on .arr { animation: onb-card .55s .3s cubic-bezier(.3, 1.3, .5, 1) forwards; }
.onb .arr-k { display: flex; align-items: center; gap: 4px; font-size: 7.5px; font-weight: 800; color: #0369A1; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.onb .arr-k i { width: 6px; height: 6px; border-radius: 50%; background: #0EA5E9; }
.onb .arr-h { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.onb .arr-logo { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.onb .arr-logo svg { width: 18px; height: 12px; }
.onb .arr-h b { display: block; font-size: 9.5px; color: var(--navy); line-height: 1.2; }
.onb .arr-h small { display: block; font-size: 7.5px; color: var(--muted); }
.onb .thumb { position: relative; height: 196px; overflow: hidden; border-radius: 7px; border: 1px solid #E2E8F0; background: #fff; }
.onb .thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.onb .arr-tools { display: flex; gap: 5px; margin-top: 7px; }
.onb .arr-tools span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 8px; font-weight: 700; color: var(--navy); background: #EEF2F7; border-radius: 8px; padding: 5px 0; }
.onb .arr-tools .ic { font-size: 9px; }
/* The report page itself: drawn at A4-ish width and scaled down, so it reads like a real PDF thumbnail. */
.onb .page { position: absolute; left: 0; top: 0; width: 640px; padding: 20px 22px; transform: scale(.34); transform-origin: top left; font-family: Arial, Helvetica, sans-serif; color: #111; background: #fff; }
.onb .page .wm { position: absolute; left: 120px; top: 360px; font: 900 300px/1 Arial, sans-serif; color: rgba(231, 111, 31, .07); letter-spacing: -20px; }
.onb .pg-head { display: flex; justify-content: space-between; align-items: flex-start; }
.onb .pg-brand { display: flex; align-items: center; gap: 12px; }
.onb .pg-brand svg { width: 100px; height: 62px; }
.onb .pg-brand .t1 { font-size: 21px; font-weight: 700; color: #1F8A8A; letter-spacing: .01em; }
.onb .pg-brand .t2 { white-space: nowrap; font-size: 24px; font-weight: 900; color: #111; letter-spacing: -.01em; }
.onb .pg-sub { font-size: 10.5px; color: #333; margin: 6px 0 0 8px; line-height: 1.55; }
.onb .pg-sub b { font-weight: 700; }
.onb .qr { text-align: center; font-size: 11px; }
.onb .qr svg { width: 92px; height: 92px; display: block; margin-bottom: 4px; }
.onb .pg-title { font-size: 15px; font-weight: 800; margin: 18px 0 8px 14px; }
.onb .pg-info { display: grid; grid-template-columns: 1.1fr .8fr 1.5fr; gap: 3px 12px; font-size: 11.5px; white-space: nowrap; margin: 0 0 16px 14px; }
.onb .pg-sec { text-align: center; font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.onb .pg-body { display: flex; gap: 8px; }
.onb .pg-tbl { flex: 1; border-collapse: collapse; font-size: 12px; }
.onb .pg-tbl th { font-size: 12.5px; font-weight: 800; padding: 5px 4px; border-bottom: 2px solid #ddd; }
.onb .pg-tbl td { padding: 4px 6px; border-bottom: 1px solid #E5E7EB; text-align: center; }
.onb .pg-tbl td:first-child { text-align: left; }
.onb .pg-tbl tr.out td { transition: background .4s; }
.onb .s5.on .pg-tbl tr.out td { animation: onb-hl .5s 4.3s ease forwards; }
@keyframes onb-hl { to { background: #FDE68A; } }
.onb .pg-hist { width: 150px; font-size: 9px; text-align: center; color: #555; }
.onb .pg-hist div { font-size: 12.5px; font-weight: 800; color: #111; padding: 5px 0; border-bottom: 2px solid #ddd; margin-bottom: 8px; }
.onb .pg-hist svg { width: 140px; height: 110px; display: block; margin: 0 auto 10px; }
/* Chat under the card. */
.onb .vz-chips { display: flex; flex-direction: column; gap: 4px; }
.onb .vz-chips span { align-self: flex-start; background: #fff; border: 1px solid #CBD5E1; border-radius: 999px; padding: 4px 9px; font-size: 8.3px; font-weight: 700; color: var(--navy); opacity: 0; }
.onb .vz-chips.first span:nth-child(1) { animation: onb-float-in .3s 1.1s ease both; }
.onb .vz-chips.first span:nth-child(2) { animation: onb-float-in .3s 1.25s ease both; }
.onb .vz-chips.first span:nth-child(3) { animation: onb-float-in .3s 1.4s ease both; }
.onb .s5:not(.on) .vz-chips span { animation: none !important; }
.onb .s5.on .vz-chips.first { animation: onb-tapgone .5s 2.3s ease forwards; }
.onb .s5.on .vz-chips.first span:nth-child(1) { animation: onb-float-in .3s 1.1s ease both, onb-tapchip .25s 2.1s ease; }
@keyframes onb-tapchip { 50% { transform: scale(.92); background: #E2E8F0; } }
@keyframes onb-tapgone { to { opacity: 0; height: 0; margin: -3.5px 0; overflow: hidden; } }
.onb .vz-me { align-self: flex-end; background: var(--navy); color: #fff; font-size: 9px; font-weight: 600; padding: 6px 9px; border-radius: 12px 12px 4px 12px; opacity: 0; }
.onb .s5.on .vz-me { animation: onb-float-in .3s 2.5s ease both; }
.onb .vz-row { display: flex; gap: 5px; align-items: flex-start; }
.onb .vz-row .vz-av { width: 18px; height: 18px; font-size: 9px; margin-top: 1px; }
.onb .vz-b { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; padding: 7px 8px; font-size: 8.8px; line-height: 1.4; color: var(--ink); min-width: 46px; min-height: 24px; opacity: 0; }
.onb .s5.on .vz-b { animation: onb-float-in .3s 2.9s ease both; }
.onb .vz-dots { display: inline-flex; gap: 3px; position: absolute; left: 9px; top: 9px; opacity: 0; }
.onb .vz-dots i { width: 5px; height: 5px; border-radius: 50%; background: #94a3b8; animation: onb-dot 1s infinite ease-in-out; }
.onb .vz-dots i:nth-child(2) { animation-delay: .15s; }
.onb .vz-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes onb-dot { 0%, 80%, 100% { transform: none; opacity: .5; } 40% { transform: translateY(-3px); opacity: 1; } }
.onb .s5.on .vz-dots { animation: onb-show-hide 1.2s 2.9s linear both; }
@keyframes onb-show-hide { 0%, 95% { opacity: 1; } 100% { opacity: 0; } }
.onb .vz-txt { opacity: 0; }
.onb .s5.on .vz-txt { animation: onb-float-in .4s 4.1s ease both; }
.onb .vz-txt p { margin: 0 0 4px; }
.onb .vz-txt .val { display: block; background: #FFFBEB; border-radius: 6px; padding: 4px 6px; margin: 3px 0 0; font-weight: 700; }
.onb .vz-txt .val em { font-style: normal; color: #B45309; }
.onb .vz-src { display: inline-flex; align-items: center; gap: 4px; background: #EEF2F7; border-radius: 999px; padding: 2px 7px; font-size: 7.5px; font-weight: 600; color: var(--navy); }
.onb .vz-chips.next { padding-left: 23px; }
.onb .s5.on .vz-chips.next span:nth-child(1) { animation: onb-float-in .3s 4.9s ease both; }
.onb .s5.on .vz-chips.next span:nth-child(2) { animation: onb-float-in .3s 5.1s ease both; }
.onb .s5.on .vz-chips.next span:nth-child(3) { animation: onb-float-in .3s 5.3s ease both; }
/* Scene 6: the payoff — results scattered in papers, emails, chat photos and downloads all fly into one place. */
.onb .s6 .wrap { position: relative; width: 340px; height: 380px; }
.onb .s6 .mini { position: absolute; left: 72px; top: 20px; width: 196px; height: 340px; opacity: 0; transform: scale(.92); }
.onb .s6.on .mini { animation: onb-phonein .5s 1.1s ease forwards; }
@keyframes onb-phonein { to { opacity: 1; transform: none; } }
.onb .s6 .mini-hero b { margin-bottom: 0; }
.onb .s6 .mini-body { padding: 10px; gap: 6px; }
.onb .rs { display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 7px; opacity: 0; transform: translateY(-6px); }
.onb .rs em { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; background: var(--t); color: var(--k); }
.onb .rs b { display: block; font-size: 8.6px; color: var(--navy); line-height: 1.2; }
.onb .rs small { display: block; font-size: 7.3px; color: var(--muted); }
.onb .s6.on .rs { animation: onb-drop .35s ease forwards; }
.onb .s6.on .rs:nth-child(1) { animation-delay: 2.15s; }
.onb .s6.on .rs:nth-child(2) { animation-delay: 2.35s; }
.onb .s6.on .rs:nth-child(3) { animation-delay: 2.55s; }
.onb .s6.on .rs:nth-child(4) { animation-delay: 2.75s; }
.onb .alltag { align-self: center; margin-top: 4px; display: flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 800; color: var(--green); background: var(--green-bg); border-radius: 999px; padding: 5px 10px; opacity: 0; }
.onb .s6.on .alltag { animation: onb-float-in .4s 3.3s ease both; }
/* The mess: each piece pops in, bobs a little, then gets pulled into the phone. */
.onb .it { position: absolute; z-index: 2; }
.onb .s6.on .it { animation: onb-suck .55s var(--go) cubic-bezier(.5, 0, .75, .3) forwards; }
@keyframes onb-suck { to { transform: translate(var(--dx), var(--dy)) scale(.12); opacity: 0; } }
.onb .it > div { opacity: 0; transform: rotate(var(--r)) scale(.6); }
.onb .s6.on .it > div { animation: onb-mess .4s var(--in) cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes onb-mess { to { opacity: 1; transform: rotate(var(--r)); } }
.onb .paper { width: 84px; height: 106px; background: #fff; border-radius: 4px; padding: 10px 9px; box-shadow: 0 10px 24px rgba(14, 36, 57, .18); }
.onb .paper i { display: block; height: 4px; border-radius: 2px; background: #CBD5E1; margin-bottom: 6px; }
.onb .paper i:first-child { width: 60%; height: 6px; background: #94A3B8; margin-bottom: 9px; }
.onb .paper i:nth-child(3), .onb .paper i:nth-child(6) { width: 75%; }
.onb .mail { width: 128px; background: #fff; border-radius: 10px; padding: 8px 9px; box-shadow: 0 10px 24px rgba(14, 36, 57, .16); display: flex; gap: 7px; align-items: flex-start; }
.onb .mail .ic { flex: 0 0 auto; font-size: 16px; color: #DC2626; margin-top: 1px; }
.onb .mail b { display: block; font-size: 8.5px; color: var(--ink); }
.onb .mail small { display: block; font-size: 7.5px; color: var(--muted); line-height: 1.3; }
.onb .chatp { width: 92px; background: #DCF8C6; border-radius: 12px 12px 4px 12px; padding: 5px; box-shadow: 0 10px 24px rgba(14, 36, 57, .16); }
.onb .chatp div { height: 62px; border-radius: 8px; background: linear-gradient(135deg, #E2E8F0, #F8FAFC); display: flex; align-items: center; justify-content: center; color: #94A3B8; font-size: 22px; }
.onb .chatp small { display: block; text-align: right; font-size: 7px; color: #64748B; margin-top: 3px; }
.onb .file { width: 118px; background: #fff; border-radius: 10px; padding: 7px 8px; box-shadow: 0 10px 24px rgba(14, 36, 57, .16); display: flex; gap: 6px; align-items: center; }
.onb .file .pdf { flex: 0 0 auto; width: 22px; height: 26px; border-radius: 5px; background: #FEE2E2; color: #B91C1C; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.onb .file b { display: block; font-size: 8px; color: var(--ink); white-space: nowrap; }
.onb .file small { display: block; font-size: 7px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
.onb, .onb *, .onb *::before, .onb *::after, .onb *::before, .onb *::after { animation-duration: .01s !important; animation-delay: 0s !important; transition: none !important; }
.onb .s4 .banner { display: none; }
}

/* On the landing page the player is a card next to its heading (stacked on phones). */
.onb { width: 390px; max-width: 100%; height: clamp(600px, calc(100vh - 140px), 740px); border-radius: 28px; border: 1px solid #E2E8F0; box-shadow: 0 24px 60px rgba(14, 36, 57, .14); margin: 0 auto; color: var(--ink); text-align: left; }
.onb .mh .logo { display: block; max-width: none; object-fit: contain; }
.onb .copy h2 { font-family: inherit; }
@media (max-width: 600px) {
.onb { width: 100%; height: min(720px, calc(100svh - 96px)); min-height: 600px; border-radius: 24px; }
}
.lp-onb-sec { padding: 64px 0; }
.lp-onb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: center; }
.lp-onb-text h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin: 12px 0 14px; }
.lp-onb-text p { font-size: 17px; line-height: 1.55; color: var(--lp-muted, #475569); margin: 0 0 22px; max-width: 520px; }
.lp-onb-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-onb-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--lp-navy, #0e2439); }
.lp-onb-points li i { color: #14b8a6; margin-top: 3px; }
@media (max-width: 960px) {
.lp-onb-grid { grid-template-columns: 1fr; gap: 22px; }
.lp-onb-text { text-align: center; }
.lp-onb-text p { margin-left: auto; margin-right: auto; }
.lp-onb-points { display: none; }
}
/* Full screen (the small button top left): the player alone, a centred column on wide screens. */
html.onb-lock, html.onb-lock body { overflow: hidden; }
.onb.full { position: fixed; inset: 0; z-index: 2147483000; width: 100%; max-width: none; height: 100%; height: 100dvh; min-height: 0; max-height: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; align-items: center; }
.onb.full > * { width: 100%; max-width: 560px; }
.onb.full > .stage { max-width: none; }
.onb:fullscreen { background: #fff; }
