/* ── Component: OnboardingFRE first-run experience ──
 * Class prefix: onb-
 */

/* ══════════════════════════════════════
   ONBOARDING FRE — Desktop
   All classes prefixed with .onb- to avoid conflicts
══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── OVERLAY ── */
.onb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--onb-bg, #07070c);
  font-family: 'DM Sans', sans-serif;
  color: var(--onb-text, #ededff);
  overflow: hidden;
}

/* Noise texture */
.onb-overlay::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9001;
  opacity: 0.4;
}

/* ── CSS VARS (scoped) ── */
.onb-overlay {
  --onb-bg: #07070c;
  --onb-surface: #0e0e18;
  --onb-surface2: #14141f;
  --onb-surface3: #1a1a2a;
  --onb-border: rgba(255,255,255,0.06);
  --onb-border2: rgba(255,255,255,0.1);
  --onb-text: #ededff;
  --onb-muted: rgba(237,237,255,0.4);
  --onb-muted2: rgba(237,237,255,0.6);
  --onb-accent: #a78bfa;
  --onb-accent2: #f472b6;
  --onb-accent3: #34d399;
  --onb-accent4: #fbbf24;
  --onb-flo: #a855f7;
  --onb-dev: #38bdf8;
  --onb-buzz: #f472b6;
  --onb-pixel: #a3e635;
  --onb-chacha: #34d399;
  --onb-crypto: #fbbf24;
  --onb-ops: #fb923c;
  --onb-clause: #94a3b8;
}

/* ══════════════════════════════════════
   LAYOUT SHELL
══════════════════════════════════════ */
.onb-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: 1fr;
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

/* ── LEFT SIDEBAR ── */
.onb-sidebar {
  background: var(--onb-surface);
  border-right: 1px solid var(--onb-border);
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.onb-sidebar::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: var(--onb-accent);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.06;
  bottom: -60px;
  left: -60px;
  pointer-events: none;
}

.onb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 52px;
}

.onb-logo-mark {
  width: 36px; height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--onb-accent) 0%, var(--onb-accent2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(167,139,250,0.3);
  flex-shrink: 0;
}

.onb-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Step list */
.onb-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.onb-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.onb-step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 44px;
  width: 1px;
  height: calc(100% - 12px);
  background: var(--onb-border);
}

.onb-step-num {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s;
  border: 1px solid var(--onb-border);
  background: var(--onb-surface2);
  color: var(--onb-muted);
  position: relative;
  z-index: 1;
}

.onb-step-item.active .onb-step-num {
  background: var(--onb-accent);
  border-color: var(--onb-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(167,139,250,0.4);
}

.onb-step-item.done .onb-step-num {
  background: rgba(52,211,153,0.15);
  border-color: rgba(52,211,153,0.3);
  color: var(--onb-accent3);
}

.onb-step-text { flex: 1; }

.onb-step-label {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--onb-muted);
  transition: color 0.2s;
  margin-bottom: 2px;
}

.onb-step-item.active .onb-step-label { color: var(--onb-text); }
.onb-step-item.done .onb-step-label { color: var(--onb-muted2); }

.onb-step-desc {
  font-size: 11px;
  color: rgba(237,237,255,0.25);
  line-height: 1.4;
  transition: color 0.2s;
}

.onb-step-item.active .onb-step-desc { color: var(--onb-muted); }

/* Sidebar footer */
.onb-sidebar-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--onb-border);
}

.onb-progress-bar-wrap {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.onb-progress-label {
  font-size: 11px;
  color: var(--onb-muted);
  font-weight: 500;
}

.onb-progress-pct {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--onb-accent);
}

.onb-progress-track {
  height: 4px;
  background: var(--onb-surface3);
  border-radius: 2px;
  overflow: hidden;
}

.onb-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--onb-accent), var(--onb-accent2));
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── MAIN CONTENT AREA ── */
.onb-main {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Ambient background */
.onb-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

/* Slide container */
.onb-slides-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.onb-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 72px;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow-y: auto;
}

.onb-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.onb-slide.exit {
  opacity: 0;
  transform: translateX(-40px);
}

