/* ============================================================
   AstroLabs - Get Started (activation + onboarding) flow
   Built on the AstroLabs marketing brand tokens (al-*).
   ============================================================ */
* { box-sizing: border-box; }
.onb { min-height: 100vh; background: var(--al-ice); position: relative; overflow-x: hidden; color: var(--al-navy); }
/* cohesive aurora background (matches the landing page) */
.onb::before, .onb::after { content: ""; position: fixed; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none; }
.onb::before { width: 58vw; height: 58vw; left: -12vw; top: -6vh; background: radial-gradient(circle, rgba(51,92,255,.16), transparent 66%); animation: onbDriftA 28s ease-in-out infinite alternate; }
.onb::after { width: 50vw; height: 50vw; right: -10vw; bottom: -10vh; background: radial-gradient(circle, rgba(124,92,240,.14), transparent 66%); animation: onbDriftB 34s ease-in-out infinite alternate; }
@keyframes onbDriftA { to { transform: translate(8vw, 10vh) scale(1.12); } }
@keyframes onbDriftB { to { transform: translate(-7vw, -9vh) scale(1.1); } }
@keyframes onb-drop { 0% { transform: translateY(-32px) rotate(-3deg) scale(1.04); } 60% { transform: translateY(4px) rotate(0) scale(1); } 100% { transform: none; } }
.onb-drop { animation: onb-drop .55s var(--ease-out); }
/* landing-style Overview dashboard (replaces the old grey skeleton) */
.od { background: #fff; border: 1px solid var(--al-line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; width: 100%; }
.od-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--al-line); }
.od-top .sq { width: 24px; height: 24px; border-radius: 7px; background: var(--al-blue); flex: none; }
.od-top .sk { height: 8px; border-radius: 5px; background: var(--al-line); width: 120px; }
.od-top .sp { flex: 1; }
.od-top .pill { width: 64px; height: 24px; border-radius: var(--radius-pill); background: var(--al-paper); border: 1px solid var(--al-line); }
.od-top .av { width: 28px; height: 28px; border-radius: 50%; background: #1F3BAD; flex: none; }
.od-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.od-welcome { position: relative; overflow: hidden; border-radius: 14px; padding: 18px 20px; background: linear-gradient(118deg, #1F3BAD, #335CFF 56%, #5986FF); box-shadow: var(--shadow-md); }
.od-welcome .ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.16); width: 240px; height: 240px; top: -110px; right: -50px; }
.od-w-ey { font-family: var(--font-display); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); position: relative; }
.od-w-t { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: #fff; margin: 6px 0 0; position: relative; }
.od-w-sub { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.85); margin: 7px 0 0; position: relative; }
.od-w-sub b { color: #fff; font-weight: 700; }
.od-w-mets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; position: relative; }
.od-met { display: flex; flex-direction: column; gap: 3px; }
.od-met .n { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: #fff; line-height: 1; }
.od-met .l { font-size: 10px; color: rgba(255,255,255,.72); }
.od-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.od-card { background: #fff; border: 1px solid var(--al-line); border-radius: 12px; padding: 12px; }
.od-card-t { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--al-navy); display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
/* progressive underline profile form */
.onb-form-uline .onb-field { margin-bottom: 22px; }
.onb-form-uline .onb-inp, .onb-form-uline .onb-combo-field { border: none; border-radius: 0; border-bottom: 2px solid var(--al-line-2); background: none; padding: 8px 2px; height: 44px; box-shadow: none; transition: border-color .18s; }
.onb-form-uline .onb-inp { font-size: 16px; }
.onb-form-uline .onb-inp:focus, .onb-form-uline .onb-combo-field.open, .onb-form-uline .onb-combo-field:focus { border-bottom-color: var(--al-blue); box-shadow: none; }
.onb-form-uline .onb-label { font-size: 12px; color: var(--al-text-3); font-weight: 600; }
@keyframes onb-fieldin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.onb-reveal { animation: onb-fieldin .42s var(--ease-out) both; }
.od-card-t i { color: var(--al-blue); font-size: 14px; }
.od-task { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.od-tick { width: 24px; height: 24px; border-radius: 7px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; }
.od-task .lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.od-task .lines .a { height: 7px; border-radius: 4px; background: var(--al-line-2); width: 74%; }
.od-task .lines .b { height: 5px; border-radius: 3px; background: var(--al-line); width: 46%; }
.od-epic { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.od-epic .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.od-epic .track { flex: 1; height: 7px; border-radius: 5px; background: var(--al-paper); border: 1px solid var(--al-line); overflow: hidden; }
.od-epic .fill { height: 100%; border-radius: 5px; }
.onb-rings { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.onb-rings .r { position: absolute; border-radius: 50%; border: 1.5px solid var(--al-blue-200); opacity: .4; }
.onb-rings .r1 { width: 620px; height: 620px; top: -240px; left: -200px; }
.onb-rings .r2 { width: 420px; height: 420px; top: -120px; left: -90px; border-color: var(--al-blue-100); }
.onb-rings .r3 { width: 680px; height: 680px; bottom: -300px; right: -220px; border-color: var(--al-blue-100); }
.onb-rings .r4 { width: 440px; height: 440px; bottom: -200px; right: -120px; border-color: var(--al-blue-200); opacity: .3; }

/* ---------- top bar ---------- */
.onb-top { position: relative; z-index: 5; height: 72px; display: flex; align-items: center; gap: 18px; padding: 0 28px; }
.onb-logo img { height: 28px; display: block; }
.onb-logo.lindy-lock { display: inline-flex; align-items: center; gap: 8px; line-height: 1; font-size: 22px; }
.onb-logo.lindy-lock img { height: 1.18em; width: auto; }
.onb-logo.lindy-lock b { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; color: var(--al-navy); }
.onb-top-spacer { flex: 1; }
.onb-step-count { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--al-text-3); }
.onb-exit { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--al-text-2); text-decoration: none; padding: 8px 12px; border-radius: var(--radius-sm); }
.onb-exit:hover { background: rgba(20,23,87,.05); color: var(--al-navy); }

/* ---------- shared buttons ---------- */
.onb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display);
  font-size: 15px; font-weight: 700; line-height: 1; padding: 13px 22px; border-radius: var(--radius-md); cursor: pointer;
  border: 1.5px solid transparent; transition: background .16s var(--ease-out), color .16s, border-color .16s, transform .12s, box-shadow .16s, opacity .16s; text-decoration: none; }
.onb-btn i { font-size: 18px; }
.onb-btn-primary { background: var(--al-blue); color: #fff; }
.onb-btn-primary:hover { background: var(--al-blue-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.onb-btn-primary:disabled { background: var(--al-blue-200); color: #fff; cursor: not-allowed; transform: none; box-shadow: none; }
.onb-btn-ghost { background: #fff; color: var(--al-navy); border-color: var(--al-line-2); }
.onb-btn-ghost:hover { border-color: var(--al-blue); color: var(--al-blue); }
.onb-btn-lg { padding: 15px 26px; font-size: 16px; }
.onb-btn-block { width: 100%; }
.onb-arrow { transition: transform .16s var(--ease-out); }
.onb-btn:hover .onb-arrow { transform: translateX(3px); }

/* ============================================================
   AUTH (sign up / log in) - split screen
   ============================================================ */
.onb-auth { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 72px); }
.onb-auth-form { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 24px 24px 56px; }
.onb-auth-inner { width: 100%; max-width: 400px; }
.onb-tabs { display: flex; width: fit-content; background: #fff; border: var(--card-border); border-radius: var(--radius-pill); padding: 4px; box-shadow: var(--shadow-xs); margin: 0 auto 28px; }
.onb-tab { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--al-text-2); padding: 9px 22px; border-radius: var(--radius-pill); border: none; background: none; cursor: pointer; transition: all .16s; }
.onb-tab.on { background: var(--al-blue); color: #fff; }
.onb-auth-h { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -.02em; text-align: center; margin: 0 0 6px; }
.onb-auth-sub { text-align: center; font-size: 14.5px; color: var(--al-text-2); margin: 0 0 24px; }
.onb-social { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; background: #fff; border: 1.5px solid var(--al-line-2);
  border-radius: var(--radius-md); font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--al-navy); cursor: pointer; transition: border-color .15s, background .15s; }
.onb-social:hover { border-color: var(--al-blue); background: var(--al-blue-50); }
.onb-social .li { color: #0A66C2; font-size: 20px; }
/* Login screen "Sign in with Google" button - mirrors .onb-social so the inline
   Google SVG is spaced from the label and the button spans the form width. */
.onb-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; background: #fff; border: 1.5px solid var(--al-line-2);
  border-radius: var(--radius-md); font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--al-navy); cursor: pointer; transition: border-color .15s, background .15s; }
.onb-google:hover { border-color: var(--al-blue); background: var(--al-blue-50); }
.onb-google svg { flex: none; display: block; }
.onb-or { display: flex; align-items: center; gap: 12px; color: var(--al-text-3); font-size: 12.5px; font-weight: 600; margin: 18px 0; }
.onb-or::before, .onb-or::after { content: ""; flex: 1; height: 1px; background: var(--al-line); }
.onb-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.onb-field { margin-bottom: 12px; }
.onb-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--al-text-2); margin-bottom: 6px; }
.onb-inp { width: 100%; height: 46px; padding: 0 14px; font-family: var(--font-body); font-size: 14.5px; color: var(--al-navy);
  background: #fff; border: 1.5px solid var(--al-line-2); border-radius: var(--radius-md); outline: none; transition: border-color .15s, box-shadow .15s; }
.onb-inp::placeholder { color: var(--al-placeholder); }
.onb-inp:focus { border-color: var(--al-blue); box-shadow: var(--ring-blue); }
.onb-inp-wrap { position: relative; }
.onb-inp-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: none; background: none; cursor: pointer; color: var(--al-text-3); font-size: 18px; }
.onb-strength { height: 4px; border-radius: 3px; background: var(--al-line); margin-top: 8px; overflow: hidden; }
.onb-strength span { display: block; height: 100%; width: 0; border-radius: 3px; transition: width .25s, background .25s; }
.onb-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--al-text-2); line-height: 1.5; margin: 12px 0 0; cursor: pointer; }
.onb-check input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--al-blue); flex: none; }
.onb-foot-links { text-align: center; margin-top: 28px; font-size: 13px; color: var(--al-text-3); }
.onb-foot-links a { color: var(--al-blue); }