/* ── BOTTOM NAV BAR ── */
.onb-bottom-bar {
  border-top: 1px solid var(--onb-border);
  padding: 20px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--onb-bg, #07070c);
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.onb-btn-back {
  height: 44px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid var(--onb-border2);
  background: transparent;
  color: var(--onb-muted2);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.onb-btn-back:hover { border-color: rgba(255,255,255,0.15); color: var(--onb-text); }
.onb-btn-back:disabled { opacity: 0.3; cursor: default; }

.onb-btn-skip {
  font-size: 13px;
  color: var(--onb-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
  padding: 4px 8px;
}
.onb-btn-skip:hover { color: var(--onb-text); }

.onb-btn-primary {
  height: 44px;
  padding: 0 32px;
  border-radius: 12px;
  border: none;
  background: var(--onb-accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.onb-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
}
.onb-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(167,139,250,0.4);
}

.onb-btn-cta {
  height: 52px;
  padding: 0 40px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--onb-accent) 0%, var(--onb-accent2) 100%);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 32px rgba(167,139,250,0.3);
}
.onb-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(167,139,250,0.5);
}

/* ══════════════════════════════════════
   SLIDE CONTENT STYLES
══════════════════════════════════════ */

/* ── Shared type ── */
.onb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.onb-h1 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.onb-h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.onb-subtitle {
  font-size: 16px;
  color: var(--onb-muted2);
  line-height: 1.7;
  max-width: 520px;
  font-weight: 300;
  margin-bottom: 40px;
}

.onb-grad-text {
  background: linear-gradient(135deg, var(--onb-accent) 0%, var(--onb-accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SLIDE 0 — HERO ── */
.onb-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.onb-hero-stat-row {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.onb-hero-stat {
  padding: 16px 20px;
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 14px;
  flex: 1;
}

.onb-hero-stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
}

.onb-hero-stat-lbl {
  font-size: 12px;
  color: var(--onb-muted);
  display: block;
}

.onb-hero-right {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbital system */
.onb-orb-system {
  position: relative;
  width: 280px;
  height: 280px;
}

.onb-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: onb-spin linear infinite;
}
.onb-orb-ring-1 { width: 280px; height: 280px; border-color: rgba(167,139,250,0.12); animation-duration: 25s; }
.onb-orb-ring-2 { width: 200px; height: 200px; border-color: rgba(244,114,182,0.15); animation-duration: 18s; animation-direction: reverse; }
.onb-orb-ring-3 { width: 120px; height: 120px; border-color: rgba(52,211,153,0.2); animation-duration: 11s; }

@keyframes onb-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.onb-orb-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--onb-accent) 0%, var(--onb-accent2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 0 60px rgba(167,139,250,0.5);
  animation: onb-orbpulse 3s ease-in-out infinite;
  z-index: 2;
}

@keyframes onb-orbpulse {
  0%, 100% { box-shadow: 0 0 30px rgba(167,139,250,0.4); }
  50% { box-shadow: 0 0 80px rgba(167,139,250,0.7); }
}

.onb-sat-wrap {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: onb-spin linear infinite;
}

.onb-sat-dot {
  border-radius: 50%;
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
}

/* Floating mini cards around orbit */
.onb-mini-float {
  position: absolute;
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border2);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: onb-float 4s ease-in-out infinite;
  white-space: nowrap;
}
.onb-mf-1 { top: 20px; right: -20px; animation-delay: 0s; }
.onb-mf-2 { bottom: 60px; right: -30px; animation-delay: 1.5s; }
.onb-mf-3 { bottom: 30px; left: -30px; animation-delay: 0.8s; }
.onb-mf-4 { top: 60px; left: -20px; animation-delay: 2.2s; }

@keyframes onb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.onb-mf-icon { font-size: 14px; }
.onb-mf-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--onb-muted2);
}
.onb-mf-status {
  width: 6px; height: 6px;
  border-radius: 50%;
  animation: onb-blink 2s ease-in-out infinite;
}

@keyframes onb-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── SLIDE 1 — MINIS ── */
.onb-minis-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.onb-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.onb-mini-tile {
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 16px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: default;
  transition: all 0.3s ease;
  animation: onb-tileIn 0.4s ease both;
}

.onb-mini-tile:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  background: var(--onb-surface3);
}

@keyframes onb-tileIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.onb-mini-tile:nth-child(1) { animation-delay: 0.05s; }
.onb-mini-tile:nth-child(2) { animation-delay: 0.10s; }
.onb-mini-tile:nth-child(3) { animation-delay: 0.15s; }
.onb-mini-tile:nth-child(4) { animation-delay: 0.20s; }
.onb-mini-tile:nth-child(5) { animation-delay: 0.25s; }
.onb-mini-tile:nth-child(6) { animation-delay: 0.30s; }
.onb-mini-tile:nth-child(7) { animation-delay: 0.35s; }
.onb-mini-tile:nth-child(8) { animation-delay: 0.40s; }

.onb-mt-avi {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.onb-mt-name {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--onb-muted2);
  letter-spacing: 0.04em;
}

.onb-mt-role {
  font-size: 10px;
  color: rgba(237,237,255,0.25);
  text-align: center;
}

.onb-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.onb-feat-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  animation: onb-tileIn 0.4s ease both;
}
.onb-feat-row:nth-child(1) { animation-delay: 0.1s; }
.onb-feat-row:nth-child(2) { animation-delay: 0.2s; }
.onb-feat-row:nth-child(3) { animation-delay: 0.3s; }

.onb-feat-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.onb-feat-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.onb-feat-desc {
  font-size: 13px;
  color: var(--onb-muted);
  line-height: 1.5;
}

/* ── SLIDE 2 — COMPANIES ── */
.onb-companies-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.onb-co-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.onb-co-row {
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s;
  cursor: default;
  animation: onb-tileIn 0.4s ease both;
}
.onb-co-row:nth-child(2) { animation-delay: 0.1s; }
.onb-co-row:nth-child(3) { animation-delay: 0.2s; }
.onb-co-row:hover { border-color: rgba(255,255,255,0.1); transform: translateX(4px); }

.onb-co-avi {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.onb-co-info { flex: 1; }
.onb-co-name {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.onb-co-detail {
  font-size: 12px;
  color: var(--onb-muted);
  line-height: 1.4;
}

.onb-co-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.onb-isolation-card {
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 16px;
  animation: onb-tileIn 0.4s ease 0.3s both;
}

.onb-iso-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--onb-muted2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 11px;
}

.onb-iso-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.onb-iso-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.onb-iso-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.onb-iso-text { font-size: 13px; color: var(--onb-muted2); }

.onb-scale-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 12px;
  font-size: 13px;
  color: var(--onb-accent);
  animation: onb-tileIn 0.4s ease 0.5s both;
}

/* ── SLIDE 3 — TOOLS ── */
.onb-tools-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.onb-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.onb-tool-card {
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 14px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  cursor: default;
  animation: onb-tileIn 0.4s ease both;
}
.onb-tool-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}
.onb-tool-card:nth-child(1) { animation-delay: 0.05s; }
.onb-tool-card:nth-child(2) { animation-delay: 0.10s; }
.onb-tool-card:nth-child(3) { animation-delay: 0.15s; }
.onb-tool-card:nth-child(4) { animation-delay: 0.20s; }
.onb-tool-card:nth-child(5) { animation-delay: 0.25s; }
.onb-tool-card:nth-child(6) { animation-delay: 0.30s; }
.onb-tool-card:nth-child(7) { animation-delay: 0.35s; }
.onb-tool-card:nth-child(8) { animation-delay: 0.40s; }

.onb-tc-icon { font-size: 24px; }
.onb-tc-name { font-size: 11px; color: var(--onb-muted); font-weight: 500; text-align: center; }

.onb-trust-block {
  background: linear-gradient(135deg, rgba(167,139,250,0.06) 0%, rgba(244,114,182,0.04) 100%);
  border: 1px solid rgba(167,139,250,0.15);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 16px;
  animation: onb-tileIn 0.4s ease 0.2s both;
}

.onb-trust-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.onb-trust-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--onb-accent);
}
.onb-trust-desc {
  font-size: 13px;
  color: var(--onb-muted);
  line-height: 1.6;
}