/* right value panel */
.onb-auth-value { position: relative; overflow: hidden; background: linear-gradient(160deg, #EAF0FF 0%, #DCE6FF 100%); padding: 56px 56px; display: flex; flex-direction: column; justify-content: center; }
.onb-auth-tagline, .onb-av-tagline { position: relative; z-index: 1; font-size: 16px; color: var(--al-text-2); margin: 12px 0 0; max-width: 420px; line-height: 1.55; }
.onb-av-dash { position: relative; z-index: 1; margin-top: 30px; }
.onb-clerk-note { display: flex; align-items: flex-start; gap: 9px; background: var(--al-blue-50); border-radius: var(--radius-md); padding: 11px 13px; margin: 14px 0 4px; font-size: 12.5px; color: var(--al-navy); line-height: 1.5; }
.onb-clerk-note i { color: var(--al-blue); font-size: 17px; flex: none; margin-top: 1px; }
.onb-opt-lbl { font-weight: 400; color: var(--al-text-3); font-size: 11.5px; }
.onb-prov-tag { display: inline-block; margin-left: 8px; font-size: 10.5px; font-weight: 700; color: var(--al-blue); background: var(--al-blue-50); border-radius: var(--radius-pill); padding: 2px 8px; vertical-align: middle; }

/* dashboard screenshot mock */
.dm { background: #fff; border: var(--card-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; width: 100%; max-width: 430px; }
.dm-hero { background: linear-gradient(135deg, #0B1E66 0%, #1F3BAD 55%, #335CFF 100%); padding: 15px 16px 14px; color: #fff; }
.dm-hero-t { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.dm-hero-sub { font-size: 10.5px; color: rgba(255,255,255,.82); margin-top: 3px; line-height: 1.4; }
.dm-metrics { display: flex; gap: 6px; margin-top: 12px; }
.dm-metric { flex: 1; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 7px 8px; }
.dm-metric b { font-family: var(--font-display); font-size: 16px; font-weight: 800; display: block; line-height: 1; }
.dm-metric span { font-size: 8.5px; color: rgba(255,255,255,.78); display: block; margin-top: 3px; }
.dm-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.dm-task { display: flex; align-items: center; gap: 9px; border: 1px solid var(--al-line); border-radius: 9px; padding: 8px 10px; }
.dm-tick { width: 22px; height: 22px; border-radius: 6px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; }
.dm-l { display: block; height: 8px; border-radius: 4px; background: var(--al-line-2); }
.dm-pill { font-family: var(--font-display); font-size: 10px; font-weight: 700; border-radius: var(--radius-pill); padding: 3px 9px; flex: none; }
.onb-auth-value .r { position: absolute; border-radius: 50%; border: 1.5px solid rgba(51,92,255,.16); }
.onb-av-eyebrow { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--al-blue); letter-spacing: .04em; text-transform: uppercase; position: relative; z-index: 1; }
.onb-av-h { font-family: var(--font-display); font-size: clamp(28px,3vw,40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 14px 0 0; position: relative; z-index: 1; }
.onb-av-h .al-hl { color: var(--al-blue); }
.onb-av-list { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 0; position: relative; z-index: 1; }
.onb-av-li { display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 600; color: var(--al-navy); }
.onb-av-li i { width: 26px; height: 26px; border-radius: 50%; background: var(--al-success); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.onb-av-card { position: relative; z-index: 1; margin-top: 36px; background: #fff; border: var(--card-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 18px; max-width: 420px; }
.onb-av-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.onb-av-greet { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--al-navy); }

/* ============================================================
   WIZARD
   ============================================================ */
.onb-wiz { position: relative; z-index: 3; display: flex; align-items: flex-start; justify-content: center; padding: 28px 24px 64px; min-height: calc(100vh - 72px); }
.onb-card { width: 100%; max-width: 1040px; background: #fff; border-radius: var(--radius-2xl); box-shadow: var(--shadow-lg); overflow: visible; position: relative; }
.onb-card-bar { height: 5px; background: var(--al-line); }
.onb-card-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--al-blue), var(--al-blue-400)); border-radius: 0 4px 4px 0; transition: width .5s var(--ease-out); }
.onb-card-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 460px; }
.onb-card-main { padding: 48px 48px 26px; display: flex; flex-direction: column; }
.onb-card-side { position: relative; background: linear-gradient(165deg, #F2F6FF, #E5ECFF); border-left: 1px solid var(--al-line); border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0; padding: 40px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.onb-card-side .r { position: absolute; border-radius: 50%; border: 1.5px solid rgba(51,92,255,.14); }

.onb-meter { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; max-width: 300px; }
.onb-meter-bar { flex: 1; height: 7px; border-radius: 5px; background: var(--al-line); overflow: hidden; }
.onb-meter-bar span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--al-blue), var(--al-blue-400)); transition: width .5s var(--ease-out); }
.onb-meter-lbl { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--al-blue); white-space: nowrap; }

.onb-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--al-blue); letter-spacing: .03em; text-transform: uppercase; margin-bottom: 14px; }
.onb-h { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
.onb-h .al-hl { color: var(--al-blue); }
.onb-sub { font-size: 16px; line-height: 1.55; color: var(--al-text-2); margin: 14px 0 0; max-width: 460px; }
.onb-body { flex: 1; margin-top: 24px; }

/* underline input (space name) */
.onb-line-input { width: 100%; max-width: 460px; border: none; border-bottom: 2px solid var(--al-line-2); background: none; font-family: var(--font-display);
  font-size: 24px; font-weight: 700; color: var(--al-navy); padding: 8px 2px; outline: none; transition: border-color .18s; }
.onb-line-input::placeholder { color: var(--al-placeholder); font-weight: 600; }
.onb-line-input:focus { border-color: var(--al-blue); }
.onb-hint { font-size: 13px; color: var(--al-text-3); margin: 12px 0 0; max-width: 420px; line-height: 1.5; }

/* choice cards */
.onb-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.onb-opts.one { grid-template-columns: 1fr; }
.onb-opt { text-align: left; background: #fff; border: 1.5px solid var(--al-line-2); border-radius: var(--radius-lg); padding: 18px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .12s, background .15s; position: relative; }
.onb-opt:hover { border-color: var(--al-blue-300); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.onb-opt.on { border-color: var(--al-blue); background: var(--al-blue-50); box-shadow: var(--ring-blue); }
.onb-opt-ic { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--al-blue-50); color: var(--al-blue); display: flex; align-items: center; justify-content: center; font-size: 21px; }
.onb-opt.on .onb-opt-ic { background: var(--al-blue); color: #fff; }
.onb-opt-t { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--al-navy); margin-top: 14px; }
.onb-opt-d { font-size: 13px; color: var(--al-text-2); line-height: 1.5; margin-top: 5px; }
.onb-opt-tick { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--al-blue); color: #fff; display: none; align-items: center; justify-content: center; font-size: 14px; }
.onb-opt.on .onb-opt-tick { display: flex; }

.onb-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.onb-pill { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--al-navy); background: #fff; border: 1.5px solid var(--al-line-2); border-radius: var(--radius-pill); padding: 9px 16px; cursor: pointer; transition: all .14s; }
.onb-pill:hover { border-color: var(--al-blue-300); }
.onb-pill.on { background: var(--al-blue); color: #fff; border-color: var(--al-blue); }

/* connect provider cards */
.onb-provs { display: flex; flex-direction: column; gap: 12px; }
.onb-prov { display: flex; align-items: center; gap: 14px; background: #fff; border: 1.5px solid var(--al-line-2); border-radius: var(--radius-lg); padding: 13px 16px; min-height: 94px; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s; }
.onb-prov:hover { box-shadow: var(--shadow-md); border-color: var(--al-blue-300); }
.onb-prov.connected { border-color: var(--al-success); background: #F2FBF6; }
.onb-prov-logo { width: 44px; height: 44px; flex: none; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--al-line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.onb-prov-logo img { width: 30px; height: 30px; object-fit: contain; }
.onb-prov-main { flex: 1; min-width: 0; }
.onb-prov-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--al-navy); }
.onb-prov-desc { font-size: 12.5px; color: var(--al-text-2); margin-top: 3px; }
.onb-prov-btn { flex: none; font-family: var(--font-display); font-size: 13.5px; font-weight: 700; padding: 9px 16px; border-radius: var(--radius-sm); cursor: pointer; border: 1.5px solid var(--al-blue); background: var(--al-blue); color: #fff; transition: all .15s; min-width: 104px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.onb-prov-btn:hover { background: var(--al-blue-700); }
.onb-prov-btn.connecting { background: var(--al-blue-50); color: var(--al-blue); border-color: var(--al-blue-200); cursor: default; }
.onb-prov-btn.done { background: #E6F7EE; color: var(--al-success); border-color: #BFE9D2; cursor: default; }
.onb-prov-btn i.spin { animation: onb-spin .8s linear infinite; }
@keyframes onb-spin { to { transform: rotate(360deg); } }

/* united section: all providers in one bordered card with row dividers */
.onb-provs-card { gap: 0; border: 1.5px solid var(--al-line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.onb-provs-card .onb-prov { border: none; border-radius: 0; box-shadow: none; min-height: 72px; border-top: 1px solid var(--al-line); }
.onb-provs-card .onb-prov:first-child { border-top: none; }
.onb-provs-card .onb-prov:hover { box-shadow: none; border-color: transparent; background: var(--al-blue-50); }
.onb-provs-card .onb-prov:first-child:hover { border-top-color: transparent; }
.onb-provs-card .onb-prov.connected { background: #F2FBF6; border-color: transparent; }

/* value nudge */
.onb-value-note { display: flex; align-items: flex-start; gap: 10px; background: var(--al-blue-50); border-radius: var(--radius-md); padding: 12px 14px; margin-top: 18px; font-size: 13.5px; color: var(--al-navy); line-height: 1.5; }
.onb-value-note i { color: var(--al-blue); font-size: 18px; flex: none; margin-top: 1px; }

/* footer nav */
.onb-nav { display: flex; align-items: center; margin-top: 24px; }
.onb-dots { display: flex; gap: 7px; }
.onb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--al-line-2); transition: width .25s, background .25s; }
.onb-dot.on { width: 22px; background: var(--al-blue); border-radius: 5px; }
.onb-dot.done { background: var(--al-blue-300); }
.onb-nav-btns { margin-left: auto; display: flex; gap: 10px; }

/* ---------- side preview (per step) ---------- */
.onb-side-title { font-family: var(--font-display); font-size: 12.5px; font-weight: 600; color: var(--al-text-3); text-transform: none; letter-spacing: 0; position: relative; z-index: 1; margin-bottom: 16px; }
.onb-live { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.onb-live-row { display: flex; align-items: center; gap: 11px; background: #fff; border: var(--card-border); border-radius: var(--radius-md); padding: 12px 14px; box-shadow: var(--shadow-xs);
  opacity: 0; transform: translateX(28px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.onb-live-row.show { opacity: 1; transform: none; }
.onb-live-ic { width: 30px; height: 30px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.onb-live-t { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--al-navy); }
.onb-live-s { font-size: 12px; color: var(--al-text-3); }
.onb-gauge { position: relative; z-index: 1; width: 168px; height: 168px; margin: 0 auto; }
.onb-gauge svg { transform: rotate(-90deg); }
.onb-gauge-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.onb-gauge-num b { font-family: var(--font-display); font-size: 38px; font-weight: 800; color: var(--al-navy); letter-spacing: -.02em; }
.onb-gauge-num span { font-size: 12px; color: var(--al-text-3); }

/* ============================================================
   SETUP (background fetch)
   ============================================================ */
.onb-setup { text-align: center; max-width: 560px; margin: 0 auto; padding: 16px 0; }

/* looping "meeting -> Lindy -> tasks" illustration (see FetchScene) */
.onb-fetch { width: 100%; max-width: 340px; margin: 0 auto 8px; }
.onb-fetch-svg { width: 100%; height: auto; display: block; overflow: visible; }
.onb-fetch-day { transform-box: fill-box; transform-origin: center; }
.onb-fetch-ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
.onb-fetch-tick { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .onb-fetch-svg { animation: lindy-float 6s ease-in-out infinite; }
  .onb-fetch-spark { animation: onb-fx-spark 2.2s ease-in-out infinite; }
  .onb-fetch-day { animation: onb-fx-day 2.2s ease-in-out infinite; }
  .onb-fetch-ring.r1 { animation: onb-fx-ring 2.4s ease-out infinite; }
  .onb-fetch-ring.r2 { animation: onb-fx-ring 2.4s ease-out 1.2s infinite; }
  .onb-fetch-task .onb-fetch-tick { animation: onb-fx-tick 4.8s ease-in-out infinite; }
  .onb-fetch-task .onb-fetch-box  { animation: onb-fx-box  4.8s ease-in-out infinite; }
  .onb-fetch-task.t0 .onb-fetch-tick, .onb-fetch-task.t0 .onb-fetch-box { animation-delay: .7s; }
  .onb-fetch-task.t1 .onb-fetch-tick, .onb-fetch-task.t1 .onb-fetch-box { animation-delay: 1.7s; }
  .onb-fetch-task.t2 .onb-fetch-tick, .onb-fetch-task.t2 .onb-fetch-box { animation-delay: 2.7s; }
}
@keyframes onb-fx-spark { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translateX(50px); opacity: 0; } }
@keyframes onb-fx-day { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes onb-fx-ring { 0% { transform: scale(.7); opacity: .5; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes onb-fx-tick { 0%, 8% { opacity: 0; } 16%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes onb-fx-box { 0%, 8% { fill: #EAF0FF; } 16%, 88% { fill: #1FC16B; } 96%, 100% { fill: #EAF0FF; } }
@media (prefers-reduced-motion: reduce) {
  /* static "done" state - reads as complete without motion */
  .onb-fetch-tick { opacity: 1; }
  .onb-fetch-box { fill: #1FC16B; }
  .onb-fetch-ring { opacity: .3; }
}

.onb-setup-spin { width: 84px; height: 84px; margin: 0 auto 24px; position: relative; }
.onb-setup-spin .ring { position: absolute; inset: 0; border-radius: 50%; border: 4px solid var(--al-blue-100); border-top-color: var(--al-blue); animation: onb-spin 1s linear infinite; }
.onb-setup-spin i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--al-blue); font-size: 32px; }
.onb-setup-list { display: flex; flex-direction: column; gap: 10px; margin: 28px auto 0; max-width: 420px; text-align: left; }
.onb-setup-li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius-md); background: #fff; border: var(--card-border);
  opacity: .4; transition: opacity .35s, border-color .35s, background .35s; }
.onb-setup-li.active { opacity: 1; border-color: var(--al-blue-200); }
.onb-setup-li.done { opacity: 1; background: #F2FBF6; border-color: #CDEBDB; }
.onb-setup-li-ic { width: 26px; height: 26px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 15px; background: var(--al-line); color: var(--al-text-3); }
.onb-setup-li.active .onb-setup-li-ic { background: var(--al-blue-50); color: var(--al-blue); }
.onb-setup-li.done .onb-setup-li-ic { background: var(--al-success); color: #fff; }
.onb-setup-li-t { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: var(--al-navy); flex: 1; }
.onb-setup-li-v { font-size: 12.5px; font-weight: 700; color: var(--al-success); }
.onb-setup-li-ic i.spin { animation: onb-spin .8s linear infinite; }

/* ============================================================
   SUCCESS
   ============================================================ */
.onb-success { text-align: center; max-width: 600px; margin: 0 auto; padding: 12px 0 8px; }
.onb-badge { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%; background: var(--al-success); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 50px;
  box-shadow: 0 0 0 0 rgba(31,138,91,.4); animation: onb-pop .5s var(--ease-out) both, onb-pulse 2.4s 0.5s ease-out infinite; }
@keyframes onb-pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes onb-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,138,91,.35); } 100% { box-shadow: 0 0 0 24px rgba(31,138,91,0); } }
.onb-success-h { font-family: var(--font-display); font-size: clamp(30px,4vw,46px); font-weight: 800; letter-spacing: -.025em; margin: 0; }
.onb-success-h .al-hl { color: var(--al-blue); }
.onb-success-sub { font-size: 17px; color: var(--al-text-2); line-height: 1.55; margin: 16px auto 0; max-width: 460px; }
.onb-success-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0; }
.onb-ss { background: #fff; border: var(--card-border); border-radius: var(--radius-lg); padding: 20px 14px; box-shadow: var(--shadow-xs); }
.onb-ss-num { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--al-blue); letter-spacing: -.02em; }
.onb-ss-lbl { font-size: 12.5px; color: var(--al-text-2); margin-top: 4px; }
.onb-email-note { display: inline-flex; align-items: center; gap: 8px; background: var(--al-blue-50); border-radius: var(--radius-pill); padding: 9px 18px; font-size: 13.5px; font-weight: 600; color: var(--al-navy); margin-bottom: 18px; max-width: 100%; text-align: left; }
.onb-email-note i { color: var(--al-blue); font-size: 17px; line-height: 1; flex-shrink: 0; }
.onb-email-note span { line-height: 1.4; }

/* confetti */
.onb-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.onb-confetti i { position: absolute; top: -16px; width: 9px; height: 14px; border-radius: 2px; opacity: .9; animation: onb-fall linear forwards; }
@keyframes onb-fall { to { transform: translateY(108vh) rotate(540deg); opacity: .2; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .onb-auth { grid-template-columns: 1fr; }
  .onb-auth-value { display: none; }
  .onb-card-grid { grid-template-columns: 1fr; }
  .onb-card-side { display: none; }
  .onb-card-main { padding: 32px 26px 22px; }
  .onb-meter { max-width: none; }
}
@media (max-width: 560px) {
  .onb-top { padding: 0 18px; }
  .onb-wiz { padding: 8px 14px 40px; }
  .onb-card-main { padding: 26px 20px 20px; }
  .onb-opts { grid-template-columns: 1fr; }
  .onb-success-stats { grid-template-columns: 1fr; }
  .onb-nav-btns .onb-btn { padding: 12px 16px; }
  .onb-h { font-size: 27px; }
  .onb-line-input { font-size: 20px; }
  .onb-auth-form { padding: 16px 18px 40px; }
  .onb-row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .onb-live-row, .onb-setup-li, .onb-badge { transition: none; animation: none; opacity: 1; transform: none; }
  .onb::before, .onb::after, .onb-drop, .onb-reveal { animation: none; }
  .onb-confetti { display: none; }
}

/* ============================================================
   REFINEMENTS (v2)
   ============================================================ */
/* sticky toggle: top-align the auth form so it never re-centres */
.onb-auth-form { justify-content: flex-start; padding-top: 7vh; }
.onb-tabs { position: sticky; top: 0; }
.onb-social .g { color: #4285F4; }

/* auth value panel - fill with dashboard + richer patterns */
.onb-auth-value { padding: 0; justify-content: flex-start; }
.onb-av-head { position: relative; z-index: 2; padding: 56px 56px 0; }
.onb-av-tagline { position: relative; z-index: 2; font-size: 16px; color: var(--al-text-2); margin: 12px 0 0; max-width: 440px; line-height: 1.55; }
.onb-av-dash { position: absolute; z-index: 1; right: -40px; bottom: -40px; left: 44px; top: 210px; display: flex; align-items: center; }
.onb-av-illo { position: absolute; z-index: 1; right: 36px; bottom: 30px; width: 58%; max-width: 350px; }
.onb-av-illo img { width: 100%; height: auto; display: block; filter: drop-shadow(0 26px 52px rgba(20,23,87,.20)); }
.onb-av-dash .dm { width: 100%; max-width: none; box-shadow: 0 30px 70px -24px rgba(20,23,87,.35); transform: rotate(-1.5deg); }
.onb-dotgrid { position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: radial-gradient(rgba(51,92,255,.18) 1.5px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(135deg, #000, transparent 60%); mask-image: linear-gradient(135deg, #000, transparent 60%); }
.onb-dotgrid.sm { opacity: .4; background-size: 18px 18px; -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); }
.onb-glow { position: absolute; z-index: 0; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: 40px;
  background: radial-gradient(circle, rgba(51,92,255,.18), transparent 70%); filter: blur(10px); }

/* dashboard mock - chrome real, data greyed */
.dm { background: #fff; border: var(--card-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; width: 100%; max-width: 460px; display: flex; }
.dm-rail { width: 44px; flex: none; background: #fff; border-right: 1px solid var(--al-line); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; }
.dm-rail-i { width: 22px; height: 22px; border-radius: 7px; background: var(--al-line); }
.dm-rail-i.on { background: var(--al-blue); }
.dm-main { flex: 1; min-width: 0; }
.dm-topbar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--al-line); }
.dm-tb-btn { width: 60px; height: 22px; border-radius: 7px; background: var(--al-blue-50); flex: none; }
.dm-av { width: 24px; height: 24px; border-radius: 50%; background: var(--al-navy); flex: none; }
.dm-hero { margin: 12px; border-radius: 14px; padding: 14px 16px; color: #fff; background: linear-gradient(135deg, #0B1E66 0%, #1F3BAD 55%, #335CFF 100%); }
.dm-hero-ey { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.dm-metrics { display: flex; gap: 6px; margin-top: 12px; }
.dm-metric { flex: 1; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 8px; }
.dm-metric-num { display: block; height: 14px; width: 22px; border-radius: 4px; background: rgba(255,255,255,.55); }
.dm-metric-lbl { display: block; height: 6px; width: 80%; border-radius: 3px; background: rgba(255,255,255,.28); margin-top: 7px; }
.dm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 12px; }
.dm-card { border: 1px solid var(--al-line); border-radius: 12px; padding: 12px; }
.dm-task { display: flex; align-items: center; gap: 8px; }
.dm-tick { width: 20px; height: 20px; border-radius: 6px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; }
.dm-chip { width: 38px; height: 16px; border-radius: var(--radius-pill); background: var(--al-blue-50); flex: none; }

/* searchable job combobox */
.onb-combo { position: relative; }
.onb-combo-field { display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; font-family: var(--font-body); }
.onb-combo-field.open { border-color: var(--al-blue); box-shadow: var(--ring-blue); }
.onb-combo-field i { color: var(--al-text-3); font-size: 18px; }
.onb-combo-ph { color: var(--al-placeholder); }
.onb-combo-pop { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1.5px solid var(--al-line-2); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; }
.onb-combo-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--al-line); }
.onb-combo-search i { color: var(--al-text-3); font-size: 17px; }
.onb-combo-search input { flex: 1; border: none; outline: none; font-family: var(--font-body); font-size: 14px; color: var(--al-navy); background: none; }
.onb-combo-list { max-height: 168px; overflow-y: auto; padding: 6px; }
.onb-combo-opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; color: var(--al-navy); }
.onb-combo-opt:hover { background: var(--al-blue-50); }
.onb-combo-opt.on { color: var(--al-blue); font-weight: 600; }
.onb-combo-opt i { color: var(--al-blue); font-size: 16px; }
.onb-combo-opt.add { color: var(--al-blue); font-weight: 600; }
.onb-combo-empty { padding: 12px; font-size: 13px; color: var(--al-text-3); text-align: center; }

/* optional secondary-font label */
.onb-opt-lbl { font-weight: 400; font-size: 12px; color: var(--al-text-3); }

/* card: CONSTANT height across every step (CTA always pinned to the bottom) */
.onb-card { height: 744px; display: flex; }
.onb-card-grid { width: 100%; height: 744px; }
.onb-card-main { padding: 30px 44px 34px; min-width: 0; overflow: visible; }
.onb-card-head { display: flex; align-items: center; justify-content: flex-start; gap: 14px; margin-bottom: 16px; min-height: 24px; }
.onb-back { display: inline-flex; align-items: center; gap: 5px; border: none; background: none; padding: 4px 6px 4px 0; cursor: pointer; font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--al-text-2); }
.onb-back i { font-size: 18px; }
.onb-back:hover { color: var(--al-blue); }
.onb-step-count { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--al-text-3); }
.onb-step-body { flex: 1; display: flex; flex-direction: column; }
/* smooth step-to-step transition: the left column cross-fades + rises in as it
   remounts on each step (keyed by step), matching the side panel's entrance. */
@media (prefers-reduced-motion: no-preference) { .onb-step-body { animation: onbStepShift .38s var(--ease-out); } }
@keyframes onbStepShift { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.onb-card-solo { width: 100%; height: 744px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 48px; position: relative; overflow-y: auto; }
.onb-side-inner { position: relative; z-index: 1; width: 100%; }

/* connect: video sub-section */
.onb-subhead { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--al-text-2); margin: 20px 0 10px; }

/* value note centred variant + multi-line title/sub blocks */
.onb-value-note { align-items: center; }
.onb-value-note-center { align-items: center; }
.onb-live-main { display: flex; flex-direction: column; }
.onb-live-t { display: block; }
.onb-live-s { display: block; }

@media (max-width: 920px) {
  .onb-card, .onb-card-grid, .onb-card-solo { min-height: 0; height: auto; }
  .onb-card-main { overflow: visible; }
  .onb-auth-value { display: none; }
}

/* ============================================================
   LINDY - illustration scene
   ============================================================ */
/* side panel becomes an illustration scene; figure can overflow the edges */
.onb-card-side { overflow: hidden; padding: 0; }
.onb-side-bg { position: absolute; inset: 0; overflow: hidden; border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0; z-index: 0; transform: translate(calc(var(--onb-px, 0) * -16px), calc(var(--onb-py, 0) * -12px)); transition: transform .35s ease-out; }
.onb-side-bg .r { position: absolute; border-radius: 50%; border: 1.5px solid rgba(51,92,255,.14); }

.onb-scene { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 26px; gap: 12px; }
/* Lindy's caption styled as a chat message she's sending you */
.onb-msg { position: relative; z-index: 2; width: 100%; max-width: 304px; background: #fff; border: 1px solid var(--al-line); border-radius: 18px; box-shadow: 0 12px 30px -14px rgba(20,23,87,.22); padding: 15px 17px 16px; }
.onb-msg::after { content: ""; position: absolute; bottom: -8px; right: 44px; width: 16px; height: 16px; background: #fff; border-right: 1px solid var(--al-line); border-bottom: 1px solid var(--al-line); transform: rotate(45deg); }
.onb-msg-head { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.onb-msg-av { width: 24px; height: 24px; border-radius: 50%; background: var(--al-navy); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.onb-msg-name { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--al-navy); }
.onb-typing { display: inline-flex; gap: 3px; margin-left: 3px; align-items: center; }
.onb-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--al-blue-300); display: block; }
.onb-scene-h { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--al-navy); margin: 0; }
.onb-scene-h .al-hl { color: var(--al-blue); }
.onb-scene-s { font-size: 13.5px; line-height: 1.5; color: var(--al-text-2); margin: 8px 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .onb-typing i { animation: onb-type 1.2s infinite ease-in-out; }
  .onb-typing i:nth-child(2) { animation-delay: .18s; }
  .onb-typing i:nth-child(3) { animation-delay: .36s; }
}
@keyframes onb-type { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }

/* mini contextual card */
.onb-mini-card { background: #fff; border: var(--card-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 13px 14px; margin-top: 20px; max-width: 300px; display: flex; flex-direction: column; gap: 10px; }
.onb-msg .onb-mini-card { box-shadow: none; background: var(--al-ice); border-color: var(--al-line); margin-top: 12px; max-width: none; padding: 11px 12px; }
.onb-mini-head { display: flex; align-items: center; gap: 9px; }
.onb-mini-sq { width: 26px; height: 26px; border-radius: 7px; background: var(--al-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; flex: none; }
.onb-mini-nm { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--al-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onb-mini-lines { display: flex; flex-direction: column; gap: 7px; }
.onb-mini-lines span { height: 8px; border-radius: 4px; background: var(--al-line); }
.onb-mini-row { display: flex; align-items: center; gap: 10px; }
.onb-mini-ic { width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--al-blue-50); color: var(--al-blue); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.onb-mini-ic.green { background: #E6F7EE; color: var(--al-success); }
.onb-mini-rt { display: flex; flex-direction: column; min-width: 0; }
.onb-mini-rt b { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--al-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onb-mini-rt em { font-style: normal; font-size: 11.5px; color: var(--al-text-3); margin-top: 1px; }

/* the illustration - half-figure that leans in & overflows the modal edges */
.onb-figure { position: absolute; right: -24px; bottom: -18px; width: 70%; max-width: 296px; height: auto; z-index: 1; pointer-events: none; transition: right .45s var(--ease-out), bottom .45s var(--ease-out), width .45s var(--ease-out); }
.onb-figure-wrap { position: relative; width: 100%; max-width: 272px; margin: 0 auto; display: flex; justify-content: center; }
.onb-figure-wrap::before { content: ""; position: absolute; left: 5%; right: 5%; top: 9%; bottom: 1%; border-radius: 50%; background: radial-gradient(50% 52% at 50% 55%, var(--lindy-glow, rgba(51,92,255,.20)), rgba(51,92,255,0) 70%); z-index: 0; }
.onb-figure-img { position: relative; width: 100%; display: block; z-index: 1; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .onb-figure-img { animation: lindy-float 6s ease-in-out infinite; } }
.s-profile  { --lindy-glow: rgba(51,92,255,.20); }
.s-space    { --lindy-glow: rgba(63,99,224,.22); }
.s-calendar { --lindy-glow: rgba(46,143,255,.20); }
.s-ai       { --lindy-glow: rgba(246,181,30,.20); }
.s-mfa      { --lindy-glow: rgba(17,32,92,.18); }
.lindy-char { display: block; width: 100%; height: auto; overflow: visible; }
/* per-step placement - each step reads as a different little moment */
.s-profile .onb-figure { width: 72%; right: -20px; bottom: -16px; }
.s-space .onb-figure { width: 66%; right: -38px; bottom: -22px; }
.s-calendar .onb-figure { width: 62%; right: -42px; bottom: -16px; }
.s-ai .onb-figure { width: 67%; right: -24px; bottom: -24px; }
.s-mfa .onb-figure { width: 66%; right: 6px; bottom: -22px; }

/* smooth entrance each step - transform only, so content is never trapped invisible */
.onb-scene { animation: onb-scene-in .5s var(--ease-out); }
@keyframes onb-scene-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .onb-step-body { animation: none; } }

/* auth value panel - dashboard hero */
.onb-av-head .onb-av-h { max-width: 360px; }

/* ambient + interactive decorative circles */
.onb-rings { transform: translate(calc(var(--onb-px, 0) * -18px), calc(var(--onb-py, 0) * -14px)); transition: transform .4s ease-out; }
@media (prefers-reduced-motion: no-preference) {
  .lindy-char { animation: lindy-float 5s ease-in-out infinite; }
  .lindy-spark { transform-box: fill-box; transform-origin: center; }
  .spark-a { animation: lindy-twinkle 3s ease-in-out infinite; }
  .spark-b { animation: lindy-twinkle 3s ease-in-out .9s infinite; }
  .onb-rings .r1 { animation: onb-ring-a 26s ease-in-out infinite; }
  .onb-rings .r2 { animation: onb-ring-b 32s ease-in-out infinite; }
  .onb-rings .r3 { animation: onb-ring-b 30s ease-in-out infinite; }
  .onb-rings .r4 { animation: onb-ring-a 36s ease-in-out infinite; }
  .onb-side-bg .r:nth-child(1) { animation: onb-ring-a 28s ease-in-out infinite; }
  .onb-side-bg .r:nth-child(2) { animation: onb-ring-b 34s ease-in-out infinite; }
}
@keyframes lindy-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lindy-twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: .6; } }
@keyframes onb-ring-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(22px, -16px) scale(1.06); } }
@keyframes onb-ring-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-20px, 18px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .onb-scene, .onb-rings { animation: none; transform: none; } }

/* ============================================================
   SUCCESS → processing state
   ============================================================ */
.onb-badge-proc { background: var(--al-blue); box-shadow: 0 0 0 0 rgba(51,92,255,.4); animation: onb-pop .5s var(--ease-out) both, onb-pulse-blue 2.4s .5s ease-out infinite; }
.onb-badge-proc i { animation: none; }
.onb-badge img { width: 50px; height: 50px; object-fit: contain; }
@keyframes onb-pulse-blue { 0% { box-shadow: 0 0 0 0 rgba(51,92,255,.32); } 100% { box-shadow: 0 0 0 24px rgba(51,92,255,0); } }
.onb-proc-card { background: #fff; border: var(--card-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); padding: 16px 18px; margin: 28px auto; max-width: 460px; text-align: left; }
.onb-proc-row { display: flex; align-items: center; gap: 13px; }
.onb-proc-ic { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--al-blue-50); color: var(--al-blue); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.onb-proc-ic i.spin { animation: onb-spin .9s linear infinite; }
.onb-proc-main { flex: 1; min-width: 0; }
.onb-proc-t { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--al-navy); }
.onb-proc-s { font-size: 12.5px; color: var(--al-text-2); margin-top: 2px; }
.onb-proc-pill { flex: none; font-family: var(--font-display); font-size: 11.5px; font-weight: 700; color: var(--al-blue); background: var(--al-blue-50); border-radius: var(--radius-pill); padding: 5px 11px; }
.onb-proc-bar { height: 6px; border-radius: 5px; background: var(--al-line); overflow: hidden; margin-top: 14px; }
.onb-proc-bar span { display: block; height: 100%; width: 38%; border-radius: 5px; background: linear-gradient(90deg, var(--al-blue), var(--al-blue-400)); animation: onb-proc-move 1.8s ease-in-out infinite; }
@keyframes onb-proc-move { 0% { margin-left: -38%; } 100% { margin-left: 100%; } }
.onb-proc-foot { font-size: 12.5px; color: var(--al-text-3); margin: 16px 0 0; }
@media (prefers-reduced-motion: reduce) {
  .onb-badge-proc, .onb-proc-bar span, .onb-proc-ic i.spin { animation: none; }
  .onb-proc-bar span { margin-left: 0; }
}

/* =========================================================
   AUTH - centered card over a dimmed, blurred board (Jira style)
   ========================================================= */
.onb-jira { position: relative; min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; overflow: hidden; background: var(--al-paper); }
/* blurred skeleton board behind the card */
.onb-bg { position: absolute; inset: 0; z-index: 0; filter: blur(1px); opacity: .92; pointer-events: none; user-select: none; }
.onb-bg-top { display: flex; align-items: center; gap: 14px; height: 54px; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--al-line); }
.onb-bg-tl { width: 58px; height: 20px; border-radius: 6px; background: var(--al-line-2); }
.onb-bg-search { flex: 1; max-width: 460px; height: 30px; border-radius: 8px; background: var(--al-line); margin-left: 8px; }
.onb-bg-pill { width: 84px; height: 30px; border-radius: 8px; background: var(--al-blue-200); }
.onb-bg-spacer { flex: 1; }
.onb-bg-dot { width: 22px; height: 22px; border-radius: 6px; background: var(--al-line); }
.onb-bg-avc { width: 24px; height: 24px; border-radius: 50%; background: var(--al-line-2); }
.onb-bg-body { display: flex; align-items: stretch; }
.onb-bg-side { width: 200px; flex: none; padding: 22px 16px; display: flex; flex-direction: column; gap: 13px; border-right: 1px solid var(--al-line); }
.onb-bg-nav { height: 13px; width: 100%; border-radius: 6px; background: var(--al-line-2); }
.onb-bg-nav:nth-child(2n) { width: 78%; }
.onb-bg-nav:nth-child(3n) { width: 88%; }
.onb-bg-nav.on { height: 34px; border-radius: 9px; background: var(--al-blue-100); box-shadow: inset 3px 0 0 var(--al-blue); }
.onb-bg-board { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px; align-content: start; }
.onb-bg-col { background: rgba(255,255,255,.7); border: 1px solid var(--al-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.onb-bg-colh { height: 12px; width: 60%; border-radius: 5px; background: var(--al-line-2); }
.onb-bg-card { position: relative; height: 82px; border-radius: 10px; background: #fff; border: 1px solid var(--al-line); box-shadow: var(--shadow-xs); padding: 11px 11px 0; }
.onb-bg-card .onb-bg-l1 { display: block; height: 8px; width: 82%; border-radius: 4px; background: var(--al-line-2); }
.onb-bg-card .onb-bg-l2 { display: block; height: 8px; width: 55%; border-radius: 4px; background: var(--al-line); margin-top: 8px; }
.onb-bg-chk { position: absolute; left: 11px; bottom: 11px; width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--al-line-2); }
.onb-bg-chev { position: absolute; right: 34px; bottom: 13px; width: 10px; height: 10px; border-radius: 3px; background: var(--al-line); }
.onb-bg-chev.up { background: var(--al-warning); }
.onb-bg-chev.hi { background: var(--al-danger); }
.onb-bg-av { position: absolute; right: 11px; bottom: 10px; width: 17px; height: 17px; border-radius: 50%; background: var(--al-line-2); }
.onb-jira-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(247,249,255,.32), rgba(247,249,255,.58)); }
/* skeleton board as a fixed background for the get-started wizard/terminal steps */
.onb-skelbg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.onb-skelbg .onb-jira-scrim { position: absolute; background: linear-gradient(180deg, rgba(238,243,255,.55), rgba(238,243,255,.72)); }

/* a task Lindy is adding to the board (springs in on a loop) */
.onb-bg-add { border-color: var(--al-blue) !important; box-shadow: 0 0 0 2px var(--al-blue-100), var(--shadow-sm) !important;
  transform-origin: top center; animation: skelAdd 4.5s ease-in-out infinite; }
@keyframes skelAdd { 0% { opacity: 0; transform: translateY(-10px) scale(.95); } 10%,86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px) scale(.95); } }
.onb-bg-add .onb-bg-l1 { background: var(--al-blue-300); }
.onb-bg-add-spark { position: absolute; top: -8px; left: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--al-blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 11px; box-shadow: var(--shadow-sm); }
.onb-bg-newchip { position: absolute; top: 9px; right: 10px; font-family: var(--font-display); font-weight: 800; font-size: 8.5px; letter-spacing: .02em;
  color: #fff; background: var(--al-blue); padding: 2px 6px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { .onb-bg-add { animation: none; } }

/* the card */
.onb-jira-card { position: relative; z-index: 2; width: 100%; max-width: 468px; min-height: 620px; background: #fff; border: 1px solid var(--al-line);
  border-radius: 22px; box-shadow: 0 32px 70px -16px rgba(20,23,87,.34), 0 10px 26px -12px rgba(20,23,87,.22); padding: 38px 40px 30px; text-align: center; }
.onb-jira-logo { justify-content: center; margin-bottom: 18px; }
.onb-jira-h { font-family: var(--font-display); font-size: clamp(26px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; color: var(--al-navy); margin: 0 0 8px; line-height: 1.1; }
.onb-jira-brand { position: relative; display: inline-block; color: var(--al-navy); white-space: nowrap; }
.onb-jira-uline { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .38em; overflow: visible; }
.onb-jira-uline path { fill: none; stroke: #F6B51E; stroke-width: 4; stroke-linecap: round; }
.onb-jira-sub { font-size: 14.5px; line-height: 1.55; color: var(--al-text-2); margin: 0 auto 24px; max-width: 380px; }

.onb-jira-lbl { display: block; text-align: left; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--al-navy); margin-bottom: 7px; }
.onb-jira-row { display: flex; gap: 12px; align-items: flex-end; }
/* bottom-line fields */
.onb-jira-inp { position: relative; flex: 1; display: flex; align-items: center; border: none; border-bottom: 2px solid var(--al-line-2); border-radius: 0; background: none; transition: border-color .15s; }
.onb-jira-inp:focus-within { border-bottom-color: var(--al-blue); box-shadow: none; }
.onb-jira-inp.ok { border-bottom-color: var(--al-success); }
.onb-jira-inp input { flex: 1; border: none; outline: none; background: none; height: 44px; padding: 0 2px; font-family: var(--font-body); font-size: 16px; color: var(--al-navy); }
.onb-jira-inp input::placeholder { color: var(--al-placeholder); }
.onb-jira-check { color: var(--al-success); font-size: 20px; padding-right: 2px; }
.onb-jira-btn { flex: none; height: 46px; padding: 0 22px; border-radius: 10px; }
.onb-jira-help { text-align: left; font-size: 12.5px; color: var(--al-text-3); margin: 9px 0 0; }

.onb-jira-extra { margin-top: 20px; display: flex; flex-direction: column; gap: 7px; }
.onb-jira-extra .onb-jira-lbl { margin-bottom: 0; }
.onb-jira-pwd { width: 100%; height: 44px; padding: 0 2px; border: none; border-bottom: 2px solid var(--al-line-2); border-radius: 0; background: none;
  font-family: var(--font-body); font-size: 16px; color: var(--al-navy); transition: border-color .15s; }
.onb-jira-pwd::placeholder { color: var(--al-placeholder); }
.onb-jira-pwd:focus { outline: none; border-bottom-color: var(--al-blue); box-shadow: none; }
.onb-jira-terms { text-align: left; font-size: 13px; color: var(--al-text-2); margin-top: 10px; }
.onb-jira-err { color: var(--error-base, #C13030); font-size: 13px; margin-top: 10px; text-align: left; }

.onb-jira-or { display: flex; align-items: center; gap: 12px; color: var(--al-text-3); font-size: 13px; font-weight: 600; margin: 22px 0 16px; }
.onb-jira-or::before, .onb-jira-or::after { content: ""; flex: 1; height: 1px; background: var(--al-line); }
.onb-jira-sso { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.onb-sso { display: flex; align-items: center; justify-content: center; gap: 9px; height: 48px; background: #fff; border: 1.5px solid var(--al-line-2);
  border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--al-navy); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.onb-sso:hover { border-color: var(--al-blue); background: var(--al-blue-50); }
.onb-sso:active { transform: translateY(1px); }
.onb-sso i { font-size: 19px; }
.onb-sso .ri-google-fill { color: #EA4335; }
.onb-sso-wide { width: 100%; }

/* verification code input + block primary button */
.onb-jira-code { width: 100%; height: 54px; text-align: center; letter-spacing: .5em; font-family: var(--font-display); font-weight: 800;
  font-size: 22px; color: var(--al-navy); border: 1.5px solid var(--al-line-2); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.onb-jira-code::placeholder { letter-spacing: .3em; color: var(--al-placeholder); font-weight: 600; font-size: 18px; }
.onb-jira-code:focus { outline: none; border-color: var(--al-blue); box-shadow: var(--ring-blue); }
.onb-jira-btn-block { width: 100%; height: 50px; border-radius: 10px; margin-top: 16px; }

.onb-jira-foot { font-size: 14px; color: var(--al-text-2); margin: 24px 0 2px; }
.onb-jira-link { border: none; background: none; cursor: pointer; font: inherit; font-weight: 700; color: var(--al-blue); text-decoration: underline; padding: 0; }

@media (max-width: 560px) {
  .onb-jira-card { padding: 28px 22px 24px; border-radius: 18px; min-height: auto; }
  .onb-jira-row { flex-direction: column; align-items: stretch; }
  .onb-jira-btn { width: 100%; }
  .onb-jira-sso { grid-template-columns: 1fr; }
  .onb-bg-side { display: none; }
  .onb-bg-board { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .onb-sso:active { transform: none; }
}

/* =========================================================
   WIZARD REDESIGN - why notes, motivational quote, trust stats,
   testimonial, integration demo, upgrade step, success animation
   ========================================================= */
.onb-why { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--al-text-3); }
.onb-why i { color: var(--al-blue); font-size: 15px; flex: none; margin-top: 1px; }
/* prominent trust callout (calendar step) - a tinted, bordered box that reads louder than
   the muted fine-print .onb-why, since it carries the privacy + encryption promise. */
.onb-why--trust { margin-top: 20px; padding: 12px 14px; gap: 10px; border-radius: 12px;
  background: var(--al-blue-50, #EEF3FF); border: 1px solid var(--al-blue-200, #C7D6FF);
  font-size: 13px; color: var(--al-navy); font-weight: 500; }
.onb-why--trust i { font-size: 18px; margin-top: 0; color: var(--al-blue); }
.onb-why--trust b { font-weight: 800; }

.onb-quote { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 4px; padding: 14px 16px; border-radius: var(--radius-lg);
  background: var(--al-blue-50); border: 1px solid var(--al-line); font-size: 14px; line-height: 1.5; color: var(--al-text-2); }
.onb-quote i { color: var(--al-blue); font-size: 20px; flex: none; }
.onb-quote b { color: var(--al-navy); }

.onb-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 12.5px; color: var(--al-text-3); }
.onb-trust span { display: inline-flex; align-items: baseline; gap: 5px; }
.onb-trust b { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--al-blue); }

/* rating + testimonial (side panel, step 2) */
.onb-testi { background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 18px; margin-top: 4px; }
.onb-stars { display: flex; align-items: center; gap: 3px; color: #F6B51E; font-size: 16px; }
.onb-stars b { margin-left: 8px; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--al-navy); }
.onb-testi-q { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.45; color: var(--al-navy); margin: 12px 0 0; }
.onb-testi-by { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.onb-testi-av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--al-blue); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 12px; }
.onb-testi-meta { display: flex; flex-direction: column; line-height: 1.25; }
.onb-testi-meta b { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--al-navy); }
.onb-testi-meta em { font-style: normal; font-size: 11.5px; color: var(--al-text-3); }

/* integration connect demo (side panel, step 3) */
.onb-demo { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 6px 2px; }
.onb-demo-row { position: relative; display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); padding: 11px 12px; }
.onb-demo-logo { width: 30px; height: 30px; border-radius: 8px; background: var(--al-paper); display: flex; align-items: center; justify-content: center; flex: none; }
.onb-demo-logo img { width: 18px; height: 18px; object-fit: contain; }
.onb-demo-nm { flex: 1; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--al-navy); }
.onb-demo-btn { position: relative; min-width: 96px; height: 30px; }
.onb-demo-connect { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid var(--al-line-2); font-family: var(--font-display); font-weight: 700; font-size: 12.5px; color: var(--al-navy); }
.onb-demo-done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 999px; background: var(--al-success); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12.5px; opacity: 0; animation: onbDone 7s ease-in-out var(--cd, 0s) infinite; }
@keyframes onbDone { 0% { opacity: 0; transform: scale(.85); } 8% { opacity: 1; transform: scale(1); } 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
.onb-demo-cursor { position: absolute; right: 14px; top: 8%; width: 22px; height: 22px; pointer-events: none; animation: onbDemoCursor 7s ease-in-out infinite; }
.onb-demo-cursor svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
@keyframes onbDemoCursor { 0%,4% { top: 6%; } 12%,18% { top: 20%; } 30%,36% { top: 42%; } 48%,54% { top: 64%; } 66%,96% { top: 84%; } }
.onb-demo-dood { position: absolute; z-index: 2; pointer-events: none; fill: var(--al-blue-300); stroke: var(--al-blue-300); }
.onb-demo-dood.d1 { top: -6px; right: 6px; width: 22px; height: 22px; }
.onb-demo-dood.d2 { bottom: -10px; left: -4px; width: 40px; height: 26px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* upgrade step (step 4) */
/* prominent filled promo badge - the discount is the hook, so it pops */
.onb-upg-promo { display: inline-flex; align-items: center; gap: 11px; background: linear-gradient(135deg, #335CFF, #2547D0); border: none; border-radius: 14px;
  padding: 13px 20px; font-size: 15.5px; color: #fff; box-shadow: 0 14px 30px -12px rgba(51,92,255,.6); }
.onb-upg-promo i { color: #FFCE4D; font-size: 22px; }
.onb-upg-promo b { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
@media (prefers-reduced-motion: no-preference) { .onb-upg-promo { animation: onbUpgPulse 2.6s ease-in-out infinite; } }
@keyframes onbUpgPulse { 0%, 100% { box-shadow: 0 14px 30px -12px rgba(51,92,255,.6); } 50% { box-shadow: 0 14px 34px -10px rgba(51,92,255,.78); } }
.onb-upg-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.onb-upg-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; color: var(--al-text-2); }
.onb-upg-list li i { color: var(--al-success); font-size: 20px; flex: none; }
.onb-upg-list li b { color: var(--al-navy); }
.onb-upg-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.onb-upg-cta .onb-btn { flex: 1; min-width: 180px; justify-content: center; }

/* success dashboard animation */
.onb-fin { position: relative; width: 100%; max-width: 420px; height: 210px; margin: 22px auto 4px; }
.onb-fin-view { position: absolute; inset: 0; background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 18px; overflow: hidden; }
.onb-fin-over { animation: onbFinOver 7s ease-in-out infinite; }
.onb-fin-greet { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.onb-fin-greet span { height: 10px; border-radius: 5px; background: var(--al-line-2); }
.onb-fin-greet span:first-child { width: 55%; } .onb-fin-greet span:last-child { width: 78%; background: var(--al-line); }
.onb-fin-mets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.onb-fin-met { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: var(--radius-md); background: var(--al-paper); border: 1px solid var(--al-line); font-size: 11px; color: var(--al-text-3); font-weight: 600; }
.onb-fin-met b { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--al-navy); }
.onb-fin-met.od { border-color: var(--al-danger); background: #FFF3F3; }
.onb-fin-met.od b { color: var(--al-danger); }
.onb-fin-board { opacity: 0; animation: onbFinBoard 7s ease-in-out infinite; }
.onb-fin-col { background: var(--al-paper); border: 1px solid var(--al-line); border-radius: var(--radius-md); padding: 12px; }
.onb-fin-colh { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 800; font-size: 12px; color: var(--al-navy); margin-bottom: 12px; }
.onb-fin-colh .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--al-danger); }
.onb-fin-colh .n { margin-left: auto; color: var(--al-text-3); }
.onb-fin-task { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--al-line); border-radius: 10px; box-shadow: var(--shadow-xs); padding: 12px; }
.onb-fin-chk { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--al-line-2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; flex: none; }
.onb-fin-chk i { opacity: 0; }
.onb-fin-task .onb-fin-chk { animation: onbFinChkBox 7s ease-in-out infinite; }
.onb-fin-task .onb-fin-chk i { animation: onbFinChk 7s ease-in-out infinite; }
.onb-fin-tt { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--al-navy); animation: onbFinStrike 7s ease-in-out infinite; }
.onb-fin-cursor { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 3; animation: onbFinCursor 7s ease-in-out infinite; }
.onb-fin-cursor svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.onb-fin-pop { position: absolute; top: 40%; left: 50%; width: 30px; height: 30px; fill: var(--al-blue); opacity: 0; z-index: 3; animation: onbFinPop 7s ease-in-out infinite; }
@keyframes onbFinOver { 0%,38% { opacity: 1; } 46%,100% { opacity: 0; } }
@keyframes onbFinBoard { 0%,40% { opacity: 0; } 48%,94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes onbFinChkBox { 0%,62% { background: transparent; border-color: var(--al-line-2); } 66%,100% { background: var(--al-success); border-color: var(--al-success); } }
@keyframes onbFinChk { 0%,62% { opacity: 0; } 66%,100% { opacity: 1; } }
@keyframes onbFinStrike { 0%,64% { color: var(--al-navy); text-decoration: none; } 68%,100% { color: var(--al-text-3); text-decoration: line-through; } }
@keyframes onbFinCursor { 0% { left: 62%; top: 34%; } 20% { left: 55%; top: 30%; } 30% { left: 54%; top: 29%; } 46% { left: 40%; top: 60%; } 62% { left: 20%; top: 66%; } 66% { left: 19%; top: 65%; } 80%,100% { left: 24%; top: 66%; } }
@keyframes onbFinPop { 0%,64% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.1); } 84%,100% { opacity: 0; transform: scale(1.3); } }

@media (max-width: 920px) {
  .onb-demo, .onb-testi { max-width: 380px; margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .onb-demo-done { animation: none; opacity: 1; }
  .onb-demo-cursor, .onb-fin-cursor, .onb-fin-pop { display: none; }
  .onb-fin-over { display: none; }
  .onb-fin-board { animation: none; opacity: 1; }
  .onb-fin-task .onb-fin-chk { animation: none; background: var(--al-success); border-color: var(--al-success); }
  .onb-fin-task .onb-fin-chk i { animation: none; opacity: 1; }
  .onb-fin-tt { animation: none; color: var(--al-text-3); text-decoration: line-through; }
}

/* Slack-style segmented progress bar */
.onb-segs { display: flex; gap: 6px; flex: 1; }
.onb-seg { flex: 0 0 auto; width: 30px; height: 6px; border-radius: 999px; background: var(--al-line); transition: background .3s var(--ease-out); }
.onb-seg.on { background: var(--al-blue); }

/* trust element pinned to the bottom of a step's left column */
.onb-step-foot { margin-top: auto; padding-top: 22px; }
.onb-testi.onb-testi-inline { max-width: 460px; padding: 14px 16px; background: var(--al-paper); border-color: var(--al-line); box-shadow: var(--shadow-xs); }
.onb-testi-inline .onb-stars { font-size: 14px; }
.onb-testi-inline .onb-stars b { font-size: 13px; }
.onb-testi-inline .onb-testi-q { font-size: 13.5px; margin-top: 8px; }
.onb-testi-inline .onb-testi-by { margin-top: 10px; }

/* ONE unified modal surface - no white/gradient split, no divider */
/* Constant modal dimensions: every wizard step renders in the same fixed-size
   card so nothing jumps between steps. (The terminal "You're in" modal opts out
   via .onb-card-compact, defined later in this file.) */
.onb-card { height: 744px; min-height: 744px; }
.onb-card-grid { height: 744px; min-height: 744px; }
.onb-card-solo { height: 744px; min-height: 744px; }
.onb-card .onb-card-side { background: none; border-left: none; }

/* single name field with a live remaining-character counter */
.onb-name-wrap { position: relative; display: flex; align-items: center; }
.onb-name-wrap .onb-inp { flex: 1; padding-right: 34px; }
.onb-name-count { position: absolute; right: 2px; bottom: 12px; font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--al-text-3); }

/* profile side panel: testimonial (top), dashboard in the bottom-right corner,
   a soft glow behind it and hand-drawn doodles nearby */
.onb-card-side { position: relative; }
.onb-scene.s-profile { padding: 0; }
.onb-profile-testi { position: absolute; top: 44px; left: 34px; right: 46px; z-index: 2; max-width: 340px; }
.onb-profile-testi .onb-testi { box-shadow: var(--shadow-md); }
.onb-dashfloat { position: absolute; right: -30px; bottom: -26px; transform: scale(.95); transform-origin: bottom right;
  width: 356px; z-index: 3; border-radius: 18px; overflow: hidden;
  box-shadow: 0 44px 84px -26px rgba(20,23,87,.44), 0 14px 30px -14px rgba(20,23,87,.24); }
.onb-dashfloat .od { width: 100%; }
.onb-dash-glow { position: absolute; right: -70px; bottom: -80px; width: 460px; height: 460px; border-radius: 50%;
  z-index: 1; pointer-events: none; background: radial-gradient(circle at 55% 55%, rgba(51,92,255,.38), rgba(59,99,246,.14) 42%, rgba(51,92,255,0) 68%); }
/* step-1 CTA sits directly under the content, left-aligned (Slack-style) -
   don't let the name field stretch and push it to the bottom */
.onb-body.onb-body-tight { flex: none; }
.onb-body-cta { margin-top: 26px; }

/* two static hand-drawn doodles near the dashboard - one medium, one small */
.onb-dood { position: absolute; z-index: 2; pointer-events: none; fill: var(--al-blue-300); }
.onb-dood.dd-spark { width: 34px; height: 34px; right: 44%; bottom: 42%; fill: var(--al-blue-400); }
.onb-dood.dd-star2 { width: 18px; height: 18px; right: 24%; top: 34%; fill: var(--al-blue-200); }
@media (max-width: 920px) { .onb-dashfloat, .onb-dash-glow, .onb-profile-testi, .onb-dood { display: none; } }

/* ============================================================
   STEP 1 - static, unified auth/verify/wizard background
   Freezes every ambient animation and keeps the header clean.
   ============================================================ */
.onb-static::before, .onb-static::after { animation: none !important; }
.onb-static .onb-bg-add { animation: none !important; }
/* Freeze any decorative ring drift on the static auth screens (sign in / sign up / verify). */
.onb-static .onb-rings .r, .onb-static .onb-side-bg .r { animation: none !important; }
.onb-static .onb-bg, .onb-static .onb-skelbg { transform: none !important; }
/* clean header: fade the skeleton board out under the top bar so nothing
   looks like a broken skeleton directly beneath the logo */
.onb-static .onb-bg { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 92px); mask-image: linear-gradient(180deg, transparent 0, #000 92px); }
/* unify the auth/verify scrim with the wizard's calmer tone */
.onb-static .onb-jira-scrim { background: linear-gradient(180deg, rgba(238,243,255,.5), rgba(238,243,255,.72)); }

/* yellow testimonial inside the auth card (reuses StarsTestimonial, recoloured
   to the platform amber so it reads as a distinct trust moment) */
.onb-testi--yellow { --tc: #F6B51E; background: linear-gradient(180deg, #FFFDF6, #FFF8E8); border-color: #F6D77E; }
.onb-testi--yellow .onb-testi-av { background: #F6B51E; color: #4A3A08; }
/* blue testimonial (step 1) - recoloured to the platform blue so the card reads as a
   confident trust moment; all text goes light for contrast on the blue field. */
.onb-testi--blue { background: linear-gradient(155deg, var(--al-blue), var(--al-navy)); border-color: transparent; box-shadow: 0 12px 30px rgba(11,70,150,.28); }
.onb-testi--blue .onb-stars { color: #FFD86B; }
.onb-testi--blue .onb-stars b { color: #fff; }
.onb-testi--blue .onb-testi-q { color: #fff; }
.onb-testi--blue .onb-testi-meta b { color: #fff; }
.onb-testi--blue .onb-testi-meta em { color: rgba(255,255,255,.78); }
.onb-testi--blue .onb-testi-av { background: rgba(255,255,255,.18); color: #fff; }
/* desktop: float beside the card, filling the empty space to its right */
.onb-testi-auth { position: absolute; z-index: 3; top: 50%; left: calc(50% + 258px); transform: translateY(-50%);
  width: 300px; text-align: left; box-shadow: 0 18px 40px -20px rgba(120,90,10,.5); }
.onb-testi-auth .onb-testi-q { font-size: 14px; }
@media (max-width: 1180px) {
  /* not enough room to float it - tuck it back beneath the card in flow */
  .onb-jira { flex-direction: column; gap: 20px; }
  .onb-testi-auth { position: static; transform: none; left: auto; width: 100%; max-width: 468px; }
}
@media (max-width: 560px) {
  /* the board is hidden here, so the testimonial fills the empty space and
     the primary CTAs span the full width */
  .onb-jira-btn, .onb-sso-wide { width: 100%; }
}

/* ============================================================
   STEP 2 - live workspace preview + doodles
   ============================================================ */
/* shared doodle glyphs (recoloured per placement) */
.onb-dl { position: absolute; z-index: 4; pointer-events: none; color: var(--al-blue-300); width: 30px; height: 30px; }
.onb-scene-wsp { padding: 0; overflow: hidden; }
/* Tucked inward + down off the rounded panel corner so overflow:hidden (this scene +
   .onb-card-side) no longer clips them. */
.onb-scene-wsp .dood-a { color: var(--al-blue-400); width: 44px; height: 44px; top: 70px; left: 62px; transform: rotate(-8deg); }
.onb-scene-wsp .dood-b { color: var(--al-blue-200); width: 36px; height: 36px; top: 104px; right: 64px; }
.onb-scene-wsp .dood-c { color: #F6B51E; width: 26px; height: 26px; bottom: 64px; left: 60px; }
.onb-wsp-glow { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 440px; height: 440px; border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 55% 50%, rgba(51,92,255,.32), rgba(59,99,246,.12) 44%, rgba(51,92,255,0) 68%); }
.onb-wsp-float { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 372px; z-index: 3; border-radius: 16px; overflow: hidden;
  box-shadow: 0 44px 84px -26px rgba(20,23,87,.42), 0 14px 30px -14px rgba(20,23,87,.22); }

/* the mini app itself */
.onb-wsp { display: flex; background: #fff; border: 1px solid var(--al-line); border-radius: 16px; overflow: hidden; min-height: 300px; }
.onb-wsp-rail { width: 46px; flex: none; background: #0F1E5A; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 0; }
.onb-wsp-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--al-blue); display: flex; align-items: center; justify-content: center; }
.onb-wsp-mark img { width: 16px; height: 16px; }
.onb-wsp-rail-i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.16); }
.onb-wsp-rail-i.on { background: var(--al-blue); }
.onb-wsp-side { width: 132px; flex: none; background: #F4F6FD; border-right: 1px solid var(--al-line); padding: 12px 10px; }
/* the LIVE workspace-name header - highlighted like Slack's dynamic preview */
.onb-wsp-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 9px; background: #fff;
  box-shadow: 0 0 0 2px var(--al-blue-200), var(--shadow-xs); }
.onb-wsp-badge { width: 22px; height: 22px; border-radius: 6px; flex: none; background: var(--al-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 12px; }
.onb-wsp-name { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--al-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onb-wsp-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; }
.onb-wsp-nav-i { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; font-family: var(--font-display); font-size: 11.5px; font-weight: 600; color: var(--al-text-2); }
.onb-wsp-nav-i.on { background: var(--al-blue-50); color: var(--al-blue); }
.onb-wsp-nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--al-line-2); flex: none; }
.onb-wsp-nav-i.on .onb-wsp-nav-dot { background: var(--al-blue); }
.onb-wsp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.onb-wsp-topbar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--al-line); }
.onb-wsp-crumb { font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--al-navy); max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onb-wsp-sp { flex: 1; }
.onb-wsp-tb { width: 44px; height: 18px; border-radius: 6px; background: var(--al-blue-50); flex: none; }
.onb-wsp-av { width: 20px; height: 20px; border-radius: 50%; background: var(--al-navy); flex: none; }
.onb-wsp-hero { margin: 12px; border-radius: 12px; padding: 11px 13px 12px; color: #fff; background: linear-gradient(135deg, #0B1E66, #1F3BAD 55%, #335CFF); }
.onb-wsp-hero-ey { font-family: var(--font-display); font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onb-wsp-hero-t { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: #fff; margin-top: 3px; }
.onb-wsp-mets { display: flex; gap: 6px; margin-top: 9px; }
.onb-wsp-met { flex: 1; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 5px 7px; font-size: 8.5px; line-height: 1.1; color: rgba(255,255,255,.78); display: flex; flex-direction: column; gap: 1px; white-space: nowrap; }
.onb-wsp-met b { font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 1.05; color: #fff; }
.onb-wsp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 12px; }
.onb-wsp-card { position: relative; border: 1px solid var(--al-line); border-radius: 10px; padding: 11px; }
.onb-wsp-l { display: block; height: 7px; border-radius: 4px; background: var(--al-line-2); }
.onb-wsp-l.a { width: 78%; } .onb-wsp-l.b { width: 52%; background: var(--al-line); margin-top: 7px; }
.onb-wsp-chip { position: absolute; right: 10px; bottom: 10px; width: 22px; height: 22px; border-radius: 6px; background: var(--al-blue-50); }
@media (prefers-reduced-motion: no-preference) { .onb-wsp-float { animation: lindy-float 6s ease-in-out infinite; } }
@media (max-width: 920px) { .onb-scene-wsp .onb-dl, .onb-wsp-glow { display: none; } }

/* Once the side panel drops away (single column) EVERY wizard CTA owns the full
   width and stacks - profile/space, calendar/notes nav, and the upgrade pair.
   Breakpoint matches the single-column switch (920px), not just phones. */
@media (max-width: 920px) {
  .onb-cta-mobile { width: 100%; }
  .onb-body-cta { margin-top: 20px; }
  .onb-body-cta .onb-btn { width: 100%; }
  .onb-nav { margin-top: 20px; }
  .onb-nav-btns { width: 100%; flex-direction: column-reverse; }
  .onb-nav-btns .onb-btn { width: 100%; padding: 14px 18px; }
  .onb-upg-cta { flex-direction: column; gap: 10px; margin-top: 20px; }
  .onb-upg-cta .onb-btn { width: 100%; min-width: 0; }
}

/* restructured upgrade feature list: check + bold title + muted subline */
.onb-upg-li-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.onb-upg-li-txt b { color: var(--al-navy); font-size: 15px; line-height: 1.3; }
.onb-upg-li-txt em { font-style: normal; font-size: 13px; color: var(--al-text-3); line-height: 1.35; }

/* step-1 (profile) testimonial: side panel only on desktop, so surface it inline
   on mobile where the panel is hidden */
.onb-mobile-testi { display: none; margin-top: 22px; text-align: left; }
@media (max-width: 920px) { .onb-mobile-testi { display: block; } }

/* provider connect cards breathe on mobile (calendar step) - smaller type + a
   compact button so the suite name/desc aren't cramped against the CTA */
@media (max-width: 920px) {
  .onb-provs-card .onb-prov { gap: 11px; padding: 12px 14px; min-height: 0; }
  .onb-prov-logo { width: 38px; height: 38px; }
  .onb-prov-name { font-size: 14px; }
  .onb-prov-desc { font-size: 12px; margin-top: 2px; }
  .onb-prov-btn { min-width: 82px; padding: 8px 12px; font-size: 12.5px; }
}

/* ============================================================
   STEP 3 - integration feed graph (apps → Lindy)
   ============================================================ */
.onb-scene-feed { padding: 0; overflow: hidden; }
/* bounded, near-square stage centred in the (tall) side panel - keeps the spokes
   short and balanced instead of long, steep verticals */
.onb-feed { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(80%, 360px); height: 336px; }
/* dotted circuit backdrop (Atlassian-style map) */
.onb-feed-grid { position: absolute; inset: -18px; z-index: 0; pointer-events: none; border-radius: 20px;
  background-image: radial-gradient(rgba(51,92,255,.16) 1.4px, transparent 1.5px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 92%); mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 92%); }
.onb-feed-edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.onb-feed-edge { fill: none; stroke: var(--al-line); stroke-width: 2.5; stroke-linecap: round; }
/* Coloured dashed wire per app whose dashes MARCH toward the hub (data flowing app -> Lindy),
   with a soft static glow underneath for depth. Seamless loop: offset -26 = 2x the (7+6) period.
   A small per-colour stagger keeps the four wires from marching in lockstep. */
.onb-feed-flow { fill: none; stroke-width: 3; stroke-dasharray: 12 9; stroke-linecap: round; animation: onbFeedFlow 1.1s linear infinite; }
.onb-feed-flow-glow { stroke-width: 8; opacity: .14; filter: blur(1px); }
.onb-feed-flow.f-blue { stroke: #2D8CFF; } .onb-feed-flow.f-green { stroke: #1F8A5B; } .onb-feed-flow.f-purple { stroke: #7D52F4; } .onb-feed-flow.f-red { stroke: #E8543E; }
.onb-feed-flow.f-green { animation-delay: -.22s; } .onb-feed-flow.f-purple { animation-delay: -.44s; } .onb-feed-flow.f-red { animation-delay: -.66s; }
@keyframes onbFeedFlow { to { stroke-dashoffset: -42; } }
/* Hub pulse rings stay hidden - only the wires move. */
.onb-feed-ring { display: none; }

/* app nodes (scattered around the hub) - clean white tiles with a soft shadow + label below */
.onb-feed-node { position: absolute; transform: translate(-50%, -50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; }
/* top-row tiles put the label ABOVE so the downward wire doesn't cross the text */
.onb-feed-node.f-top { flex-direction: column-reverse; }
.onb-feed-app { position: relative; width: 52px; height: 52px; border-radius: 15px; background: #fff; border: 1px solid var(--al-line); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(20,23,87,.32), 0 4px 10px -4px rgba(20,23,87,.18); }
.onb-feed-app img { width: 30px; height: 30px; object-fit: contain; }
/* green "connected" check, top-right of each tile */
.onb-feed-check { position: absolute; top: -6px; right: -6px; width: 19px; height: 19px; border-radius: 50%; background: var(--al-success, #1F8A5B); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(31,138,91,.4); }
.onb-feed-node.f-blue .onb-feed-app { box-shadow: 0 14px 30px -12px rgba(45,140,255,.42), 0 0 0 3px rgba(45,140,255,.12); }
.onb-feed-node.f-green .onb-feed-app { box-shadow: 0 14px 30px -12px rgba(31,138,91,.4), 0 0 0 3px rgba(31,138,91,.12); }
.onb-feed-node.f-purple .onb-feed-app { box-shadow: 0 14px 30px -12px rgba(125,82,244,.42), 0 0 0 3px rgba(125,82,244,.12); }
.onb-feed-node.f-red .onb-feed-app { box-shadow: 0 14px 30px -12px rgba(232,84,62,.42), 0 0 0 3px rgba(232,84,62,.12); }
.onb-feed-nm { font-family: var(--font-display); font-weight: 700; font-size: 11.5px; color: var(--al-text-2); white-space: nowrap; }
/* tiles are static (float animation removed) */

/* Lindy hub (centre) */
.onb-feed-hub { position: absolute; transform: translate(-50%, -50%); z-index: 3; display: flex; flex-direction: column; align-items: center; }
.onb-feed-hub-av { width: 78px; height: 78px; border-radius: 50%; background: linear-gradient(160deg, #4b90ff, #335CFF); display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff; box-shadow: 0 0 0 5px rgba(51,92,255,.16), 0 18px 40px -14px rgba(51,92,255,.6); }
.onb-feed-hub-av img { width: 42px; height: 42px; }
.onb-feed-lock { margin-top: -12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--al-navy);
  font-family: var(--font-display); font-weight: 800; font-size: 12px; border-radius: 20px; padding: 4px 11px 4px 8px; box-shadow: var(--shadow-md); }
.onb-feed-lock img { height: 15px; }

@media (prefers-reduced-motion: reduce) { .onb-feed-flow { animation: none; } .onb-feed-flow-glow { display: none; } }
/* The side panel is hidden on mobile, so the calendar step surfaces a compact copy of the
   integration map beneath its form (see .onb-mobile-feed). Keep the panel scene desktop-only. */
@media (max-width: 920px) { .onb-scene-feed { display: none; } }
.onb-mobile-feed { display: none; }
@media (max-width: 920px) {
  .onb-mobile-feed { display: block; position: relative; height: 300px; margin: 18px auto 4px; max-width: 360px; }
  .onb-mobile-feed .onb-feed { width: 100%; height: 100%; }
  .onb-mobile-feed .onb-feed-app { width: 46px; height: 46px; border-radius: 13px; }
  .onb-mobile-feed .onb-feed-app img { width: 26px; height: 26px; }
  .onb-mobile-feed .onb-feed-hub-av { width: 64px; height: 64px; }
  .onb-mobile-feed .onb-feed-hub-av img { width: 34px; height: 34px; }
}

/* ============================================================
   STEP 5 - upgrade overflow animation (meter + Lindy task board)
   ============================================================ */
.onb-scene-ovf { padding: 34px 30px; }
.onb-ovf { position: relative; z-index: 1; width: 100%; max-width: 360px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
/* the meter card */
.onb-ovf-meter { background: #fff; border: 1px solid var(--al-line); border-radius: 16px; box-shadow: 0 20px 44px -20px rgba(20,23,87,.34); padding: 16px 18px; }
.onb-ovf-meter-head { display: flex; align-items: baseline; justify-content: space-between; }
.onb-ovf-meter-lbl { font-family: var(--font-display); font-weight: 800; font-size: 13.5px; color: var(--al-navy); }
.onb-ovf-count { font-family: var(--font-display); font-weight: 900; font-size: 30px; letter-spacing: -.03em; line-height: 1; transition: color .3s; }
.onb-ovf.tone-ok .onb-ovf-count { color: var(--al-success); }
.onb-ovf.tone-warn .onb-ovf-count { color: #E8890C; }
.onb-ovf.tone-over .onb-ovf-count { color: var(--al-danger); }
.onb-ovf-track { position: relative; height: 12px; border-radius: 999px; background: var(--al-paper); border: 1px solid var(--al-line); margin: 12px 0 0; overflow: visible; }
.onb-ovf-fill { height: 100%; border-radius: 999px; transition: width .12s linear, background .3s; }
.onb-ovf.tone-ok .onb-ovf-fill { background: linear-gradient(90deg, #1FC16B, #1F8A5B); }
.onb-ovf.tone-warn .onb-ovf-fill { background: linear-gradient(90deg, #1F8A5B, #F5A623); }
.onb-ovf.tone-over .onb-ovf-fill { background: linear-gradient(90deg, #F5A623 30%, #FB3748); }
.onb-ovf-cap { position: absolute; top: -4px; transform: translateX(-50%); font-family: var(--font-display); font-weight: 700; font-size: 9.5px; color: var(--al-text-3); white-space: nowrap; }
.onb-ovf-cap i { position: absolute; left: 50%; top: 16px; width: 2px; height: 16px; background: var(--al-line-2); border-radius: 2px; }
.onb-ovf-cap { top: -20px; }
.onb-ovf-meter-foot { font-family: var(--font-display); font-weight: 700; font-size: 11.5px; margin-top: 16px; transition: color .3s; }
.onb-ovf.tone-ok .onb-ovf-meter-foot { color: var(--al-success); }
.onb-ovf.tone-warn .onb-ovf-meter-foot { color: #E8890C; }
.onb-ovf.tone-over .onb-ovf-meter-foot { color: var(--al-danger); }
/* the board filling with Lindy-drafted tasks */
.onb-ovf-board { display: flex; flex-direction: column; gap: 8px; }
.onb-ovf-task { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--al-line); border-radius: 11px;
  box-shadow: 0 10px 24px -14px rgba(20,23,87,.3); padding: 10px 12px;
  opacity: 0; transform: translateY(-8px) scale(.97); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.onb-ovf-task.show { opacity: 1; transform: none; }
.onb-ovf-check { width: 22px; height: 22px; border-radius: 6px; flex: none; background: var(--al-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.onb-ovf-tt { flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 700; font-size: 12.5px; color: var(--al-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onb-ovf-badge { flex: none; display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-weight: 800; font-size: 10px;
  color: var(--al-blue); background: var(--al-blue-50); border: 1px solid var(--al-blue-200); border-radius: 999px; padding: 3px 8px; }
.onb-ovf-badge i { font-size: 11px; }
.onb-ovf .onb-dl.ovf-d2 { color: #F6B51E; width: 24px; height: 24px; bottom: 6px; left: 6px; }
@media (max-width: 920px) { .onb-scene-ovf { display: none; } }

/* ============================================================
   TERMINAL - compact "You're in" modal (no scroll, tight spacing)
   ============================================================ */
.onb-wiz-terminal { align-items: center; min-height: calc(100vh - 72px); padding: 24px; }
.onb-card-compact { height: auto; min-height: 0; max-width: 460px; }
.onb-card-compact .onb-card-solo { height: auto; min-height: 0; overflow: visible; padding: 40px 40px 36px; }
.onb-success-compact { padding: 0; max-width: 100%; }
.onb-success-compact .onb-badge { width: 76px; height: 76px; margin-bottom: 18px; }
.onb-success-compact .onb-success-h { font-size: clamp(26px, 3.4vw, 34px); }
.onb-success-compact .onb-success-sub { font-size: 15px; margin-top: 12px; max-width: 380px; }
.onb-success-compact .onb-proc-card { margin: 20px auto; }
.onb-success-compact .onb-btn-lg { margin-top: 2px; }