.onb-tool-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  animation: onb-tileIn 0.4s ease 0.4s both;
}

.onb-ts-box {
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}

.onb-ts-val {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
}
.onb-ts-lbl { font-size: 11px; color: var(--onb-muted); }

/* ── SLIDE 4 — WORKFLOWS ── */
.onb-wf-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.onb-wf-chain {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.onb-wf-node {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  animation: onb-tileIn 0.4s ease both;
}
.onb-wf-node:nth-child(1) { animation-delay: 0.1s; }
.onb-wf-node:nth-child(2) { animation-delay: 0.2s; }
.onb-wf-node:nth-child(3) { animation-delay: 0.3s; }
.onb-wf-node:nth-child(4) { animation-delay: 0.4s; }

.onb-wf-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 36px;
}

.onb-wf-bubble {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.onb-wf-line {
  width: 1px;
  height: 20px;
  background: var(--onb-border);
}

.onb-wf-card {
  flex: 1;
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 8px;
}

.onb-wf-card.onb-human-card {
  background: rgba(167,139,250,0.06);
  border-color: rgba(167,139,250,0.2);
}

.onb-wf-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.onb-human-card .onb-wf-card-title { color: var(--onb-accent); }

.onb-wf-card-desc {
  font-size: 12px;
  color: var(--onb-muted);
  line-height: 1.5;
}

.onb-state-display {
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 14px;
  animation: onb-tileIn 0.4s ease 0.3s both;
}

.onb-state-title {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--onb-muted);
  margin-bottom: 14px;
}

.onb-state-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.onb-state-pill {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
}

.onb-state-arrow {
  color: var(--onb-muted);
  font-size: 12px;
}

.onb-quality-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: onb-tileIn 0.4s ease 0.5s both;
}

.onb-ql-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--onb-muted2);
}

.onb-ql-icon { font-size: 14px; flex-shrink: 0; }

/* ── SLIDE 5 — MORNING BRIEFING ── */
.onb-briefing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.onb-brief-mock {
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 18px;
  overflow: hidden;
  animation: onb-tileIn 0.4s ease 0.1s both;
}

.onb-brief-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--onb-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.onb-brief-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.onb-brief-meta {
  font-size: 12px;
  color: var(--onb-muted);
}

.onb-brief-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--onb-border);
}

.onb-brief-stat {
  padding: 16px 20px;
  text-align: center;
}

.onb-brief-stat:not(:last-child) {
  border-right: 1px solid var(--onb-border);
}

.onb-bsv {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
}
.onb-bsl { font-size: 11px; color: var(--onb-muted); }

.onb-brief-row {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--onb-border);
  animation: onb-tileIn 0.4s ease both;
}
.onb-brief-row:last-child { border-bottom: none; }
.onb-brief-row:nth-child(1) { animation-delay: 0.2s; }
.onb-brief-row:nth-child(2) { animation-delay: 0.3s; }
.onb-brief-row:nth-child(3) { animation-delay: 0.4s; }

.onb-br-avi {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.onb-br-info { flex: 1; }
.onb-br-title { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.onb-br-sub { font-size: 11px; color: var(--onb-muted); }

.onb-br-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  background: rgba(52,211,153,0.12);
  color: var(--onb-accent3);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
}
.onb-br-btn:hover { background: rgba(52,211,153,0.2); }

.onb-time-card {
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 14px;
  text-align: center;
  animation: onb-tileIn 0.4s ease 0.3s both;
}

.onb-time-number {
  font-family: 'Syne', sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: var(--onb-accent4);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.onb-time-unit {
  font-size: 14px;
  color: var(--onb-muted);
  display: block;
  margin-bottom: 16px;
}

.onb-time-desc {
  font-size: 13px;
  color: var(--onb-muted2);
  line-height: 1.6;
}

.onb-daily-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: onb-tileIn 0.4s ease 0.5s both;
}

.onb-dl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--onb-muted2);
}

.onb-dl-check {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: rgba(52,211,153,0.15);
  border: 1px solid rgba(52,211,153,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--onb-accent3);
  flex-shrink: 0;
}

/* ── SLIDE 6 — LAUNCH ── */
.onb-launch-layout {
  max-width: 720px;
}

.onb-launch-textarea {
  width: 100%;
  min-height: 80px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--onb-border2);
  background: var(--onb-surface2);
  color: var(--onb-text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  line-height: 1.5;
}

.onb-launch-textarea:focus {
  border-color: var(--onb-accent);
}

.onb-launch-textarea::placeholder {
  color: var(--onb-muted);
}

.onb-launch-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 24px;
}

.onb-launch-chip {
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--onb-border2);
  background: transparent;
  color: var(--onb-muted2);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.onb-launch-chip:hover {
  background: rgba(167,139,250,0.1);
  border-color: var(--onb-accent);
  color: var(--onb-text);
}

.onb-launch-skip {
  display: block;
  margin-top: 16px;
  background: none;
  border: none;
  color: var(--onb-muted, rgba(237,237,255,0.4));
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s;
  padding: 8px 0;
  text-decoration: underline;
  text-decoration-color: rgba(237,237,255,0.15);
  text-underline-offset: 3px;
}
.onb-launch-skip:hover {
  color: var(--onb-muted2, rgba(237,237,255,0.6));
  text-decoration-color: rgba(237,237,255,0.3);
}

.onb-launch-tool-section {
  margin-top: 8px;
  animation: onb-tileIn 0.4s ease both;
}

.onb-launch-tool-title {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--onb-text);
}

.onb-launch-tool-subtitle {
  font-size: 13px;
  color: var(--onb-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.onb-btn-cta:disabled,
.onb-btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 16px rgba(167,139,250,0.15);
}

/* ── SLIDE 6 — SUB-PAGE SYSTEM ── */
.onb-subpage {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.onb-subpage.active {
  display: block;
  opacity: 1;
}

/* ── SLIDE 6B — COMPANY HEADER ── */
.onb-company-header {
  text-align: center;
  margin-bottom: 28px;
  animation: onb-tileIn 0.4s ease both;
}
.onb-company-emoji {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.onb-company-name {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--onb-text);
  margin-bottom: 6px;
}
.onb-company-desc {
  font-size: 14px;
  color: var(--onb-muted2);
  font-weight: 300;
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto;
}

/* ── SLIDE 6B — MESSAGING BLOCK ── */
.onb-setup-messaging {
  background: linear-gradient(135deg, rgba(167,139,250,0.06) 0%, rgba(244,114,182,0.04) 100%);
  border: 1px solid rgba(167,139,250,0.12);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 28px;
  animation: onb-tileIn 0.4s ease 0.1s both;
}
.onb-setup-messaging-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--onb-accent);
  margin-bottom: 6px;
}
.onb-setup-messaging-body {
  font-size: 13px;
  color: var(--onb-muted2);
  line-height: 1.6;
}

/* ── SLIDE 6B — TOOL GRID ── */
.onb-setup-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.onb-setup-card {
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s;
  animation: onb-tileIn 0.4s ease both;
}
.onb-setup-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.onb-setup-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.onb-setup-card-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.onb-setup-card-info {
  flex: 1;
  min-width: 0;
}
.onb-setup-card-name {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--onb-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.onb-setup-card-desc {
  font-size: 11px;
  color: var(--onb-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
}
.onb-setup-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.onb-setup-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.onb-setup-badge--ready {
  background: rgba(52,211,153,0.12);
  color: var(--onb-accent3);
}
.onb-setup-badge--needed {
  background: rgba(251,191,36,0.12);
  color: var(--onb-accent4);
}
.onb-setup-card-btn {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(167,139,250,0.3);
  background: rgba(167,139,250,0.08);
  color: var(--onb-accent);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.onb-setup-card-btn:hover {
  background: rgba(167,139,250,0.18);
  border-color: var(--onb-accent);
}
.onb-setup-card-minis {
  font-size: 10px;
  color: var(--onb-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── SLIDE 6B — LOADING STATE ── */
.onb-setup-loading {
  text-align: center;
  padding: 32px 0;
  color: var(--onb-muted);
  font-size: 14px;
}
.onb-setup-loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--onb-border2);
  border-top-color: var(--onb-accent);
  border-radius: 50%;
  animation: onb-spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

/* ── SKELETON CARDS FOR 6B ── */
.onb-setup-skeleton {
  background: var(--onb-surface2);
  border: 1px solid var(--onb-border);
  border-radius: 14px;
  padding: 16px;
  height: 100px;
  animation: onb-skelPulse 1.5s ease-in-out infinite;
}
@keyframes onb-skelPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.2; }
}

/* ══════════════════════════════════════
   MOBILE PROGRESS BAR (replaces sidebar)
══════════════════════════════════════ */
.onb-mobile-progress {
  display: none;
}

/* ══════════════════════════════════════
   MOBILE RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Shell: single column, no sidebar ── */
  .onb-shell {
    display: flex;
    flex-direction: column;
  }

  .onb-sidebar {
    display: none;
  }

  .onb-main {
    flex: 1;
    min-height: 0;
  }

  /* ── Mobile top progress bar ── */
  .onb-mobile-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: calc(12px + var(--safe-top, 0px)) 20px 12px;
    background: var(--onb-surface);
    border-bottom: 1px solid var(--onb-border);
    z-index: 10;
    flex-shrink: 0;
  }

  .onb-mobile-logo {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--onb-accent) 0%, var(--onb-accent2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
  }

  .onb-mobile-step-label {
    flex: 1;
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--onb-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .onb-mobile-counter {
    font-size: 11px;
    color: var(--onb-muted);
    font-weight: 600;
    flex-shrink: 0;
  }

  .onb-mobile-track {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--onb-surface3);
  }

  .onb-mobile-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--onb-accent), var(--onb-accent2));
    border-radius: 0 2px 2px 0;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* ── Slides: reduced padding, proper height ── */
  .onb-slides-wrap {
    flex: 1;
    min-height: 0;
  }

  .onb-slide {
    padding: 24px 20px;
    justify-content: flex-start;
  }

  /* ── Bottom bar: sticky, solid, always visible ── */
  .onb-bottom-bar {
    position: sticky;
    bottom: 0;
    padding: 12px 16px calc(12px + var(--safe-bottom, 0px));
    gap: 8px;
    background: var(--onb-bg, #07070c);
    backdrop-filter: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 20;
    flex-wrap: wrap;
  }

  .onb-btn-back {
    height: 44px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 10px;
  }

  .onb-btn-skip {
    font-size: 13px;
    padding: 8px 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--onb-muted2, rgba(237,237,255,0.6));
  }

  .onb-btn-primary {
    height: 48px;
    padding: 0 22px;
    font-size: 15px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .onb-btn-cta {
    height: 48px;
    padding: 0 24px;
    font-size: 15px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  /* ── Shared type: smaller ── */
  .onb-tag {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .onb-h1 {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .onb-h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .onb-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
  }

  /* ══ SLIDE 0 — HERO (mobile) ══ */
  .onb-hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .onb-hero-right {
    height: 220px;
    order: -1;
  }

  .onb-orb-system {
    width: 180px;
    height: 180px;
  }

  .onb-orb-ring-1 { width: 180px; height: 180px; }
  .onb-orb-ring-2 { width: 130px; height: 130px; }
  .onb-orb-ring-3 { width: 80px; height: 80px; }

  .onb-orb-center {
    width: 52px; height: 52px;
    border-radius: 16px;
    font-size: 24px;
  }

  .onb-mini-float {
    padding: 5px 8px;
    border-radius: 8px;
    gap: 5px;
  }

  .onb-mf-icon { font-size: 11px; }
  .onb-mf-label { font-size: 9px; }
  .onb-mf-status { width: 5px; height: 5px; }

  .onb-mf-1 { top: 10px; right: 0; }
  .onb-mf-2 { bottom: 30px; right: -5px; }
  .onb-mf-3 { bottom: 15px; left: -5px; }
  .onb-mf-4 { top: 30px; left: 0; }

  .onb-hero-stat-row {
    gap: 8px;
    margin-top: 20px;
  }

  .onb-hero-stat {
    padding: 12px 10px;
    border-radius: 10px;
  }

  .onb-hero-stat-val {
    font-size: 20px;
  }

  .onb-hero-stat-lbl {
    font-size: 10px;
  }

  /* ══ SLIDE 1 — MINIS (mobile) ══ */
  .onb-minis-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .onb-mini-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .onb-mini-tile {
    padding: 10px 6px;
    border-radius: 12px;
    gap: 5px;
    min-height: 44px;
  }

  .onb-mt-avi {
    width: 34px; height: 34px;
    border-radius: 10px;
    font-size: 16px;
  }

  .onb-mt-name { font-size: 9px; }
  .onb-mt-role { font-size: 8px; }

  .onb-feature-stack {
    gap: 10px;
  }

  .onb-feat-row {
    gap: 10px;
  }

  .onb-feat-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    font-size: 15px;
  }

  .onb-feat-title { font-size: 13px; }
  .onb-feat-desc { font-size: 12px; }

  /* ══ SLIDE 2 — COMPANIES (mobile) ══ */
  .onb-companies-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .onb-co-list { gap: 8px; }

  .onb-co-row {
    padding: 14px 14px;
    gap: 12px;
    border-radius: 14px;
  }

  .onb-co-avi {
    width: 40px; height: 40px;
    border-radius: 12px;
    font-size: 20px;
  }

  .onb-co-name { font-size: 13px; }
  .onb-co-detail { font-size: 11px; }
  .onb-co-tag { font-size: 10px; padding: 3px 8px; }

  .onb-isolation-card {
    padding: 18px;
    border-radius: 14px;
  }

  .onb-iso-text { font-size: 12px; }

  .onb-scale-badge {
    font-size: 12px;
    padding: 10px 14px;
  }

  /* ══ SLIDE 3 — TOOLS (mobile) ══ */
  .onb-tools-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .onb-tool-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .onb-tool-card {
    padding: 12px 6px;
    border-radius: 10px;
    gap: 5px;
    min-height: 44px;
  }

  .onb-tc-icon { font-size: 20px; }
  .onb-tc-name { font-size: 10px; }

  .onb-trust-block {
    padding: 18px;
    border-radius: 14px;
  }

  .onb-trust-icon { font-size: 22px; margin-bottom: 8px; }
  .onb-trust-title { font-size: 15px; }
  .onb-trust-desc { font-size: 12px; }

  .onb-tool-stats { gap: 8px; }

  .onb-ts-box {
    padding: 12px 8px;
    border-radius: 10px;
  }

  .onb-ts-val { font-size: 18px; }
  .onb-ts-lbl { font-size: 10px; }

  /* ══ SLIDE 4 — WORKFLOWS (mobile) ══ */
  .onb-wf-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .onb-wf-bubble {
    width: 30px; height: 30px;
    border-radius: 8px;
    font-size: 14px;
  }

  .onb-wf-spine { width: 30px; }

  .onb-wf-card {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .onb-wf-card-title { font-size: 12px; }
  .onb-wf-card-desc { font-size: 11px; }

  .onb-state-display {
    padding: 16px;
    border-radius: 14px;
  }

  .onb-state-pill { font-size: 8px; padding: 3px 6px; letter-spacing: 0.3px; }
  .onb-state-arrow { font-size: 8px; }

  .onb-ql-item {
    padding: 8px 12px;
    font-size: 12px;
    gap: 8px;
  }

  /* ══ SLIDE 5 — MORNING BRIEFING (mobile) ══ */
  .onb-briefing-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .onb-brief-mock {
    border-radius: 14px;
  }

  .onb-brief-header {
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .onb-brief-title { font-size: 13px; }
  .onb-brief-meta { font-size: 11px; }

  .onb-brief-stat { padding: 12px 10px; }
  .onb-bsv { font-size: 18px; }
  .onb-bsl { font-size: 10px; }

  .onb-brief-row {
    padding: 12px 14px;
    gap: 10px;
  }

  .onb-br-avi {
    width: 30px; height: 30px;
    border-radius: 8px;
    font-size: 14px;
  }

  .onb-br-title { font-size: 12px; }
  .onb-br-sub { font-size: 10px; }
  .onb-br-btn { padding: 5px 10px; font-size: 11px; }

  .onb-time-card {
    padding: 20px;
    border-radius: 14px;
  }

  .onb-time-number { font-size: 48px; }
  .onb-time-unit { font-size: 13px; }
  .onb-time-desc { font-size: 12px; }

  .onb-dl-item {
    padding: 8px 12px;
    font-size: 12px;
  }

  .onb-dl-check {
    width: 16px; height: 16px;
    font-size: 9px;
  }

  /* ══ SLIDE 6 — LAUNCH (mobile) ══ */
  .onb-launch-layout {
    max-width: 100%;
  }

  .onb-launch-textarea {
    font-size: 14px;
    min-height: 70px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .onb-launch-chips {
    gap: 6px;
    margin: 10px 0 20px;
  }

  .onb-launch-chip {
    font-size: 11px;
    padding: 5px 10px;
  }

  .onb-launch-tool-title {
    font-size: 13px;
  }

  .onb-launch-tool-subtitle {
    font-size: 12px;
    margin-bottom: 12px;
  }

  /* ══ SLIDE 6B — SETUP (mobile) ══ */
  .onb-company-emoji { font-size: 36px; }
  .onb-company-name { font-size: 22px; }
  .onb-company-desc { font-size: 13px; }
  .onb-setup-messaging { padding: 16px 18px; }
  .onb-setup-tool-grid { grid-template-columns: 1fr; gap: 10px; }
  .onb-setup-card { padding: 14px; }
}

/* ── Extra small screens (< 380px) ── */
@media (max-width: 380px) {
  .onb-slide { padding: 18px 14px; }
  .onb-bottom-bar { padding: 10px 12px calc(10px + var(--safe-bottom, 0px)); gap: 6px; }
  .onb-h1 { font-size: 22px; }
  .onb-h2 { font-size: 18px; }
  .onb-subtitle { font-size: 13px; max-width: 100%; }
  .onb-tag { font-size: 9px; }

  /* Grids: 3 columns instead of 4 on tiny screens */
  .onb-mini-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .onb-tool-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }

  .onb-hero-stat-row { flex-direction: column; gap: 6px; }
  .onb-hero-right { height: 180px; }
  .onb-orb-system { width: 140px; height: 140px; }
  .onb-orb-ring-1 { width: 140px; height: 140px; }
  .onb-orb-ring-2 { width: 100px; height: 100px; }
  .onb-orb-ring-3 { width: 60px; height: 60px; }
  .onb-orb-center { width: 40px; height: 40px; font-size: 20px; border-radius: 12px; }

  /* Float cards: keep inside bounds */
  .onb-mf-1 { top: 5px; right: 5px; }
  .onb-mf-2 { bottom: 20px; right: 0; }
  .onb-mf-3 { bottom: 10px; left: 0; }
  .onb-mf-4 { top: 20px; left: 5px; }

  /* Feature stack: tighter */
  .onb-feature-stack { gap: 8px; }
  .onb-feat-desc { font-size: 11px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Company rows */
  .onb-co-detail { font-size: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Workflow state pills: wrap on tiny screens */
  .onb-state-row { flex-wrap: wrap; gap: 4px; }
  .onb-state-pill { font-size: 7px; padding: 2px 5px; }
  .onb-state-arrow { font-size: 7px; }

  /* Bottom bar: solid, always visible */
  .onb-bottom-bar {
    padding: 10px 12px calc(10px + var(--safe-bottom, 0px));
    gap: 6px;
    background: var(--onb-bg, #07070c);
    backdrop-filter: none;
  }

  .onb-btn-back { height: 44px; padding: 0 10px; font-size: 12px; }
  .onb-btn-primary { height: 44px; padding: 0 16px; font-size: 14px; }
  .onb-btn-cta { height: 48px; padding: 0 18px; font-size: 14px; }
  .onb-btn-skip { font-size: 12px; }

  /* Launch chips */
  .onb-launch-chip { padding: 6px 10px; font-size: 10px; min-height: 36px; }

  /* Time card */
  .onb-time-number { font-size: 36px; }
  .onb-time-card { padding: 16px; }
}
